Versions in this module Expand all Collapse all v5 v5.0.2 Jul 21, 2025 v5.0.1 Jul 21, 2025 v5.0.0 Jul 21, 2025 Changes in this version + type Entity interface + BindProperty func(name string, variable any, valueType PropertyValueType) + Destroy func() + ID func() int + OnCreateFinished func(delegate func()) + OnDestroy func(delegate func()) + OnPositionUpdate func(h func(pos r3.Vector)) + Position func() r3.Vector + Properties func() (out []Property) + Property func(name string) Property + PropertyValue func(name string) (PropertyValue, bool) + PropertyValueMust func(name string) PropertyValue + SerialNum func() int + ServerClass func() ServerClass + type EntityCreatedHandler func(Entity) + type EntityHandler func(Entity, EntityOp) error + type EntityOp int + const EntityOpCreated + const EntityOpCreatedEntered + const EntityOpDeleted + const EntityOpDeletedLeft + const EntityOpEntered + const EntityOpLeft + const EntityOpNone + const EntityOpUpdated + const EntityOpUpdatedEntered + func (o EntityOp) Flag(p EntityOp) bool + func (o EntityOp) String() string + type Property interface + Bind func(variable any, valueType PropertyValueType) + Name func() string + OnUpdate func(handler PropertyUpdateHandler) + Value func() PropertyValue + type PropertyEntry struct + IsArray bool + Name string + type PropertyUpdateHandler func(PropertyValue) + type PropertyValue struct + Any any + func (v PropertyValue) Array() []any + func (v PropertyValue) BoolVal() bool + func (v PropertyValue) Float() float32 + func (v PropertyValue) Handle() uint64 + func (v PropertyValue) Int() int + func (v PropertyValue) Int64() int64 + func (v PropertyValue) R3Vec() r3.Vector + func (v PropertyValue) R3VecOrNil() *r3.Vector + func (v PropertyValue) Str() string + func (v PropertyValue) String() string + func (v PropertyValue) UInt32() uint32 + func (v PropertyValue) UInt64() uint64 + type PropertyValueType int + const ValTypeArray + const ValTypeBoolInt + const ValTypeFloat32 + const ValTypeFloat64 + const ValTypeInt + const ValTypeString + const ValTypeVector + type ServerClass interface + ID func() int + Name func() string + OnEntityCreated func(handler EntityCreatedHandler) + PropertyEntries func() []string + String func() string + type ServerClasses interface + All func() []ServerClass + FindByName func(name string) ServerClass v5.0.0-alpha.0 Apr 17, 2025 Other modules containing this package github.com/markus-wa/demoinfocs-golang/v2 github.com/markus-wa/demoinfocs-golang/v3 github.com/markus-wa/demoinfocs-golang/v4