Night Sky Engine
A fighting game framework made in Unreal Engine
|
#include <BattleObject.h>
Protected Member Functions | |
virtual void | BeginPlay () override |
void | Move () |
void | CalculateHoming () |
bool | SuperArmorSuccess (const ABattleObject *Attacker) const |
void | FuncCall (const FName &FuncName) const |
Protected Attributes | |
int32 | PushHeight = 0 |
int32 | PushHeightLow = 0 |
int32 | PushWidth = 0 |
int32 | PushWidthExtend = 0 |
int32 | L = 0 |
int32 | R = 0 |
int32 | T = 0 |
int32 | B = 0 |
FCollisionBox | Boxes [CollisionArraySize] |
Definition at line 604 of file BattleObject.h.
ABattleObject::ABattleObject | ( | ) |
Definition at line 19 of file BattleObject.cpp.
ABattleObject * ABattleObject::AddBattleObject | ( | FGameplayTag | InStateName, |
int32 | PosXOffset = 0, | ||
int32 | PosYOffset = 0, | ||
EPosType | PosType = POS_Player ) |
Definition at line 2889 of file BattleObject.cpp.
ABattleObject * ABattleObject::AddCommonBattleObject | ( | FGameplayTag | InStateName, |
int32 | PosXOffset = 0, | ||
int32 | PosYOffset = 0, | ||
EPosType | PosType = POS_Player ) |
Definition at line 2869 of file BattleObject.cpp.
Definition at line 2210 of file BattleObject.cpp.
Definition at line 2234 of file BattleObject.cpp.
Definition at line 2714 of file BattleObject.cpp.
|
overrideprotectedvirtual |
Definition at line 29 of file BattleObject.cpp.
int32 ABattleObject::CalculateAngleBetweenPoints | ( | EObjType | Obj1, |
EPosType | Pos1, | ||
EObjType | Obj2, | ||
EPosType | Pos2 ) |
Definition at line 2312 of file BattleObject.cpp.
int32 ABattleObject::CalculateDistanceBetweenPoints | ( | EDistanceType | Type, |
EObjType | Obj1, | ||
EPosType | Pos1, | ||
EObjType | Obj2, | ||
EPosType | Pos2 ) |
Definition at line 2266 of file BattleObject.cpp.
|
protected |
Definition at line 137 of file BattleObject.cpp.
void ABattleObject::CalculatePushbox | ( | ) |
Definition at line 372 of file BattleObject.cpp.
void ABattleObject::CallSubroutine | ( | FGameplayTag | Name | ) |
Definition at line 2105 of file BattleObject.cpp.
void ABattleObject::CallSubroutineWithArgs | ( | FGameplayTag | Name, |
int32 | Arg1, | ||
int32 | Arg2, | ||
int32 | Arg3, | ||
int32 | Arg4 ) |
Definition at line 2121 of file BattleObject.cpp.
void ABattleObject::CameraShake | ( | FGameplayTag | PatternName, |
int32 | Scale ) |
Definition at line 2728 of file BattleObject.cpp.
bool ABattleObject::CheckIsGrounded | ( | ) | const |
Definition at line 2366 of file BattleObject.cpp.
void ABattleObject::CollisionView | ( | ) |
Definition at line 1506 of file BattleObject.cpp.
void ABattleObject::CreateCharaParticle | ( | FGameplayTag | Name, |
EPosType | PosType, | ||
FVector | Offset = FVector::ZeroVector, | ||
FRotator | Rotation = FRotator::ZeroRotator ) |
Definition at line 2561 of file BattleObject.cpp.
void ABattleObject::CreateCommonParticle | ( | FGameplayTag | Name, |
EPosType | PosType, | ||
FVector | Offset = FVector::ZeroVector, | ||
FRotator | Rotation = FRotator::ZeroRotator ) |
Definition at line 2525 of file BattleObject.cpp.
void ABattleObject::DeactivateObject | ( | ) |
Definition at line 2455 of file BattleObject.cpp.
void ABattleObject::DetachFromSocket | ( | ) |
Definition at line 2721 of file BattleObject.cpp.
void ABattleObject::DisableInertia | ( | ) |
Definition at line 2490 of file BattleObject.cpp.
Definition at line 2908 of file BattleObject.cpp.
Definition at line 2932 of file BattleObject.cpp.
Definition at line 2920 of file BattleObject.cpp.
Definition at line 2473 of file BattleObject.cpp.
Definition at line 2371 of file BattleObject.cpp.
void ABattleObject::EnableInertia | ( | ) |
Definition at line 2485 of file BattleObject.cpp.
void ABattleObject::FaceOpponent | ( | ) |
Definition at line 2347 of file BattleObject.cpp.
void ABattleObject::FlipObject | ( | ) |
Definition at line 2339 of file BattleObject.cpp.
Definition at line 1737 of file BattleObject.cpp.
Definition at line 2741 of file BattleObject.cpp.
UAnimSequenceBase * ABattleObject::GetAnimSequenceForPart | ( | const FName | Part | ) | const |
Definition at line 2070 of file BattleObject.cpp.
ABattleObject * ABattleObject::GetBattleObject | ( | EObjType | Type | ) |
Definition at line 2774 of file BattleObject.cpp.
void ABattleObject::GetBoxes | ( | ) |
Definition at line 1750 of file BattleObject.cpp.
FGameplayTag ABattleObject::GetCelName | ( | ) | const |
Definition at line 2156 of file BattleObject.cpp.
UPaperFlipbook * ABattleObject::GetFlipbookForPart | ( | const FName | Part | ) | const |
Definition at line 2080 of file BattleObject.cpp.
FGameplayTag ABattleObject::GetLabelName | ( | ) | const |
Definition at line 2161 of file BattleObject.cpp.
int32 ABattleObject::GetPosYCenter | ( | ) | const |
Definition at line 2246 of file BattleObject.cpp.
void ABattleObject::GotoLabel | ( | FGameplayTag | InName, |
bool | ResetState = true ) |
Definition at line 2195 of file BattleObject.cpp.
void ABattleObject::HaltMomentum | ( | ) |
Definition at line 2495 of file BattleObject.cpp.
void ABattleObject::HandleClashCollision | ( | ABattleObject * | OtherObj | ) |
Definition at line 1205 of file BattleObject.cpp.
void ABattleObject::HandleFlip | ( | ) |
Definition at line 1312 of file BattleObject.cpp.
void ABattleObject::HandleHitCollision | ( | ABattleObject * | AttackedObj | ) |
Definition at line 450 of file BattleObject.cpp.
void ABattleObject::HandlePushCollision | ( | ABattleObject * | OtherObj | ) |
Definition at line 380 of file BattleObject.cpp.
Definition at line 2761 of file BattleObject.cpp.
void ABattleObject::InitEventHandler | ( | EEventType | EventType, |
FName | FuncName, | ||
int32 | Value, | ||
FGameplayTag | SubroutineName ) |
Definition at line 2130 of file BattleObject.cpp.
Definition at line 725 of file BattleObject.cpp.
void ABattleObject::InitObject | ( | ) |
Definition at line 1854 of file BattleObject.cpp.
bool ABattleObject::IsStopped | ( | ) | const |
Definition at line 2090 of file BattleObject.cpp.
bool ABattleObject::IsTimerPaused | ( | ) | const |
Definition at line 2099 of file BattleObject.cpp.
AActor * ABattleObject::LinkActor | ( | FGameplayTag | Name | ) |
Definition at line 2647 of file BattleObject.cpp.
void ABattleObject::LinkCharaParticle | ( | FGameplayTag | Name | ) |
Definition at line 2621 of file BattleObject.cpp.
void ABattleObject::LinkCommonParticle | ( | FGameplayTag | Name | ) |
Definition at line 2594 of file BattleObject.cpp.
Definition at line 1581 of file BattleObject.cpp.
|
virtual |
Reimplemented in APlayerObject.
Definition at line 1595 of file BattleObject.cpp.
|
protected |
Definition at line 38 of file BattleObject.cpp.
void ABattleObject::PlayCharaSound | ( | FGameplayTag | Name | ) |
Definition at line 2697 of file BattleObject.cpp.
void ABattleObject::PlayCommonSound | ( | FGameplayTag | Name | ) |
Definition at line 2680 of file BattleObject.cpp.
Definition at line 1341 of file BattleObject.cpp.
void ABattleObject::RemoveEventHandler | ( | EEventType | EventType | ) |
Definition at line 2148 of file BattleObject.cpp.
void ABattleObject::RemoveLinkActor | ( | ) |
Definition at line 2666 of file BattleObject.cpp.
void ABattleObject::ResetObject | ( | ) |
Definition at line 1955 of file BattleObject.cpp.
Definition at line 1576 of file BattleObject.cpp.
Definition at line 2401 of file BattleObject.cpp.
void ABattleObject::SetBlendCelName | ( | FGameplayTag | InName | ) |
Definition at line 2187 of file BattleObject.cpp.
void ABattleObject::SetCelName | ( | FGameplayTag | InName | ) |
Definition at line 2166 of file BattleObject.cpp.
Definition at line 2334 of file BattleObject.cpp.
Definition at line 2447 of file BattleObject.cpp.
Definition at line 2431 of file BattleObject.cpp.
Definition at line 2439 of file BattleObject.cpp.
Definition at line 2769 of file BattleObject.cpp.
Definition at line 2415 of file BattleObject.cpp.
Definition at line 2423 of file BattleObject.cpp.
Definition at line 2512 of file BattleObject.cpp.
Definition at line 2520 of file BattleObject.cpp.
Definition at line 2222 of file BattleObject.cpp.
Definition at line 2205 of file BattleObject.cpp.
Definition at line 2504 of file BattleObject.cpp.
Definition at line 2754 of file BattleObject.cpp.
|
protected |
Definition at line 342 of file BattleObject.cpp.
Definition at line 362 of file BattleObject.cpp.
void ABattleObject::TriggerEvent | ( | EEventType | EventType | ) |
Definition at line 1389 of file BattleObject.cpp.
|
virtual |
Reimplemented in APlayerObject.
Definition at line 1878 of file BattleObject.cpp.
|
virtual |
Definition at line 1628 of file BattleObject.cpp.
int32 ABattleObject::ActionReg1 = 0 |
Definition at line 696 of file BattleObject.h.
int32 ABattleObject::ActionReg2 = 0 |
Definition at line 698 of file BattleObject.h.
int32 ABattleObject::ActionReg3 = 0 |
Definition at line 700 of file BattleObject.h.
int32 ABattleObject::ActionReg4 = 0 |
Definition at line 702 of file BattleObject.h.
int32 ABattleObject::ActionReg5 = 0 |
Definition at line 704 of file BattleObject.h.
int32 ABattleObject::ActionReg6 = 0 |
Definition at line 706 of file BattleObject.h.
int32 ABattleObject::ActionReg7 = 0 |
Definition at line 708 of file BattleObject.h.
int32 ABattleObject::ActionReg8 = 0 |
Definition at line 710 of file BattleObject.h.
int32 ABattleObject::ActionTime = 0 |
Definition at line 747 of file BattleObject.h.
FLinearColor ABattleObject::AddColor = FLinearColor(0,0,0,1) |
Definition at line 820 of file BattleObject.h.
FLinearColor ABattleObject::AddFadeColor = {} |
Definition at line 824 of file BattleObject.h.
float ABattleObject::AddFadeSpeed = 0 |
Definition at line 828 of file BattleObject.h.
int32 ABattleObject::AnimFrame = 0 |
Definition at line 770 of file BattleObject.h.
TArray<FAnimStruct> ABattleObject::AnimStructs |
Definition at line 765 of file BattleObject.h.
uint32 ABattleObject::AttackFlags = 0 |
Definition at line 675 of file BattleObject.h.
ABattleObject* ABattleObject::AttackOwner |
Definition at line 868 of file BattleObject.h.
ABattleObject* ABattleObject::AttackTarget = nullptr |
Definition at line 870 of file BattleObject.h.
|
protected |
Definition at line 804 of file BattleObject.h.
Definition at line 879 of file BattleObject.h.
int32 ABattleObject::BlendAnimFrame = 0 |
Definition at line 772 of file BattleObject.h.
FGameplayTag ABattleObject::BlendCelName = {} |
Definition at line 758 of file BattleObject.h.
Definition at line 629 of file BattleObject.h.
|
protected |
Definition at line 806 of file BattleObject.h.
int32 ABattleObject::CelIndex = 0 |
Definition at line 777 of file BattleObject.h.
FGameplayTag ABattleObject::CelName = {} |
Definition at line 753 of file BattleObject.h.
TObjectPtr<ANightSkyCharaSelectGameState> ABattleObject::CharaSelectGameState = nullptr |
Definition at line 906 of file BattleObject.h.
FHitData ABattleObject::CounterHit = {} |
Definition at line 674 of file BattleObject.h.
TEnumAsByte<EObjDir> ABattleObject::Direction = DIR_Right |
Definition at line 661 of file BattleObject.h.
int32 ABattleObject::DrawPriority = 0 |
Definition at line 840 of file BattleObject.h.
FEventHandler ABattleObject::EventHandlers[EVT_NUM] = {} |
Definition at line 784 of file BattleObject.h.
float ABattleObject::FrameBlendPosition = 0 |
Definition at line 774 of file BattleObject.h.
TObjectPtr<ANightSkyGameState> ABattleObject::GameState = nullptr |
Definition at line 904 of file BattleObject.h.
Definition at line 768 of file BattleObject.h.
int32 ABattleObject::Gravity = 1900 |
Definition at line 653 of file BattleObject.h.
int32 ABattleObject::GroundHeight = 0 |
Definition at line 659 of file BattleObject.h.
FHitDataCommon ABattleObject::HitCommon = {} |
Definition at line 670 of file BattleObject.h.
int32 ABattleObject::HitPosX = 0 |
Definition at line 833 of file BattleObject.h.
int32 ABattleObject::HitPosY = 0 |
Definition at line 834 of file BattleObject.h.
uint32 ABattleObject::Hitstop = 0 |
Definition at line 685 of file BattleObject.h.
FHomingParams ABattleObject::HomingParams = FHomingParams() |
Definition at line 843 of file BattleObject.h.
int32 ABattleObject::Inertia = 0 |
Definition at line 656 of file BattleObject.h.
Definition at line 839 of file BattleObject.h.
Definition at line 838 of file BattleObject.h.
|
protected |
Definition at line 801 of file BattleObject.h.
FGameplayTag ABattleObject::LabelName = {} |
Definition at line 762 of file BattleObject.h.
TObjectPtr<AActor> ABattleObject::LinkedActor |
Definition at line 892 of file BattleObject.h.
TObjectPtr<UNiagaraComponent> ABattleObject::LinkedParticle = nullptr |
Definition at line 894 of file BattleObject.h.
ABattleObject* ABattleObject::MaterialLinkObj = nullptr |
Definition at line 876 of file BattleObject.h.
int32 ABattleObject::MaxCelTime = 0 |
Definition at line 782 of file BattleObject.h.
int32 ABattleObject::MiscFlags = 0 |
Definition at line 835 of file BattleObject.h.
FLinearColor ABattleObject::MulColor = FLinearColor(1,1,1,1) |
Definition at line 818 of file BattleObject.h.
FLinearColor ABattleObject::MulFadeColor = {} |
Definition at line 822 of file BattleObject.h.
float ABattleObject::MulFadeSpeed = 0 |
Definition at line 826 of file BattleObject.h.
int32 ABattleObject::NextOffsetX = 0 |
Definition at line 632 of file BattleObject.h.
int32 ABattleObject::NextOffsetY = 0 |
Definition at line 633 of file BattleObject.h.
FHitData ABattleObject::NormalHit = {} |
Definition at line 672 of file BattleObject.h.
uint32 ABattleObject::ObjectID = 0 |
Definition at line 790 of file BattleObject.h.
FVector ABattleObject::ObjectOffset = FVector::ZeroVector |
Definition at line 854 of file BattleObject.h.
int32 ABattleObject::ObjectReg1 = 0 |
Definition at line 714 of file BattleObject.h.
int32 ABattleObject::ObjectReg2 = 0 |
Definition at line 716 of file BattleObject.h.
int32 ABattleObject::ObjectReg3 = 0 |
Definition at line 718 of file BattleObject.h.
int32 ABattleObject::ObjectReg4 = 0 |
Definition at line 720 of file BattleObject.h.
int32 ABattleObject::ObjectReg5 = 0 |
Definition at line 722 of file BattleObject.h.
int32 ABattleObject::ObjectReg6 = 0 |
Definition at line 724 of file BattleObject.h.
int32 ABattleObject::ObjectReg7 = 0 |
Definition at line 726 of file BattleObject.h.
int32 ABattleObject::ObjectReg8 = 0 |
Definition at line 728 of file BattleObject.h.
FRotator ABattleObject::ObjectRotation = FRotator::ZeroRotator |
Definition at line 856 of file BattleObject.h.
FVector ABattleObject::ObjectScale = FVector::One() |
Definition at line 858 of file BattleObject.h.
TObjectPtr<UState> ABattleObject::ObjectState = nullptr |
Definition at line 909 of file BattleObject.h.
int32 ABattleObject::ObjectStateIndex = 0 |
Definition at line 878 of file BattleObject.h.
FGameplayTag ABattleObject::ObjectStateName = {} |
Definition at line 789 of file BattleObject.h.
TArray<ABattleObject*> ABattleObject::ObjectsToIgnoreHitsFrom |
Definition at line 885 of file BattleObject.h.
uint32 ABattleObject::ObjNumber = 0 |
Definition at line 896 of file BattleObject.h.
Definition at line 613 of file BattleObject.h.
Definition at line 882 of file BattleObject.h.
float ABattleObject::OrthoBlendActive = 0 |
Definition at line 901 of file BattleObject.h.
APlayerObject* ABattleObject::Player = nullptr |
Definition at line 866 of file BattleObject.h.
ABattleObject* ABattleObject::PositionLinkObj = nullptr |
Definition at line 872 of file BattleObject.h.
int32 ABattleObject::PosX = 0 |
Definition at line 620 of file BattleObject.h.
int32 ABattleObject::PosY = 0 |
Definition at line 622 of file BattleObject.h.
int32 ABattleObject::PosZ = 0 |
Definition at line 624 of file BattleObject.h.
int32 ABattleObject::PrevOffsetX = 0 |
Definition at line 630 of file BattleObject.h.
int32 ABattleObject::PrevOffsetY = 0 |
Definition at line 631 of file BattleObject.h.
int32 ABattleObject::PrevPosX = 0 |
Definition at line 625 of file BattleObject.h.
int32 ABattleObject::PrevPosY = 0 |
Definition at line 626 of file BattleObject.h.
int32 ABattleObject::PrevPosZ = 0 |
Definition at line 627 of file BattleObject.h.
int32 ABattleObject::Pushback = 0 |
Definition at line 663 of file BattleObject.h.
|
protected |
Definition at line 796 of file BattleObject.h.
|
protected |
Definition at line 797 of file BattleObject.h.
|
protected |
Definition at line 798 of file BattleObject.h.
|
protected |
Definition at line 799 of file BattleObject.h.
|
protected |
Definition at line 802 of file BattleObject.h.
FHitData ABattleObject::ReceivedHit = {} |
Definition at line 682 of file BattleObject.h.
FHitDataCommon ABattleObject::ReceivedHitCommon = {} |
Definition at line 681 of file BattleObject.h.
Definition at line 692 of file BattleObject.h.
float ABattleObject::ScreenSpaceDepthOffset = 0 |
Definition at line 899 of file BattleObject.h.
FName ABattleObject::SocketName = {} |
Definition at line 812 of file BattleObject.h.
Definition at line 813 of file BattleObject.h.
FVector ABattleObject::SocketOffset = FVector::ZeroVector |
Definition at line 814 of file BattleObject.h.
int32 ABattleObject::SpeedX = 0 |
Definition at line 635 of file BattleObject.h.
int32 ABattleObject::SpeedXRate = 100 |
Definition at line 641 of file BattleObject.h.
int32 ABattleObject::SpeedXRatePerFrame = 100 |
Definition at line 643 of file BattleObject.h.
int32 ABattleObject::SpeedY = 0 |
Definition at line 637 of file BattleObject.h.
int32 ABattleObject::SpeedYRate = 100 |
Definition at line 645 of file BattleObject.h.
int32 ABattleObject::SpeedYRatePerFrame = 100 |
Definition at line 647 of file BattleObject.h.
int32 ABattleObject::SpeedZ = 0 |
Definition at line 639 of file BattleObject.h.
int32 ABattleObject::SpeedZRate = 100 |
Definition at line 649 of file BattleObject.h.
int32 ABattleObject::SpeedZRatePerFrame = 100 |
Definition at line 651 of file BattleObject.h.
ABattleObject* ABattleObject::StopLinkObj = nullptr |
Definition at line 874 of file BattleObject.h.
uint32 ABattleObject::StunTime = 0 |
Definition at line 683 of file BattleObject.h.
uint32 ABattleObject::StunTimeMax = 0 |
Definition at line 684 of file BattleObject.h.
int32 ABattleObject::SubroutineReg1 = 0 |
Definition at line 734 of file BattleObject.h.
int32 ABattleObject::SubroutineReg2 = 0 |
Definition at line 736 of file BattleObject.h.
int32 ABattleObject::SubroutineReg3 = 0 |
Definition at line 738 of file BattleObject.h.
int32 ABattleObject::SubroutineReg4 = 0 |
Definition at line 740 of file BattleObject.h.
FSuperArmorData ABattleObject::SuperArmorData = FSuperArmorData() |
Definition at line 845 of file BattleObject.h.
|
protected |
Definition at line 803 of file BattleObject.h.
int32 ABattleObject::Timer0 = 0 |
Definition at line 836 of file BattleObject.h.
int32 ABattleObject::Timer1 = 0 |
Definition at line 837 of file BattleObject.h.
int32 ABattleObject::TimeUntilNextCel = 0 |
Definition at line 780 of file BattleObject.h.
int32 ABattleObject::UpdateTime = 0 |
Definition at line 848 of file BattleObject.h.