mirror of
https://github.com/zeldaret/botw
synced 2026-08-02 00:14:36 -04:00
ksys/res: Add AttClient header
This commit is contained in:
@@ -22,6 +22,8 @@ target_sources(uking PRIVATE
|
||||
actAiClass.h
|
||||
actAiParam.cpp
|
||||
actAiParam.h
|
||||
actAttention.cpp
|
||||
actAttention.h
|
||||
actBaseProc.cpp
|
||||
actBaseProc.h
|
||||
actBaseProcHandle.cpp
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
#include "KingSystem/ActorSystem/actAttention.h"
|
||||
|
||||
namespace ksys::act {
|
||||
|
||||
SEAD_ENUM_IMPL(AttActionType)
|
||||
|
||||
SEAD_ENUM_IMPL(AttPriorityType)
|
||||
|
||||
} // namespace ksys::act
|
||||
@@ -0,0 +1,70 @@
|
||||
#pragma once
|
||||
|
||||
#include <prim/seadEnum.h>
|
||||
|
||||
namespace ksys::act {
|
||||
|
||||
enum class AttType {
|
||||
Action = 0,
|
||||
Lock = 1,
|
||||
SwordSearch = 2,
|
||||
Attack = 3,
|
||||
Appeal = 4,
|
||||
JumpRide = 5,
|
||||
NameBalloon = 6,
|
||||
LookOnly = 7,
|
||||
Invalid = 8,
|
||||
};
|
||||
|
||||
// Make sure to update AttActionType if this is changed
|
||||
enum class AttActionCode {
|
||||
None = 0x1800000,
|
||||
Talk,
|
||||
Listen,
|
||||
Awake,
|
||||
Grab,
|
||||
Open,
|
||||
Pick,
|
||||
Catch,
|
||||
CheckCatch,
|
||||
CatchWeapon,
|
||||
Skin,
|
||||
Sleep,
|
||||
Sit,
|
||||
Lumber,
|
||||
Pushpull,
|
||||
Read,
|
||||
Check,
|
||||
Boot,
|
||||
BootPStop,
|
||||
Leave,
|
||||
Remind,
|
||||
Buy,
|
||||
Ride,
|
||||
Wakeboard,
|
||||
WakeboardRide,
|
||||
RideRito,
|
||||
RideZora,
|
||||
Cook,
|
||||
KillTime,
|
||||
Display,
|
||||
DisplayBow,
|
||||
DisplayShield,
|
||||
PickUp,
|
||||
Pray,
|
||||
PullOut,
|
||||
Waterfall,
|
||||
CommandWait,
|
||||
CommandCome,
|
||||
Thrust,
|
||||
Put,
|
||||
PickToEvent,
|
||||
Dummy,
|
||||
};
|
||||
|
||||
// clang-format off
|
||||
SEAD_ENUM(AttActionType, None,Talk,Listen,Awake,Grab,Open,Pick,Catch,CheckCatch,CatchWeapon,Skin,Sleep,Sit,Lumber,Pushpull,Read,Check,Boot,BootPStop,Leave,Remind,Buy,Ride,Wakeboard,WakeboardRide,RideRito,RideZora,Cook,KillTime,Display,DisplayBow,DisplayShield,PickUp,Pray,PullOut,Waterfall,CommandWait,CommandCome,Thrust,Put,PickToEvent,Dummy)
|
||||
SEAD_ENUM(AttPriorityType, Default,Enemy,Npc,Obj,ObjLow,ObjMiddle,ObjHigh,Bullet)
|
||||
// clang-format on
|
||||
|
||||
} // namespace ksys::act
|
||||
Reference in New Issue
Block a user