diff options
Diffstat (limited to 'pkg/messages/types/svcServerInfo.go')
| -rw-r--r-- | pkg/messages/types/svcServerInfo.go | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/pkg/messages/types/svcServerInfo.go b/pkg/messages/types/svcServerInfo.go index a6acd53..507b7ca 100644 --- a/pkg/messages/types/svcServerInfo.go +++ b/pkg/messages/types/svcServerInfo.go | |||
| @@ -2,7 +2,6 @@ package messages | |||
| 2 | 2 | ||
| 3 | import ( | 3 | import ( |
| 4 | "github.com/pektezol/bitreader" | 4 | "github.com/pektezol/bitreader" |
| 5 | "github.com/pektezol/demoparser/pkg/writer" | ||
| 6 | ) | 5 | ) |
| 7 | 6 | ||
| 8 | type SvcServerInfo struct { | 7 | type SvcServerInfo struct { |
| @@ -43,21 +42,6 @@ func ParseSvcServerInfo(reader *bitreader.Reader) SvcServerInfo { | |||
| 43 | SkyName: reader.TryReadString(), | 42 | SkyName: reader.TryReadString(), |
| 44 | HostName: reader.TryReadString(), | 43 | HostName: reader.TryReadString(), |
| 45 | } | 44 | } |
| 46 | writer.TempAppendLine("\t\tNetwork Protocol: %d", svcServerInfo.Protocol) | 45 | |
| 47 | writer.TempAppendLine("\t\tServer Count: %d", svcServerInfo.ServerCount) | ||
| 48 | writer.TempAppendLine("\t\tIs Hltv: %t", svcServerInfo.IsHltv) | ||
| 49 | writer.TempAppendLine("\t\tIs Dedicated: %t", svcServerInfo.IsDedicated) | ||
| 50 | writer.TempAppendLine("\t\tServer Client CRC: %d", svcServerInfo.ClientCrc) | ||
| 51 | writer.TempAppendLine("\t\tString Table CRC: %d", svcServerInfo.StringTableCrc) | ||
| 52 | writer.TempAppendLine("\t\tMax Server Classes: %d", svcServerInfo.MaxServerClasses) | ||
| 53 | writer.TempAppendLine("\t\tServer Map CRC: %d", svcServerInfo.MapCrc) | ||
| 54 | writer.TempAppendLine("\t\tCurrent Player Count: %d", svcServerInfo.PlayerCount) | ||
| 55 | writer.TempAppendLine("\t\tMax Player Count: %d", svcServerInfo.MaxClients) | ||
| 56 | writer.TempAppendLine("\t\tInterval Per Tick: %f", svcServerInfo.TickInterval) | ||
| 57 | writer.TempAppendLine("\t\tPlatform: %s", svcServerInfo.Platform) | ||
| 58 | writer.TempAppendLine("\t\tGame Directory: %s", svcServerInfo.GameDir) | ||
| 59 | writer.TempAppendLine("\t\tMap Name: %s", svcServerInfo.MapName) | ||
| 60 | writer.TempAppendLine("\t\tSky Name: %s", svcServerInfo.SkyName) | ||
| 61 | writer.TempAppendLine("\t\tHost Name: %s", svcServerInfo.HostName) | ||
| 62 | return svcServerInfo | 46 | return svcServerInfo |
| 63 | } | 47 | } |