blob: aef5c8ebe27ae67a4690ec334fa976731e89182c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package messages
import "github.com/pektezol/bitreader"
type SvcGetCvarValue struct {
Cookie string
CvarName string
}
func ParseSvcGetCvarValue(reader *bitreader.ReaderType) SvcGetCvarValue {
svcGetCvarValue := SvcGetCvarValue{
Cookie: reader.TryReadStringLen(4),
CvarName: reader.TryReadString(),
}
return svcGetCvarValue
}
|