UE2:GameInfo (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE2:KeyValuePair (UT2004))
Jump to navigation Jump to search
UT2004 Object >> Actor >> Info >> GameInfo
Package: 
Engine

GameInfo.

The GameInfo defines the game being played: the game rules, scoring, what actors are allowed to exist in this game type, and who may enter the game. While the GameInfo class is the public interface, much of this functionality is delegated to several classes to allow easy modification of specific game components. These classes include GameInfo, AccessControl, Mutator, BroadcastHandler, and GameRules. A GameInfo actor is instantiated when the level is initialized for gameplay (in C++ UGameEngine::LoadMap() ). The class of this GameInfo actor is determined by (in order) either the DefaultGameType if specified in the LevelInfo, or the DefaultGame entry in the game's .ini file (in the Engine.Engine section), unless its a network game in which case the DefaultServerGame entry is used.

Constants

GIPROPNUM

Value: 15


Properties

See GameInfo properties.

Structs

KeyValuePair

Modifiers: native, export

string Key 
string Value 

PlayerResponseLine

Modifiers: native, export

int PlayerNum 
string PlayerName 
int Ping 
int Score 
int StatsID 

ServerResponseLine

Modifiers: native, export

int ServerID 
string IP 
int Port 
int QueryPort 
string ServerName 
string MapName 
string GameType 
int CurrentPlayers 
int MaxPlayers 
int Ping 
int Flags 
string SkillLevel 
array<KeyValuePair> ServerInfo 
array<PlayerResponseLine> PlayerInfo 

Functions

See GameInfo functions.