Classes - c01dc0ffee/gm_sourcenet GitHub Wiki

INetMessage

number GetType()  -- Returns the type number of the net message
number GetGroup()  -- Returns the group number of the net message
string GetName()  -- Returns the name of the net message (e.g. net_Tick)
CNetChan GetNetChannel()  -- Returns the net channel associated with the net message
void SetNetChannel(CNetChan chan)  -- Overrides the net channel associated with the net message
bool IsReliable()  -- Returns if the message type is sent reliably
void SetReliable(bool value)  -- Sets if the net message should be sent reliably
bool ReadFromBuffer(bf_read buf)  -- Decodes the net message from a byte buffer
bool WriteToBuffer(bf_write buf)  -- Encodes the net message into a byte buffer
bool Process()  -- Requests the engine to take action on the net message
__eq	=	function: 0x405ea198
__gc	=	function: 0x405ea1d0
__index	=	function: 0x405ea1f0
__newindex	=	function: 0x405ea210
__tostring	=	function: 0x405ea258
MetaID	=	56
MetaName	=	INetMessage

CNetChan

CanPacket	=	function: 0x405e4a48
Clear	=	function: 0x405e4af0
DenyFile	=	function: 0x405e49c8
DumpNetMessages	=	function: 0x405e4840
GetAddress	=	function: 0x405e51b8
GetAvgChoke	=	function: 0x405e4d40
GetAvgData	=	function: 0x405e4d80
GetAvgLatency	=	function: 0x405e4cb8
GetAvgLoss	=	function: 0x405e4d00
GetAvgPackets	=	function: 0x405e4dc0
GetBackgroundMode	=	function: 0x405e5390
GetBufferSize	=	function: 0x405e55d0
GetChallengeNr	=	function: 0x405e5680
GetCommandInterpolationAmount	=	function: 0x405e5920
GetCompressionMode	=	function: 0x405e5420
GetConnectTime	=	function: 0x405e5d20
GetDataRate	=	function: 0x405e5550
GetDropNumber	=	function: 0x405e5638
GetIncomingFragments	=	function: 0x405e4ff8
GetLastReceivedTime	=	function: 0x405e5240
GetLatency	=	function: 0x405e4c78
GetMaxRoutablePayloadSize	=	function: 0x405e54b0
GetName	=	function: 0x405e52d0
GetNetChannelHandler	=	function: 0x405e5168
GetNetMessage	=	function: 0x405e48d0
GetNetMessageNum	=	function: 0x405e4888
GetNumBitsWritten	=	function: 0x405e5618
GetOutgoingQueueFragments	=	function: 0x405e4f58
GetOutgoingQueueSize	=	function: 0x405e4aa8
GetPacketBytes	=	function: 0x405e5890
GetPacketResponseLatency	=	function: 0x405e5978
GetPacketTime	=	function: 0x405e5848
GetRate	=	function: 0x405e5310
GetReliableBuffer	=	function: 0x405e5090
GetRemoteAddress	=	function: 0x405e4bf0
GetRemoteFramerate	=	function: 0x405e59c8
GetSequenceData	=	function: 0x405e5710
GetSequenceNr	=	function: 0x405e4e50
GetStreamProgress	=	function: 0x405e58d8
GetSubChannels	=	function: 0x405e5048
GetTable	=	function: 0x405e4058
GetTime	=	function: 0x405e4c38
GetTimeConnected	=	function: 0x405e5cd8
GetTimeSinceLastReceived	=	function: 0x405e4e98
GetTimeout	=	function: 0x405e5c58
GetTimeoutSeconds	=	function: 0x405e5bf0
GetTotalData	=	function: 0x405e4e08
GetUnreliableBuffer	=	function: 0x405e50d8
GetVoiceBuffer	=	function: 0x405e5120
HasPendingReliableData	=	function: 0x405e4a88
IsLoopback	=	function: 0x405e5af0
IsNull	=	function: 0x405e4908
IsOverflowed	=	function: 0x405e5bd0
IsPlayback	=	function: 0x405e5b90
IsTimedOut	=	function: 0x405e5b50
IsTimingOut	=	function: 0x405e5b30
IsValid	=	function: 0x405e4078
IsValidPacket	=	function: 0x405e5800
MetaID	=	46
MetaName	=	CNetChan
QueueOutgoingFragments	=	function: 0x405e4fa8
RequestFile	=	function: 0x405e4a08
Reset	=	function: 0x405e4ad0
ResetStreaming	=	function: 0x405e6a30
SendData	=	function: 0x405e4948
SendFile	=	function: 0x405e4988
SendNetMsg	=	function: 0x405e4bb0
SetBackgroundMode	=	function: 0x405e53d8
SetChallengeNr	=	function: 0x405e56c8
SetChoked	=	function: 0x405e57a0
SetCompressionMode	=	function: 0x405e5468
SetConnectTime	=	function: 0x405e51f8
SetDataRate	=	function: 0x405e5590
SetFileTransmissionMode	=	function: 0x405e57e0
SetInterpolationAmount	=	function: 0x405e5a10
SetLastReceivedTime	=	function: 0x405e5288
SetMaxBufferSize	=	function: 0x405e5aa8
SetMaxRoutablePayloadSize	=	function: 0x405e5500
SetName	=	function: 0x405e52f0
SetRate	=	function: 0x405e5350
SetRemoteFramerate	=	function: 0x405e5a60
SetSequenceData	=	function: 0x405e5758
SetTimeout	=	function: 0x405e5c98
SetTimeoutSeconds	=	function: 0x405e5c10
Shutdown	=	function: 0x405e4b30
StartStreaming	=	function: 0x405e69e8
Transmit	=	function: 0x405e4b70
UpdateMessageStats	=	function: 0x405e69a0
__eq	=	function: 0x405e4018
__index	=	function: 0x405e4820
__newindex	=	function: 0x405e4038
__tostring	=	function: 0x405e3fe0

