This commit is contained in:
aozhiwei 2024-09-10 11:41:00 +08:00
parent ac2ad809a4
commit 0f950568cd
3 changed files with 7 additions and 1 deletions

View File

@ -4363,3 +4363,8 @@ bool Creature::HaveBallingEnemy()
);
return have;
}
void Creature::SyncServerPos(int reason)
{
}

View File

@ -418,6 +418,7 @@ class Creature : public MoveableEntity
int GetBattleStartTime();
bool IsOb();
bool HaveBallingEnemy();
virtual void SyncServerPos(int reason);
protected:
virtual void OnBuffRemove(Buff& buff);

View File

@ -151,7 +151,7 @@ class Player : public Human
void _CMMobaBattleData(f8::MsgHdr* hdr, const cs::CMMobaBattleData& msg);
virtual void SetAttackDir(const glm::vec3& attack_dir) override;
void AsyncRequestWatchWar(bool send_rsp_msg);
void SyncServerPos(int reason);
void SyncServerPos(int reason) override;
protected:
Player();