.BANCHO. Add spectator list

This commit is contained in:
russelg
2016-06-08 23:26:31 +08:00
committed by Nyo
parent f9d6e79447
commit 3f9bad3d21
3 changed files with 18 additions and 0 deletions

View File

@@ -188,6 +188,12 @@ def spectatorFrames(data):
def noSongSpectator(userID):
return packetHelper.buildPacket(packetIDs.server_spectatorCantSpectate, [[userID, dataTypes.sInt32]])
def fellowSpectatorJoined(userID):
return packetHelper.buildPacket(packetIDs.server_fellowSpectatorJoined, [[userID, dataTypes.sInt32]])
def fellowSpectatorLeft(userID):
return packetHelper.buildPacket(packetIDs.server_fellowSpectatorLeft, [[userID, dataTypes.sInt32]])
""" Multiplayer Packets """
def createMatch(matchID):