Versions in this module Expand all Collapse all v2 v2.4.0 Oct 14, 2020 Changes in this version + type Entity interface + ApplyUpdate func(reader *bit.BitReader) + BindProperty func(name string, variable interface{}, 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 + ServerClass func() *ServerClass + type EntityCreatedHandler func(Entity) + type Property interface + Bind func(variable interface{}, valueType PropertyValueType) + Name func() string + OnUpdate func(handler PropertyUpdateHandler) + Value func() PropertyValue + type PropertyUpdateHandler func(PropertyValue) + type PropertyValue struct + ArrayVal []PropertyValue + FloatVal float32 + IntVal int + StringVal string + VectorVal r3.Vector + func (v PropertyValue) BoolVal() bool + type PropertyValueType int + const ValTypeArray + const ValTypeBoolInt + const ValTypeFloat32 + const ValTypeFloat64 + const ValTypeInt + const ValTypeString + const ValTypeVector + type SendTableParser struct + func NewSendTableParser() *SendTableParser + func (p *SendTableParser) ParsePacket(r *bit.BitReader) + func (p *SendTableParser) ReadEnterPVS(r *bit.BitReader, entityID int) Entity + func (p *SendTableParser) ServerClasses() ServerClasses + func (p *SendTableParser) SetInstanceBaseline(scID int, data []byte) + type ServerClass struct + func (sc *ServerClass) BaseClasses() []*ServerClass + func (sc *ServerClass) DataTableID() int + func (sc *ServerClass) DataTableName() string + func (sc *ServerClass) ID() int + func (sc *ServerClass) Name() string + func (sc *ServerClass) OnEntityCreated(handler EntityCreatedHandler) + func (sc *ServerClass) PropertyEntries() []string + func (sc *ServerClass) String() string + type ServerClasses []*ServerClass + func (sc ServerClasses) FindByName(name string) *ServerClass