Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func (*Module) HandleDisconnect ¶
func (m *Module) HandleDisconnect()
func (*Module) HandleMsg ¶
func (m *Module) HandleMsg(ctx context.Context, respond hwebsocket.ResponseSender, msg hwebsocket.Msg) error
type State ¶
type State struct {
// contains filtered or unexported fields
}
State represents a state that keeps track of assets instances.
func (*State) AssetInstance ¶
func (s *State) AssetInstance(entityID uint32) (*odalpb.AssetInstance, bool)
func (*State) AssetInstances ¶
func (s *State) AssetInstances() []*odalpb.AssetInstance
func (*State) NewAssetInstanceID ¶
func (*State) RemoveAssetInstance ¶
func (*State) SetAssetInstance ¶
func (s *State) SetAssetInstance(ai *odalpb.AssetInstance)
Click to show internal directories.
Click to hide internal directories.