Documentation ¶
Index ¶
- type GameSettings
- func (gs *GameSettings) FromAPIMessage()
- func (gs *GameSettings) SetAFKTimeout(timeout int)
- func (gs *GameSettings) SetGameStarted(s bool)
- func (gs *GameSettings) SetRegime(r regime.Regime)
- func (gs *GameSettings) SetWorldExist(s bool)
- func (gs *GameSettings) ToAPIMessage() *server_external.GameSettings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameSettings ¶
func NewGameSettings ¶
func NewGameSettings() *GameSettings
func (*GameSettings) FromAPIMessage ¶
func (gs *GameSettings) FromAPIMessage()
func (*GameSettings) SetAFKTimeout ¶
func (gs *GameSettings) SetAFKTimeout(timeout int)
func (*GameSettings) SetGameStarted ¶
func (gs *GameSettings) SetGameStarted(s bool)
func (*GameSettings) SetRegime ¶
func (gs *GameSettings) SetRegime(r regime.Regime)
func (*GameSettings) SetWorldExist ¶
func (gs *GameSettings) SetWorldExist(s bool)
func (*GameSettings) ToAPIMessage ¶
func (gs *GameSettings) ToAPIMessage() *server_external.GameSettings
Click to show internal directories.
Click to hide internal directories.