This commit is contained in:
aozhiwei 2023-10-27 17:51:35 +08:00
parent 01aa141b48
commit c835fbb13c
3 changed files with 5 additions and 0 deletions

View File

@ -131,6 +131,8 @@ class Creature : public MoveableEntity
a8::XTimerWp craze_mode_timer;
a8::XTimerWp nature_recover_hp_idle_timer;
int side = 0;
Creature();
virtual ~Creature() override;
virtual void Initialize() override;

View File

@ -36,6 +36,8 @@ namespace mt
std::vector<std::shared_ptr<WorldObject>> _world_objects;
std::map<int, std::vector<std::shared_ptr<WorldObject>>> _group_world_objects;
MapCollider* collider_info = nullptr;
std::vector<std::shared_ptr<std::tuple<glm::vec3, int>>> moba_born_points;
std::vector<std::shared_ptr<std::tuple<glm::vec3, int>>> moba_path_points;
std::string RandTemplate() const;
int GetCarLimit(int car_id) const;

View File

@ -1661,6 +1661,7 @@ message SMMapInfo
optional int32 match_mode = 13; // 0: pvp 1:()
optional int32 pve_instance_id = 16; //pve副本id
optional int32 mapid = 17; //id之后会删除
optional int32 side = 18; //moba模式出生点 0 1 2
}
//