This commit is contained in:
aozhiwei 2023-04-01 15:39:50 +08:00
parent 2259e22861
commit 6809a20f00
2 changed files with 12 additions and 0 deletions

View File

@ -3540,3 +3540,13 @@ Creature* Room::GetCreatureByUniId(int uniid)
Entity* e = GetEntityByUniId(uniid);
return e && e->IsCreature(this) ? (Creature*)e : nullptr;
}
bool Room::RandomSafeAreaPoint(glm::vec3& point)
{
return false;
}
bool Room::FindWalkablePointWithOutHouse(const glm::vec3& center, int try_count, int step, glm::vec3& point)
{
return false;
}

View File

@ -217,6 +217,8 @@ public:
const mt::AirLine* GetAirLine() { return airline_; }
int GetPolyExtFlag(int poly_idx);
size_t GetRoomMaxPlayerNum();
bool RandomSafeAreaPoint(glm::vec3& point);
bool FindWalkablePointWithOutHouse(const glm::vec3& center, int try_count, int step, glm::vec3& point);
private:
void ShuaAndroid();