refactor(Core): SetTimedFacingToObject (#23142)

This commit is contained in:
天鹭
2025-10-17 02:29:31 +08:00
committed by GitHub
parent edfc494635
commit 1946543ae2
3 changed files with 17 additions and 39 deletions

View File

@@ -1919,8 +1919,8 @@ public:
void SetInFront(WorldObject const* target);
void SetFacingTo(float ori);
void SetFacingToObject(WorldObject* object);
void SetTimedFacingToObject(WorldObject* object, uint32 time); // Reset to home orientation after given time
// <timed>Reset to home orientation after given time
void SetFacingToObject(WorldObject* object, Milliseconds timed = 0ms);
bool isInAccessiblePlaceFor(Creature const* c) const;
bool isInFrontInMap(Unit const* target, float distance, float arc = M_PI) const;