Documentation
¶
Index ¶
- func CreateRustAdapter()
- func NewNullObject(h interfaces.HostInterface) interfaces.HostObject
- type HostArray
- func (h *HostArray) GetInt(keyId int32) int64
- func (h *HostArray) GetLength() int32
- func (h *HostArray) GetObjectId(keyId int32, typeId int32) int32
- func (h *HostArray) GetString(keyId int32) string
- func (h *HostArray) SetInt(keyId int32, value int64)
- func (h *HostArray) SetString(keyId int32, value string)
- type HostBase
- func (h *HostBase) AddObject(obj interfaces.HostObject) int32
- func (h *HostBase) GetInt(objId int32, keyId int32) int64
- func (h *HostBase) GetKey(keyId int32) string
- func (h *HostBase) GetKeyId(key string) int32
- func (h *HostBase) GetObject(objId int32) interfaces.HostObject
- func (h *HostBase) GetObjectId(objId int32, keyId int32, typeId int32) int32
- func (h *HostBase) GetString(objId int32, keyId int32) string
- func (h *HostBase) HasError() bool
- func (h *HostBase) Init(logger LogInterface, keyMap *map[string]int32)
- func (h *HostBase) Log(logLevel int, text string)
- func (h *HostBase) Logf(format string, a ...interface{})
- func (h *HostBase) SetError(text string)
- func (h *HostBase) SetInt(objId int32, keyId int32, value int64)
- func (h *HostBase) SetString(objId int32, keyId int32, value string)
- type HostImpl
- func (h *HostImpl) AddBalance(color string, amount int64)
- func (h *HostImpl) AddParamInt(key string, value int64)
- func (h *HostImpl) AddParamString(key string, value string)
- func (h *HostImpl) AddReqBalance(color string, amount int64)
- func (h *HostImpl) AddStateInt(key string, value int64)
- func (h *HostImpl) AddStateString(key string, value string)
- func (h *HostImpl) Object(key string, typeId int32) interfaces.HostObject
- func (h *HostImpl) RootInt(key string, value int64)
- func (h *HostImpl) RootString(key string, value string)
- type HostMap
- type LogInterface
- type Tracker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRustAdapter ¶ added in v0.0.23
func CreateRustAdapter()
func NewNullObject ¶ added in v0.0.15
func NewNullObject(h interfaces.HostInterface) interfaces.HostObject
Types ¶
type HostArray ¶
type HostArray struct {
// contains filtered or unexported fields
}
func NewHostArray ¶ added in v0.0.13
func (*HostArray) GetObjectId ¶ added in v0.0.24
type HostBase ¶ added in v0.0.22
type HostBase struct {
// contains filtered or unexported fields
}
func (*HostBase) AddObject ¶ added in v0.0.23
func (h *HostBase) AddObject(obj interfaces.HostObject) int32
func (*HostBase) GetObject ¶ added in v0.0.22
func (h *HostBase) GetObject(objId int32) interfaces.HostObject
func (*HostBase) GetObjectId ¶ added in v0.0.23
func (*HostBase) Init ¶ added in v0.0.23
func (h *HostBase) Init(logger LogInterface, keyMap *map[string]int32)
type HostImpl ¶ added in v0.0.12
type HostImpl struct {
HostBase
// contains filtered or unexported fields
}
func NewHostImpl ¶ added in v0.0.12
func NewHostImpl() *HostImpl
func (*HostImpl) AddBalance ¶ added in v0.0.30
func (*HostImpl) AddParamInt ¶ added in v0.0.30
func (*HostImpl) AddParamString ¶ added in v0.0.30
func (*HostImpl) AddReqBalance ¶ added in v0.0.30
func (*HostImpl) AddStateInt ¶ added in v0.0.30
func (*HostImpl) AddStateString ¶ added in v0.0.30
func (*HostImpl) Object ¶ added in v0.0.30
func (h *HostImpl) Object(key string, typeId int32) interfaces.HostObject
func (*HostImpl) RootString ¶ added in v0.0.30
type HostMap ¶
type HostMap struct {
// contains filtered or unexported fields
}
func NewHostMap ¶ added in v0.0.13
func (*HostMap) GetObjectId ¶ added in v0.0.24
type LogInterface ¶ added in v0.0.25
type Tracker ¶ added in v0.0.15
type Tracker struct {
// contains filtered or unexported fields
}
func NewTracker ¶ added in v0.0.15
func NewTracker() *Tracker
func (*Tracker) AddObject ¶ added in v0.0.15
func (t *Tracker) AddObject(obj interfaces.HostObject) int32
func (*Tracker) GetObject ¶ added in v0.0.15
func (t *Tracker) GetObject(objId int32) interfaces.HostObject
Source Files
¶
Click to show internal directories.
Click to hide internal directories.