2008-04-27 05:59:38 +00:00
|
|
|
from datatypes import *
|
|
|
|
|
|
|
|
Emotes = ["NORMAL", "PAIN", "HAPPY", "SURPRISE", "ANGRY", "BLINK"]
|
2012-02-15 00:40:47 +00:00
|
|
|
PlayerFlags = ["CHATTING", "SCOREBOARD", "READY", "DEAD", "WATCHING"]
|
2012-02-15 00:39:48 +00:00
|
|
|
GameFlags = ["TEAMS", "FLAGS", "SURVIVAL"]
|
2012-02-15 00:40:04 +00:00
|
|
|
GameStateFlags = ["WARMUP", "SUDDENDEATH", "ROUNDOVER", "GAMEOVER", "PAUSED", "STARTCOUNTDOWN"]
|
2008-04-27 05:59:38 +00:00
|
|
|
|
2011-04-12 17:23:20 +00:00
|
|
|
Emoticons = ["OOP", "EXCLAMATION", "HEARTS", "DROP", "DOTDOT", "MUSIC", "SORRY", "GHOST", "SUSHI", "SPLATTEE", "DEVILTEE", "ZOMG", "ZZZ", "WTF", "EYES", "QUESTION"]
|
2008-06-12 10:51:48 +00:00
|
|
|
|
2012-02-15 00:40:13 +00:00
|
|
|
Pickups = ["HEALTH", "ARMOR", "GRENADE", "SHOTGUN", "LASER", "NINJA"]
|
2008-06-12 10:51:48 +00:00
|
|
|
|
|
|
|
RawHeader = '''
|
2010-05-29 07:25:38 +00:00
|
|
|
|
|
|
|
#include <engine/message.h>
|
|
|
|
|
2008-06-12 10:51:48 +00:00
|
|
|
enum
|
|
|
|
{
|
2011-01-03 11:50:38 +00:00
|
|
|
INPUT_STATE_MASK=0x3f
|
|
|
|
};
|
|
|
|
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
TEAM_SPECTATORS=-1,
|
|
|
|
TEAM_RED,
|
2011-03-04 16:08:10 +00:00
|
|
|
TEAM_BLUE,
|
2012-02-15 00:39:13 +00:00
|
|
|
NUM_TEAMS,
|
2011-03-04 16:08:10 +00:00
|
|
|
|
2011-03-10 09:14:41 +00:00
|
|
|
FLAG_MISSING=-3,
|
|
|
|
FLAG_ATSTAND,
|
2011-03-04 16:08:10 +00:00
|
|
|
FLAG_TAKEN,
|
2011-03-10 09:08:14 +00:00
|
|
|
|
|
|
|
SPEC_FREEVIEW=-1,
|
2008-06-12 10:51:48 +00:00
|
|
|
};
|
|
|
|
'''
|
|
|
|
|
|
|
|
RawSource = '''
|
2010-05-29 07:25:38 +00:00
|
|
|
#include <engine/message.h>
|
|
|
|
#include "protocol.h"
|
2008-06-12 10:51:48 +00:00
|
|
|
'''
|
|
|
|
|
|
|
|
Enums = [
|
|
|
|
Enum("EMOTE", Emotes),
|
2012-02-15 00:40:13 +00:00
|
|
|
Enum("PICKUP", Pickups),
|
2008-06-12 10:51:48 +00:00
|
|
|
Enum("EMOTICON", Emoticons)
|
|
|
|
]
|
2008-04-27 05:59:38 +00:00
|
|
|
|
2008-08-27 15:51:09 +00:00
|
|
|
Flags = [
|
2011-03-04 16:08:10 +00:00
|
|
|
Flags("PLAYERFLAG", PlayerFlags),
|
|
|
|
Flags("GAMEFLAG", GameFlags),
|
|
|
|
Flags("GAMESTATEFLAG", GameStateFlags)
|
2008-08-27 15:51:09 +00:00
|
|
|
]
|
|
|
|
|
2008-04-27 05:59:38 +00:00
|
|
|
Objects = [
|
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetObject("PlayerInput", [
|
|
|
|
NetIntAny("m_Direction"),
|
|
|
|
NetIntAny("m_TargetX"),
|
|
|
|
NetIntAny("m_TargetY"),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntAny("m_Jump"),
|
|
|
|
NetIntAny("m_Fire"),
|
|
|
|
NetIntAny("m_Hook"),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2011-03-01 17:31:20 +00:00
|
|
|
NetIntRange("m_PlayerFlags", 0, 256),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntAny("m_WantedWeapon"),
|
|
|
|
NetIntAny("m_NextWeapon"),
|
|
|
|
NetIntAny("m_PrevWeapon"),
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2008-04-27 05:59:38 +00:00
|
|
|
NetObject("Projectile", [
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntAny("m_X"),
|
|
|
|
NetIntAny("m_Y"),
|
|
|
|
NetIntAny("m_VelX"),
|
|
|
|
NetIntAny("m_VelY"),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntRange("m_Type", 0, 'NUM_WEAPONS-1'),
|
|
|
|
NetTick("m_StartTick"),
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
|
|
|
|
|
|
|
NetObject("Laser", [
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntAny("m_X"),
|
|
|
|
NetIntAny("m_Y"),
|
|
|
|
NetIntAny("m_FromX"),
|
|
|
|
NetIntAny("m_FromY"),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetTick("m_StartTick"),
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
|
|
|
|
|
|
|
NetObject("Pickup", [
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntAny("m_X"),
|
|
|
|
NetIntAny("m_Y"),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntRange("m_Type", 0, 'max_int'),
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
|
|
|
|
|
|
|
NetObject("Flag", [
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntAny("m_X"),
|
|
|
|
NetIntAny("m_Y"),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2011-03-04 16:08:10 +00:00
|
|
|
NetIntRange("m_Team", 'TEAM_RED', 'TEAM_BLUE')
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
|
|
|
|
2011-03-04 16:08:10 +00:00
|
|
|
NetObject("GameInfo", [
|
|
|
|
NetIntRange("m_GameFlags", 0, 256),
|
|
|
|
NetIntRange("m_GameStateFlags", 0, 256),
|
2012-02-15 00:39:40 +00:00
|
|
|
NetTick("m_GameStartTick"),
|
2012-02-15 00:39:24 +00:00
|
|
|
NetIntRange("m_GameStateTimer", 0, 'max_int'),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntRange("m_ScoreLimit", 0, 'max_int'),
|
|
|
|
NetIntRange("m_TimeLimit", 0, 'max_int'),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2012-02-15 00:39:40 +00:00
|
|
|
NetIntRange("m_MatchNum", 0, 'max_int'),
|
|
|
|
NetIntRange("m_MatchCurrent", 0, 'max_int'),
|
2011-03-04 16:08:10 +00:00
|
|
|
]),
|
2008-04-27 05:59:38 +00:00
|
|
|
|
2011-03-04 16:08:10 +00:00
|
|
|
NetObject("GameData", [
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntAny("m_TeamscoreRed"),
|
|
|
|
NetIntAny("m_TeamscoreBlue"),
|
2011-03-04 16:08:10 +00:00
|
|
|
|
2011-03-10 09:14:41 +00:00
|
|
|
NetIntRange("m_FlagCarrierRed", 'FLAG_MISSING', 'MAX_CLIENTS-1'),
|
|
|
|
NetIntRange("m_FlagCarrierBlue", 'FLAG_MISSING', 'MAX_CLIENTS-1'),
|
2012-03-04 11:46:22 +00:00
|
|
|
NetTick("m_FlagDropTickRed"),
|
|
|
|
NetTick("m_FlagDropTickBlue"),
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetObject("CharacterCore", [
|
|
|
|
NetIntAny("m_Tick"),
|
|
|
|
NetIntAny("m_X"),
|
|
|
|
NetIntAny("m_Y"),
|
|
|
|
NetIntAny("m_VelX"),
|
|
|
|
NetIntAny("m_VelY"),
|
2008-04-27 05:59:38 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntAny("m_Angle"),
|
|
|
|
NetIntRange("m_Direction", -1, 1),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntRange("m_Jumped", 0, 3),
|
|
|
|
NetIntRange("m_HookedPlayer", 0, 'MAX_CLIENTS-1'),
|
|
|
|
NetIntRange("m_HookState", -1, 5),
|
|
|
|
NetTick("m_HookTick"),
|
|
|
|
|
|
|
|
NetIntAny("m_HookX"),
|
|
|
|
NetIntAny("m_HookY"),
|
|
|
|
NetIntAny("m_HookDx"),
|
|
|
|
NetIntAny("m_HookDy"),
|
|
|
|
]),
|
|
|
|
|
|
|
|
NetObject("Character:CharacterCore", [
|
|
|
|
NetIntRange("m_Health", 0, 10),
|
|
|
|
NetIntRange("m_Armor", 0, 10),
|
|
|
|
NetIntRange("m_AmmoCount", 0, 10),
|
|
|
|
NetIntRange("m_Weapon", 0, 'NUM_WEAPONS-1'),
|
|
|
|
NetIntRange("m_Emote", 0, len(Emotes)),
|
|
|
|
NetIntRange("m_AttackTick", 0, 'max_int'),
|
2008-06-12 10:51:48 +00:00
|
|
|
]),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetObject("PlayerInfo", [
|
2012-02-15 00:39:24 +00:00
|
|
|
NetIntRange("m_PlayerFlags", 0, 256),
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntRange("m_Local", 0, 1),
|
2011-02-12 10:40:36 +00:00
|
|
|
NetIntRange("m_ClientID", 0, 'MAX_CLIENTS-1'),
|
2011-01-03 11:50:38 +00:00
|
|
|
NetIntRange("m_Team", 'TEAM_SPECTATORS', 'TEAM_BLUE'),
|
2008-09-23 07:43:41 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntAny("m_Score"),
|
|
|
|
NetIntAny("m_Latency"),
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
2008-10-08 20:47:56 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetObject("ClientInfo", [
|
2011-03-15 10:23:49 +00:00
|
|
|
# 4*4 = 16 charachters
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntAny("m_Name0"), NetIntAny("m_Name1"), NetIntAny("m_Name2"),
|
2011-03-15 10:23:49 +00:00
|
|
|
NetIntAny("m_Name3"),
|
|
|
|
|
|
|
|
# 4*3 = 12 charachters
|
|
|
|
NetIntAny("m_Clan0"), NetIntAny("m_Clan1"), NetIntAny("m_Clan2"),
|
|
|
|
|
|
|
|
NetIntAny("m_Country"),
|
2008-10-08 20:47:56 +00:00
|
|
|
|
|
|
|
# 4*6 = 24 charachters
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntAny("m_Skin0"), NetIntAny("m_Skin1"), NetIntAny("m_Skin2"),
|
|
|
|
NetIntAny("m_Skin3"), NetIntAny("m_Skin4"), NetIntAny("m_Skin5"),
|
2008-10-08 20:47:56 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntRange("m_UseCustomColor", 0, 1),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntAny("m_ColorBody"),
|
|
|
|
NetIntAny("m_ColorFeet"),
|
2008-10-08 20:47:56 +00:00
|
|
|
]),
|
2011-03-10 09:08:14 +00:00
|
|
|
|
|
|
|
NetObject("SpectatorInfo", [
|
|
|
|
NetIntRange("m_SpectatorID", 'SPEC_FREEVIEW', 'MAX_CLIENTS-1'),
|
|
|
|
NetIntAny("m_X"),
|
|
|
|
NetIntAny("m_Y"),
|
|
|
|
]),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2008-04-27 05:59:38 +00:00
|
|
|
## Events
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2008-06-12 10:51:48 +00:00
|
|
|
NetEvent("Common", [
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntAny("m_X"),
|
|
|
|
NetIntAny("m_Y"),
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2008-04-27 05:59:38 +00:00
|
|
|
|
2008-06-12 10:51:48 +00:00
|
|
|
NetEvent("Explosion:Common", []),
|
|
|
|
NetEvent("Spawn:Common", []),
|
2008-10-17 11:23:21 +00:00
|
|
|
NetEvent("HammerHit:Common", []),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2008-06-12 10:51:48 +00:00
|
|
|
NetEvent("Death:Common", [
|
2011-02-12 10:40:36 +00:00
|
|
|
NetIntRange("m_ClientID", 0, 'MAX_CLIENTS-1'),
|
2008-06-12 10:51:48 +00:00
|
|
|
]),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2008-06-12 10:51:48 +00:00
|
|
|
NetEvent("SoundWorld:Common", [
|
2011-02-12 10:40:36 +00:00
|
|
|
NetIntRange("m_SoundID", 0, 'NUM_SOUNDS-1'),
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
|
|
|
|
2008-06-12 10:51:48 +00:00
|
|
|
NetEvent("DamageInd:Common", [
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntAny("m_Angle"),
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
|
|
|
]
|
|
|
|
|
|
|
|
Messages = [
|
|
|
|
|
|
|
|
### Server messages
|
2010-05-29 07:25:38 +00:00
|
|
|
NetMessage("Sv_Motd", [
|
|
|
|
NetString("m_pMessage"),
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetMessage("Sv_Broadcast", [
|
|
|
|
NetString("m_pMessage"),
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetMessage("Sv_Chat", [
|
2011-01-03 11:50:38 +00:00
|
|
|
NetIntRange("m_Team", 'TEAM_SPECTATORS', 'TEAM_BLUE'),
|
2011-02-12 10:40:36 +00:00
|
|
|
NetIntRange("m_ClientID", -1, 'MAX_CLIENTS-1'),
|
2010-05-29 07:25:38 +00:00
|
|
|
NetString("m_pMessage"),
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetMessage("Sv_KillMsg", [
|
|
|
|
NetIntRange("m_Killer", 0, 'MAX_CLIENTS-1'),
|
|
|
|
NetIntRange("m_Victim", 0, 'MAX_CLIENTS-1'),
|
|
|
|
NetIntRange("m_Weapon", -3, 'NUM_WEAPONS-1'),
|
|
|
|
NetIntAny("m_ModeSpecial"),
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetMessage("Sv_SoundGlobal", [
|
2011-02-12 10:40:36 +00:00
|
|
|
NetIntRange("m_SoundID", 0, 'NUM_SOUNDS-1'),
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetMessage("Sv_TuneParams", []),
|
|
|
|
NetMessage("Sv_ExtraProjectile", []),
|
|
|
|
NetMessage("Sv_ReadyToEnter", []),
|
2008-04-27 05:59:38 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetMessage("Sv_WeaponPickup", [
|
|
|
|
NetIntRange("m_Weapon", 0, 'NUM_WEAPONS-1'),
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetMessage("Sv_Emoticon", [
|
2011-02-12 10:40:36 +00:00
|
|
|
NetIntRange("m_ClientID", 0, 'MAX_CLIENTS-1'),
|
2010-05-29 07:25:38 +00:00
|
|
|
NetIntRange("m_Emoticon", 0, 'NUM_EMOTICONS-1'),
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
2008-09-24 14:47:03 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetMessage("Sv_VoteClearOptions", [
|
2008-11-08 12:50:46 +00:00
|
|
|
]),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2011-03-26 21:06:29 +00:00
|
|
|
NetMessage("Sv_VoteOptionListAdd", [
|
|
|
|
NetIntRange("m_NumOptions", 1, 15),
|
|
|
|
NetStringStrict("m_pDescription0"), NetStringStrict("m_pDescription1"), NetStringStrict("m_pDescription2"),
|
|
|
|
NetStringStrict("m_pDescription3"), NetStringStrict("m_pDescription4"), NetStringStrict("m_pDescription5"),
|
|
|
|
NetStringStrict("m_pDescription6"), NetStringStrict("m_pDescription7"), NetStringStrict("m_pDescription8"),
|
|
|
|
NetStringStrict("m_pDescription9"), NetStringStrict("m_pDescription10"), NetStringStrict("m_pDescription11"),
|
|
|
|
NetStringStrict("m_pDescription12"), NetStringStrict("m_pDescription13"), NetStringStrict("m_pDescription14"),
|
|
|
|
]),
|
|
|
|
|
2011-03-25 10:49:35 +00:00
|
|
|
NetMessage("Sv_VoteOptionAdd", [
|
|
|
|
NetStringStrict("m_pDescription"),
|
|
|
|
]),
|
|
|
|
|
|
|
|
NetMessage("Sv_VoteOptionRemove", [
|
2011-03-25 08:49:21 +00:00
|
|
|
NetStringStrict("m_pDescription"),
|
2008-11-08 12:50:46 +00:00
|
|
|
]),
|
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetMessage("Sv_VoteSet", [
|
|
|
|
NetIntRange("m_Timeout", 0, 60),
|
2011-03-25 09:26:59 +00:00
|
|
|
NetStringStrict("m_pDescription"),
|
|
|
|
NetStringStrict("m_pReason"),
|
2008-09-24 14:47:03 +00:00
|
|
|
]),
|
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetMessage("Sv_VoteStatus", [
|
|
|
|
NetIntRange("m_Yes", 0, 'MAX_CLIENTS'),
|
|
|
|
NetIntRange("m_No", 0, 'MAX_CLIENTS'),
|
|
|
|
NetIntRange("m_Pass", 0, 'MAX_CLIENTS'),
|
|
|
|
NetIntRange("m_Total", 0, 'MAX_CLIENTS'),
|
2008-09-24 14:47:03 +00:00
|
|
|
]),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2008-04-27 05:59:38 +00:00
|
|
|
### Client messages
|
2010-05-29 07:25:38 +00:00
|
|
|
NetMessage("Cl_Say", [
|
|
|
|
NetBool("m_Team"),
|
|
|
|
NetString("m_pMessage"),
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetMessage("Cl_SetTeam", [
|
2011-01-03 11:50:38 +00:00
|
|
|
NetIntRange("m_Team", 'TEAM_SPECTATORS', 'TEAM_BLUE'),
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
2011-03-10 09:08:14 +00:00
|
|
|
|
|
|
|
NetMessage("Cl_SetSpectatorMode", [
|
|
|
|
NetIntRange("m_SpectatorID", 'SPEC_FREEVIEW', 'MAX_CLIENTS-1'),
|
|
|
|
]),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetMessage("Cl_StartInfo", [
|
2010-08-12 13:22:07 +00:00
|
|
|
NetStringStrict("m_pName"),
|
2011-03-15 10:23:49 +00:00
|
|
|
NetStringStrict("m_pClan"),
|
|
|
|
NetIntAny("m_Country"),
|
2010-08-12 13:22:07 +00:00
|
|
|
NetStringStrict("m_pSkin"),
|
2010-05-29 07:25:38 +00:00
|
|
|
NetBool("m_UseCustomColor"),
|
|
|
|
NetIntAny("m_ColorBody"),
|
|
|
|
NetIntAny("m_ColorFeet"),
|
2011-04-12 17:23:20 +00:00
|
|
|
]),
|
2008-04-27 05:59:38 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetMessage("Cl_ChangeInfo", [
|
2010-08-12 13:22:07 +00:00
|
|
|
NetStringStrict("m_pName"),
|
2011-03-15 10:23:49 +00:00
|
|
|
NetStringStrict("m_pClan"),
|
|
|
|
NetIntAny("m_Country"),
|
2010-08-12 13:22:07 +00:00
|
|
|
NetStringStrict("m_pSkin"),
|
2010-05-29 07:25:38 +00:00
|
|
|
NetBool("m_UseCustomColor"),
|
|
|
|
NetIntAny("m_ColorBody"),
|
|
|
|
NetIntAny("m_ColorFeet"),
|
2008-07-08 09:07:21 +00:00
|
|
|
]),
|
2008-09-24 14:47:03 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetMessage("Cl_Kill", []),
|
2008-04-27 05:59:38 +00:00
|
|
|
|
2012-02-15 00:39:24 +00:00
|
|
|
NetMessage("Cl_ReadyChange", []),
|
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetMessage("Cl_Emoticon", [
|
|
|
|
NetIntRange("m_Emoticon", 0, 'NUM_EMOTICONS-1'),
|
2008-04-27 05:59:38 +00:00
|
|
|
]),
|
2008-09-24 14:47:03 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetMessage("Cl_Vote", [
|
|
|
|
NetIntRange("m_Vote", -1, 1),
|
2008-09-24 14:47:03 +00:00
|
|
|
]),
|
2011-04-12 17:23:20 +00:00
|
|
|
|
2010-05-29 07:25:38 +00:00
|
|
|
NetMessage("Cl_CallVote", [
|
2010-08-12 13:22:07 +00:00
|
|
|
NetStringStrict("m_Type"),
|
|
|
|
NetStringStrict("m_Value"),
|
2011-03-25 09:26:59 +00:00
|
|
|
NetStringStrict("m_Reason"),
|
2008-09-25 12:23:44 +00:00
|
|
|
]),
|
2008-04-27 05:59:38 +00:00
|
|
|
]
|