INetChannelHandler

GetTable	=	function: 0x405e88a8
MetaID	=	52
MetaName	=	INetChannelHandler
__eq	=	function: 0x405e8868
__index	=	function: 0x405e8cf0
__newindex	=	function: 0x405e8888
__tostring	=	function: 0x405e8830

INetworkStringTableContainer

FindTable	=	function: 0x2466c228
GetNumTables	=	function: 0x2466c0f0
GetTable	=	function: 0x2466c138
MetaID	=	53
MetaName	=	INetworkStringTableContainer
__eq	=	function: 0x2466c090
__index	=	function: 0x2466c118
__newindex	=	function: 0x2466c0b0
__tostring	=	function: 0x2466c058

netadr_t

GetIP	=	function: 0x2466bb60
GetPort	=	function: 0x2466bba0
GetSteamID	=	function: 0x2466bbe0
GetTable	=	function: 0x2466b8d0
GetType	=	function: 0x2466bc20
IsLocalhost	=	function: 0x2466b910
IsLoopback	=	function: 0x2466b950
IsReservedAdr	=	function: 0x2466b970
IsValid	=	function: 0x2466b9b8
MetaID	=	51
MetaName	=	netadr_t
ToString	=	function: 0x2466b8b0
__eq	=	function: 0x2466b850
__gc	=	function: 0x2466b688
__index	=	function: 0x2466b870
__newindex	=	function: 0x2466b890
__tostring	=	function: 0x2466b8f0

bf_read

