From b8c9cdc9996706047b605fcb179161a678fcb8db Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Sun, 6 Nov 2022 17:27:56 +0300 Subject: changed github username + other stuff that i don't remember --- classes/netsvc/types.go | 106 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 classes/netsvc/types.go (limited to 'classes/netsvc/types.go') diff --git a/classes/netsvc/types.go b/classes/netsvc/types.go new file mode 100644 index 0000000..2a52f96 --- /dev/null +++ b/classes/netsvc/types.go @@ -0,0 +1,106 @@ +package netsvc + +type NetDisconnect struct { + Text string +} + +type NetFile struct { + TransferId int32 + FileName string + FileRequested bool +} + +type NetSplitScreenUser struct { + Unknown bool +} + +type NetTick struct { + Tick int32 + HostFrameTime int16 + HostFrameTimeStdDeviation int16 +} + +type NetStringCmd struct { + Command string +} + +type ConVar struct { + Name string + Value string +} + +type NetSetConVar struct { + Length int8 + ConVars []ConVar +} + +type NetSignonStateOE struct { + SignonState int8 + SpawnCount int32 +} + +type NetSignonStateNE struct { + NetSignonStateOE + NumServerPlayers int32 + IdsLength int32 + PlayerNetworkIds []byte + MapNameLength int32 + MapName string +} + +type SvcServerInfo struct { + Protocol int8 + ServerCount int32 + IsHltv bool + IsDedicated bool + ClientCrc int32 + MaxClasses int16 + MapCrc int32 + PlayerSlot int8 + MaxClients int8 + Unk int32 // NE + TickInterval float32 + COs byte + GameDir string + MapName string + SkyName string + HostName string +} + +type SvcSendTable struct { + NeedsDecoder bool + Length int8 + Props int // ? +} + +type ServerClass struct { + ClassId int8 + ClassName string + DataTableName string +} + +type SvcClassInfo struct { + Length int16 + CreateOnClient bool + ServerClasses []ServerClass +} + +type SvcSetPause struct { + Paused bool +} + +type SvcCreateStringTable struct { + Name string + MaxEntries int16 + NumEntries int8 + Length int32 + UserDataFixedSize bool + UserDataSize int32 + UserDataSizeBits int8 + Flags int8 + StringData int // ? +} + +type SvcPrint struct { + Message string +} -- cgit v1.2.3