Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + const CommandDisable + const CommandEnable + type DisableParams struct + func Disable() *DisableParams + func (p *DisableParams) Do(ctx context.Context) (err error) + func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *DisableParams) UnmarshalJSON(data []byte) error + func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) + func (v DisableParams) MarshalJSON() ([]byte, error) + type EnableParams struct + func Enable() *EnableParams + func (p *EnableParams) Do(ctx context.Context) (err error) + func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EnableParams) UnmarshalJSON(data []byte) error + func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) + func (v EnableParams) MarshalJSON() ([]byte, error) + type EventPlayerErrorsRaised struct + Errors []*PlayerError + PlayerID PlayerID + func (v *EventPlayerErrorsRaised) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventPlayerErrorsRaised) UnmarshalJSON(data []byte) error + func (v EventPlayerErrorsRaised) MarshalEasyJSON(w *jwriter.Writer) + func (v EventPlayerErrorsRaised) MarshalJSON() ([]byte, error) + type EventPlayerEventsAdded struct + Events []*PlayerEvent + PlayerID PlayerID + func (v *EventPlayerEventsAdded) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventPlayerEventsAdded) UnmarshalJSON(data []byte) error + func (v EventPlayerEventsAdded) MarshalEasyJSON(w *jwriter.Writer) + func (v EventPlayerEventsAdded) MarshalJSON() ([]byte, error) + type EventPlayerMessagesLogged struct + Messages []*PlayerMessage + PlayerID PlayerID + func (v *EventPlayerMessagesLogged) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventPlayerMessagesLogged) UnmarshalJSON(data []byte) error + func (v EventPlayerMessagesLogged) MarshalEasyJSON(w *jwriter.Writer) + func (v EventPlayerMessagesLogged) MarshalJSON() ([]byte, error) + type EventPlayerPropertiesChanged struct + PlayerID PlayerID + Properties []*PlayerProperty + func (v *EventPlayerPropertiesChanged) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventPlayerPropertiesChanged) UnmarshalJSON(data []byte) error + func (v EventPlayerPropertiesChanged) MarshalEasyJSON(w *jwriter.Writer) + func (v EventPlayerPropertiesChanged) MarshalJSON() ([]byte, error) + type EventPlayersCreated struct + Players []PlayerID + func (v *EventPlayersCreated) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventPlayersCreated) UnmarshalJSON(data []byte) error + func (v EventPlayersCreated) MarshalEasyJSON(w *jwriter.Writer) + func (v EventPlayersCreated) MarshalJSON() ([]byte, error) + type PlayerError struct + Cause []*PlayerError + Code int64 + Data easyjson.RawMessage + ErrorType string + Stack []*PlayerErrorSourceLocation + func (v *PlayerError) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *PlayerError) UnmarshalJSON(data []byte) error + func (v PlayerError) MarshalEasyJSON(w *jwriter.Writer) + func (v PlayerError) MarshalJSON() ([]byte, error) + type PlayerErrorSourceLocation struct + File string + Line int64 + func (v *PlayerErrorSourceLocation) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *PlayerErrorSourceLocation) UnmarshalJSON(data []byte) error + func (v PlayerErrorSourceLocation) MarshalEasyJSON(w *jwriter.Writer) + func (v PlayerErrorSourceLocation) MarshalJSON() ([]byte, error) + type PlayerEvent struct + Timestamp Timestamp + Value string + func (v *PlayerEvent) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *PlayerEvent) UnmarshalJSON(data []byte) error + func (v PlayerEvent) MarshalEasyJSON(w *jwriter.Writer) + func (v PlayerEvent) MarshalJSON() ([]byte, error) + type PlayerID string + func (t PlayerID) String() string + type PlayerMessage struct + Level PlayerMessageLevel + Message string + func (v *PlayerMessage) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *PlayerMessage) UnmarshalJSON(data []byte) error + func (v PlayerMessage) MarshalEasyJSON(w *jwriter.Writer) + func (v PlayerMessage) MarshalJSON() ([]byte, error) + type PlayerMessageLevel string + const PlayerMessageLevelDebug + const PlayerMessageLevelError + const PlayerMessageLevelInfo + const PlayerMessageLevelWarning + func (t *PlayerMessageLevel) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *PlayerMessageLevel) UnmarshalJSON(buf []byte) error + func (t PlayerMessageLevel) MarshalEasyJSON(out *jwriter.Writer) + func (t PlayerMessageLevel) MarshalJSON() ([]byte, error) + func (t PlayerMessageLevel) String() string + type PlayerProperty struct + Name string + Value string + func (v *PlayerProperty) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *PlayerProperty) UnmarshalJSON(data []byte) error + func (v PlayerProperty) MarshalEasyJSON(w *jwriter.Writer) + func (v PlayerProperty) MarshalJSON() ([]byte, error) + type Timestamp float64 + func (t Timestamp) Float64() float64