GetBasePointer	=	function: 0x42286ea8
GetNumBitsLeft	=	function: 0x42285c28
GetNumBitsRead	=	function: 0x42285c68
GetNumBytesLeft	=	function: 0x42285c48
GetNumBytesRead	=	function: 0x42285cf8
GetTable	=	function: 0x42286ce0
IsOverflowed	=	function: 0x42286bd8
IsValid	=	function: 0x42286d00
MetaID	=	45
MetaName	=	sn_bf_read
ReadAngle	=	function: 0x42286c80
ReadBit	=	function: 0x42287858
ReadBitAngle	=	function: 0x42286c60
ReadBits	=	function: 0x42286d48
ReadByte	=	function: 0x42286dc8
ReadBytes	=	function: 0x42286de8
ReadChar	=	function: 0x42286e28
ReadDouble	=	function: 0x42286e88
ReadFloat	=	function: 0x42286e68
ReadInt	=	function: 0x422874e8
ReadLong	=	function: 0x422877f0
ReadLongLong	=	function: 0x42287810
ReadNormal	=	function: 0x42286da8
ReadShort	=	function: 0x42287878
ReadSignedVarInt32	=	function: 0x42287568
ReadSignedVarInt64	=	function: 0x422875f8
ReadString	=	function: 0x42287898
ReadUInt	=	function: 0x42287508
ReadVarInt32	=	function: 0x422875b0
ReadVarInt64	=	function: 0x42287640
ReadVector	=	function: 0x42286d88
ReadWord	=	function: 0x42287528
Seek	=	function: 0x42286bf8
SeekRelative	=	function: 0x42286c18
TotalBytesAvailable	=	function: 0x42285808
__eq	=	function: 0x42285c90
__gc	=	function: 0x42285c08
__index	=	function: 0x42286ca0
__newindex	=	function: 0x42286cc0
__tostring	=	function: 0x42285cb0

bf_write

GetBasePointer	=	function: 0x42285d58
GetMaxNumBits	=	function: 0x42285da0
GetNumBitsLeft	=	function: 0x42285e78
GetNumBitsWritten	=	function: 0x42285de8
GetNumBytesLeft	=	function: 0x42285e98
GetNumBytesWritten	=	function: 0x42285e30
GetTable	=	function: 0x42285b90
IsOverflowed	=	function: 0x42285ee0
IsValid	=	function: 0x42285bb0
MetaID	=	44
MetaName	=	sn_bf_write
Seek	=	function: 0x42285f00
WriteAngle	=	function: 0x42285f68
WriteBit	=	function: 0x42285ab0
WriteBitAngle	=	function: 0x42285f20
WriteBits	=	function: 0x42285f88
WriteByte	=	function: 0x42286008
WriteBytes	=	function: 0x42286028
WriteChar	=	function: 0x42286068
WriteDouble	=	function: 0x422859e0
WriteFloat	=	function: 0x42285988
WriteInt	=	function: 0x42285b10
WriteLong	=	function: 0x42285a00
WriteLongLong	=	function: 0x42285a20
WriteNormal	=	function: 0x42285fe8
WriteShort	=	function: 0x42285ad0
WriteSignedVarInt32	=	function: 0x42286420
WriteSignedVarInt64	=	function: 0x422864b0
WriteString	=	function: 0x42285af0
WriteUInt	=	function: 0x42285b30
WriteVarInt32	=	function: 0x42286468
WriteVarInt64	=	function: 0x42285758
WriteVector	=	function: 0x42285fc8
WriteWord	=	function: 0x422863e0
__eq	=	function: 0x42285a48
__gc	=	function: 0x422859c0
__index	=	function: 0x42285b50
__newindex	=	function: 0x42285b70
__tostring	=	function: 0x42285a68

UCHARPTR

Copy	=	function: 0x13b3bd98
GetTable	=	function: 0x13b3b2d8
IsValid	=	function: 0x13b3be40
MetaID	=	50
MetaName	=	UCHARPTR
Size	=	function: 0x13b3bd78
__eq	=	function: 0x13b3b4b0
__gc	=	function: 0x13b3b490
__index	=	function: 0x13b3b298
__newindex	=	function: 0x13b3b2b8
__tostring	=	function: 0x13b3b240