Browse Source

Merge pull request #43 from wihn2021/dev

feat: add human status enum
tags/0.1.0
DragonAura GitHub 3 years ago
parent
commit
33cbb308ff
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions
  1. +1
    -0
      CAPI/API/include/API.h
  2. +11
    -0
      CAPI/API/include/structures.h

+ 1
- 0
CAPI/API/include/API.h View File

@@ -247,6 +247,7 @@ public:
std::future<bool> MoveUp(int64_t timeInMilliseconds) override;
std::future<bool> MoveLeft(int64_t timeInMilliseconds) override;
std::future<bool> MoveDown(int64_t timeInMilliseconds) override;

std::future<bool> PickProp(THUAI6::PropType prop) override;
std::future<bool> UseProp() override;
std::future<bool> UseSkill() override;


+ 11
- 0
CAPI/API/include/structures.h View File

@@ -87,6 +87,17 @@ namespace THUAI6
ButcherBuffType4 = 4,
};

//人类状态枚举
enum class HumanState : unsigned char
{
NullHumanState = 0,
Idle = 1,
Fixing = 2,
Dying = 3,
OnChair = 4,
Dead = 5,
};

// 玩家类
struct Player
{


Loading…
Cancel
Save