vikja

package
v0.5.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2024 License: MIT Imports: 8 Imported by: 0

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

func (*Module) Init

func (m *Module) Init(s *models.Session, p *models.Participant)

func (*Module) Name

func (m *Module) Name() string

type State

type State struct {
	// contains filtered or unexported fields
}

func (*State) EntityAction

func (s *State) EntityAction(entityID uint32, actionName string) (*vikjapb.EntityAction, bool)

func (*State) EntityActions

func (s *State) EntityActions() []*vikjapb.EntityAction

func (*State) RemoveEntityActions

func (s *State) RemoveEntityActions(entityID uint32)

func (*State) SetEntityAction

func (s *State) SetEntityAction(ea *vikjapb.EntityAction)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL