EventServerSpawn
Interface EventServerSpawn
Namespace: SwiftlyS2.Shared.GameEventDefinitions
Assembly: SwiftlyS2.CS2.dll
Event "server_spawn" send once a server starts
public interface EventServerSpawn : IGameEvent<EventServerSpawn>Implements
Properties
AddonName
addon name
type: string
string AddonName { get; set; }Property Value
Address
hostame, IP or DNS name
type: string
string Address { get; set; }Property Value
Dedicated
true if dedicated server
type: bool
bool Dedicated { get; set; }Property Value
Game
game dir
type: string
string Game { get; set; }Property Value
Hostname
public host name
type: string
string Hostname { get; set; }Property Value
MapName
map name
type: string
string MapName { get; set; }Property Value
MaxPlayers
max players
type: long
int MaxPlayers { get; set; }Property Value
Os
WIN32, LINUX
type: string
string Os { get; set; }Property Value
Password
true if password protected
type: bool
bool Password { get; set; }Property Value
Port
server port
type: short
short Port { get; set; }Property Value