diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-18 18:50:17 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-18 18:50:17 +0200 |
commit | 43ed690520d3c3b47ed7ff6f48f868e8011565e0 (patch) | |
tree | 7db2b1b7dde37f498e6ed09e90a68ae3faff0718 /src/Protocol/ProtocolRecognizer.cpp | |
parent | 1.8: Simplified item metadata reading. (diff) | |
download | cuberite-43ed690520d3c3b47ed7ff6f48f868e8011565e0.tar cuberite-43ed690520d3c3b47ed7ff6f48f868e8011565e0.tar.gz cuberite-43ed690520d3c3b47ed7ff6f48f868e8011565e0.tar.bz2 cuberite-43ed690520d3c3b47ed7ff6f48f868e8011565e0.tar.lz cuberite-43ed690520d3c3b47ed7ff6f48f868e8011565e0.tar.xz cuberite-43ed690520d3c3b47ed7ff6f48f868e8011565e0.tar.zst cuberite-43ed690520d3c3b47ed7ff6f48f868e8011565e0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/ProtocolRecognizer.cpp | 44 |
1 files changed, 42 insertions, 2 deletions
diff --git a/src/Protocol/ProtocolRecognizer.cpp b/src/Protocol/ProtocolRecognizer.cpp index 611ef6ce0..36e791fc7 100644 --- a/src/Protocol/ProtocolRecognizer.cpp +++ b/src/Protocol/ProtocolRecognizer.cpp @@ -489,10 +489,50 @@ void cProtocolRecognizer::SendEntityAnimation(const cEntity & a_Entity, char a_A -void cProtocolRecognizer::SendPlayerListItem(const cPlayer & a_Player, char a_Action) +void cProtocolRecognizer::SendPlayerListAddPlayer(const cPlayer & a_Player) { ASSERT(m_Protocol != NULL); - m_Protocol->SendPlayerListItem(a_Player, a_Action); + m_Protocol->SendPlayerListAddPlayer(a_Player); +} + + + + + +void cProtocolRecognizer::SendPlayerListRemovePlayer(const cPlayer & a_Player) +{ + ASSERT(m_Protocol != NULL); + m_Protocol->SendPlayerListRemovePlayer(a_Player); +} + + + + + +void cProtocolRecognizer::SendPlayerListUpdateGameMode(const cPlayer & a_Player) +{ + ASSERT(m_Protocol != NULL); + m_Protocol->SendPlayerListUpdateGameMode(a_Player); +} + + + + + +void cProtocolRecognizer::SendPlayerListUpdatePing(const cPlayer & a_Player) +{ + ASSERT(m_Protocol != NULL); + m_Protocol->SendPlayerListUpdatePing(a_Player); +} + + + + + +void cProtocolRecognizer::SendPlayerListUpdateDisplayName(const cPlayer & a_Player, const AString & a_OldListName) +{ + ASSERT(m_Protocol != NULL); + m_Protocol->SendPlayerListUpdateDisplayName(a_Player, a_OldListName); } |