fix scripts issue

This commit is contained in:
Yunfan Li
2023-12-12 20:52:59 +08:00
parent 7915f79d04
commit 60cf17d70a
4 changed files with 13 additions and 2 deletions

View File

@@ -57,6 +57,8 @@ public:
* @return True if you want to continue receive the packet, false if you want to disallow receive the packet
*/
[[nodiscard]] virtual bool CanPacketReceive(WorldSession* /*session*/, WorldPacket& /*packet*/) { return true; }
virtual void OnPacketReceived(WorldSession* session, WorldPacket& packet) { }
};
#endif