diff options
| author | GreYFoXGTi <GreYFoXGTi@GMaiL.CoM> | 2011-02-12 12:40:36 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-02-12 21:18:41 +0100 |
| commit | 1b2703aaba9ef21b8fca7c12b299fcd0fd4b9251 (patch) | |
| tree | d4b94b98105c3af23c79bae02a132bfe66738392 /datasrc/network.py | |
| parent | e45ad2a085d8f02aadc5d823a1d7dda4e1da70aa (diff) | |
| download | zcatch-1b2703aaba9ef21b8fca7c12b299fcd0fd4b9251.tar.gz zcatch-1b2703aaba9ef21b8fca7c12b299fcd0fd4b9251.zip | |
Refactoring & fixed WEAPONSPEC_GUN in content.py
Diffstat (limited to 'datasrc/network.py')
| -rw-r--r-- | datasrc/network.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/datasrc/network.py b/datasrc/network.py index 9b153016..656a1d84 100644 --- a/datasrc/network.py +++ b/datasrc/network.py @@ -147,7 +147,7 @@ Objects = [ NetObject("PlayerInfo", [ NetIntRange("m_Local", 0, 1), - NetIntRange("m_ClientId", 0, 'MAX_CLIENTS-1'), + NetIntRange("m_ClientID", 0, 'MAX_CLIENTS-1'), NetIntRange("m_Team", 'TEAM_SPECTATORS', 'TEAM_BLUE'), NetIntAny("m_Score"), @@ -183,15 +183,15 @@ Objects = [ NetEvent("HammerHit:Common", []), NetEvent("Death:Common", [ - NetIntRange("m_ClientId", 0, 'MAX_CLIENTS-1'), + NetIntRange("m_ClientID", 0, 'MAX_CLIENTS-1'), ]), NetEvent("SoundGlobal:Common", [ - NetIntRange("m_SoundId", 0, 'NUM_SOUNDS-1'), + NetIntRange("m_SoundID", 0, 'NUM_SOUNDS-1'), ]), NetEvent("SoundWorld:Common", [ - NetIntRange("m_SoundId", 0, 'NUM_SOUNDS-1'), + NetIntRange("m_SoundID", 0, 'NUM_SOUNDS-1'), ]), NetEvent("DamageInd:Common", [ @@ -212,7 +212,7 @@ Messages = [ NetMessage("Sv_Chat", [ NetIntRange("m_Team", 'TEAM_SPECTATORS', 'TEAM_BLUE'), - NetIntRange("m_Cid", -1, 'MAX_CLIENTS-1'), + NetIntRange("m_ClientID", -1, 'MAX_CLIENTS-1'), NetString("m_pMessage"), ]), @@ -224,7 +224,7 @@ Messages = [ ]), NetMessage("Sv_SoundGlobal", [ - NetIntRange("m_Soundid", 0, 'NUM_SOUNDS-1'), + NetIntRange("m_SoundID", 0, 'NUM_SOUNDS-1'), ]), NetMessage("Sv_TuneParams", []), @@ -236,7 +236,7 @@ Messages = [ ]), NetMessage("Sv_Emoticon", [ - NetIntRange("m_Cid", 0, 'MAX_CLIENTS-1'), + NetIntRange("m_ClientID", 0, 'MAX_CLIENTS-1'), NetIntRange("m_Emoticon", 0, 'NUM_EMOTICONS-1'), ]), |