Documentation ¶
Index ¶
- type CommandsArgs
- func (c *CommandsArgs) RconBigText(text string, a ...any)
- func (c *CommandsArgs) RconCommand(command string, a ...any) (res string)
- func (c *CommandsArgs) RconCommandExtractValue(command string, a ...any) string
- func (c *CommandsArgs) RconList(list []string)
- func (c *CommandsArgs) RconText(text string, a ...any)
- func (c *CommandsArgs) RconUsage(text string, a ...any)
- type Player
- type Players
- type RconFunction
- type Server
- func (server *Server) GetCurrentMap() string
- func (server *Server) GetMapList() []string
- func (server *Server) GetMapWithCriteria(searchCriteria string) (*string, error)
- func (server *Server) GetNextMap() string
- func (server *Server) Init()
- func (server *Server) InitSettings()
- func (server *Server) IsMapAlreadyDownloaded(mapname string) bool
- func (server *Server) NewVote(v Vote)
- func (server *Server) RconBigText(text string, a ...any)
- func (server *Server) RconCommand(text string, a ...any)
- func (server *Server) RconPrint(text string, a ...any)
- func (server *Server) RconText(isGlobal bool, playerId string, text string, a ...any)
- func (server *Server) SetMapList()
- func (server *Server) SetMapName(mapName string)
- func (server *Server) SetNextMap(nextMapName string)
- type ServerSettings
- type UrtConfig
- type Vote
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandsArgs ¶
type CommandsArgs struct { Server *Server PlayerId string Params []string IsGlobal bool Usage string }
func (*CommandsArgs) RconBigText ¶
func (c *CommandsArgs) RconBigText(text string, a ...any)
func (*CommandsArgs) RconCommand ¶
func (c *CommandsArgs) RconCommand(command string, a ...any) (res string)
func (*CommandsArgs) RconCommandExtractValue ¶
func (c *CommandsArgs) RconCommandExtractValue(command string, a ...any) string
func (*CommandsArgs) RconList ¶
func (c *CommandsArgs) RconList(list []string)
func (*CommandsArgs) RconText ¶
func (c *CommandsArgs) RconText(text string, a ...any)
func (*CommandsArgs) RconUsage ¶
func (c *CommandsArgs) RconUsage(text string, a ...any)
type RconFunction ¶
type Server ¶
type Server struct { Db *sql.DB Rcon quake3_rcon.Rcon UrtConfig UrtConfig Players Players Settings ServerSettings Api *api.Api VoteChannel chan Vote }
func (*Server) GetCurrentMap ¶
func (*Server) GetMapList ¶
func (*Server) GetMapWithCriteria ¶
func (*Server) GetNextMap ¶
func (*Server) InitSettings ¶
func (server *Server) InitSettings()
func (*Server) IsMapAlreadyDownloaded ¶
func (*Server) RconBigText ¶
func (*Server) RconCommand ¶
func (*Server) SetMapList ¶
func (server *Server) SetMapList()
func (*Server) SetMapName ¶
func (*Server) SetNextMap ¶
type ServerSettings ¶
Click to show internal directories.
Click to hide internal directories.