Beispiel #1
0
def GetDivinePlayerPacket(data):
    return Packet(PacketTypeEnum.DivinePlayer, data)
Beispiel #2
0
def GetGuardPlayerPacket(data):
    return Packet(PacketTypeEnum.GuardPlayer, data)


#endregion
Beispiel #3
0
def GetWhisperPacket(data):
    return Packet(PacketTypeEnum.Whisper, data)
Beispiel #4
0
def GetAttackPlayerPacket(data):
    return Packet(PacketTypeEnum.AttackPlayer, data)
Beispiel #5
0
def GetVotePlayerPacket(data):
    return Packet(PacketTypeEnum.VotePlayer, data)
Beispiel #6
0
def GetTalkPacket(data):
    return Packet(PacketTypeEnum.Talk, data)
Beispiel #7
0
def GetRemoveAgentFromGamePacket(data):
    return Packet(PacketTypeEnum.RemoveAgent, data)
Beispiel #8
0
def GetVoteGameStartPacket(data):
    return Packet(PacketTypeEnum.VoteStart, data)
Beispiel #9
0
def GetAddAgentToGamePacket(data):
    return Packet(PacketTypeEnum.AddAgent, data)
Beispiel #10
0
def GetConnectPacket(data):
    return Packet(PacketTypeEnum.Connect, data)
Beispiel #11
0
def GetGameLobbyPacket(data):
    return Packet(PacketTypeEnum.GameLobby, data)
Beispiel #12
0
def GetLeaveGamePacket(data):
    return Packet(PacketTypeEnum.LeaveGame, data)
Beispiel #13
0
def GetJoinGamePacket(data):
    return Packet(PacketTypeEnum.JoinGame, data)
Beispiel #14
0
def GetCreateGamePacket(data):
    return Packet(PacketTypeEnum.CreateGame, data)
Beispiel #15
0
def GetGamesPacket(data=None):
    return Packet(PacketTypeEnum.GetGamesList, data)