mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2026-01-13 09:01:29 +01:00
860-870 client support drafts
This commit is contained in:
@@ -52,7 +52,8 @@ class ProtocolGame final : public Protocol
|
||||
// static protocol information
|
||||
enum { server_sends_first = true };
|
||||
enum { protocol_identifier = 0 }; // Not required as we send first
|
||||
|
||||
enum { use_checksum = true };
|
||||
|
||||
static const char* protocol_name() {
|
||||
return "gameworld protocol";
|
||||
}
|
||||
@@ -169,6 +170,7 @@ class ProtocolGame final : public Protocol
|
||||
void sendTextMessage(const TextMessage& message);
|
||||
void sendAnimatedText(const Position& pos, uint8_t color, const std::string& text);
|
||||
|
||||
void sendCreatureWalkthrough(const Creature* creature, bool walkthrough);
|
||||
void sendCreatureShield(const Creature* creature);
|
||||
void sendCreatureSkull(const Creature* creature);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user