Documentation ¶
Index ¶
- type User
- func (u *User) AddInfluxTags(prefix string, p *write.Point) *write.Point
- func (u *User) GetID() uuid.UUID
- func (u *User) GetPosBuffer() []byte
- func (u *User) GetPosition() cmath.Vec3
- func (u *User) GetProfile() *entry.UserProfile
- func (u *User) GetRotation() cmath.Vec3
- func (u *User) GetSessionID() uuid.UUID
- func (u *User) GetSpace() universe.Space
- func (u *User) GetUserType() universe.UserType
- func (u *User) GetWorld() universe.World
- func (u *User) HandleHighFive(m *posbus.TriggerInteraction) error
- func (u *User) Initialize(ctx context.Context) error
- func (u *User) InteractionHandler(m *posbus.TriggerInteraction) error
- func (u *User) Load() error
- func (u *User) LoadFromEntry(entry *entry.User) error
- func (u *User) LockObject(msg *posbus.SetObjectLockState) error
- func (u *User) OnMessage(msg *posbus.Message) error
- func (u *User) RelayToControllerHandler(m *posbus.RelayToController) error
- func (u *User) ReleaseSendBuffer()
- func (u *User) Run() error
- func (u *User) Send(m *websocket.PreparedMessage) error
- func (u *User) SendDirectly(message *websocket.PreparedMessage) error
- func (u *User) SendHighFiveStats(target universe.User) error
- func (u *User) SetConnection(id uuid.UUID, socketConnection *websocket.Conn) error
- func (u *User) SetPosition(p cmath.Vec3)
- func (u *User) SetSpace(space universe.Space)
- func (u *User) SetUserType(userType universe.UserType, updateDB bool) error
- func (u *User) SetWorld(world universe.World)
- func (u *User) SignalsHandler(s posbus.Signal) error
- func (u *User) StartIOPumps()
- func (u *User) Stop() error
- func (u *User) Teleport(msg *posbus.SwitchWorld) error
- func (u *User) TeleportToWorld(id uuid.UUID)
- func (u *User) Update() error
- func (u *User) UpdatePosition(data []byte) error
- func (u *User) UpdateSpacePosition(msg *posbus.SetStaticObjectPosition) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct {
// contains filtered or unexported fields
}
func (*User) AddInfluxTags ¶
func (*User) GetPosBuffer ¶
func (*User) GetPosition ¶
func (*User) GetProfile ¶
func (u *User) GetProfile() *entry.UserProfile
func (*User) GetRotation ¶
func (*User) GetSessionID ¶
func (*User) GetUserType ¶
func (*User) HandleHighFive ¶
func (u *User) HandleHighFive(m *posbus.TriggerInteraction) error
func (*User) InteractionHandler ¶
func (u *User) InteractionHandler(m *posbus.TriggerInteraction) error
func (*User) LockObject ¶
func (u *User) LockObject(msg *posbus.SetObjectLockState) error
func (*User) RelayToControllerHandler ¶
func (u *User) RelayToControllerHandler(m *posbus.RelayToController) error
func (*User) ReleaseSendBuffer ¶
func (u *User) ReleaseSendBuffer()
func (*User) SendDirectly ¶
func (u *User) SendDirectly(message *websocket.PreparedMessage) error
func (*User) SetConnection ¶
func (*User) SetPosition ¶
func (*User) SetUserType ¶
func (*User) StartIOPumps ¶
func (u *User) StartIOPumps()
func (*User) TeleportToWorld ¶
func (*User) UpdatePosition ¶
func (*User) UpdateSpacePosition ¶
func (u *User) UpdateSpacePosition(msg *posbus.SetStaticObjectPosition) error
Click to show internal directories.
Click to hide internal directories.