860-870 client support drafts

This commit is contained in:
ErikasKontenis
2020-07-26 13:23:05 +03:00
parent 7cdf6c1b3f
commit 9671a5cce7
32 changed files with 80759 additions and 195 deletions

View File

@@ -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);