My program doesn't have bugs. It just develops random features.

UE2:GameInfo (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Info >> GameInfo
Package: 
Engine
Direct subclasses:
CinematicGame, UnrealMPGameInfo
This class in other games:
RTNP, U1, UT, UE2Runtime, U2, U2XMP, UT2003, UT3, UDK

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[edit]

GIPROPNUM[edit]

Value: 15


Properties[edit]

See GameInfo properties.

Structs[edit]

KeyValuePair[edit]

Modifiers: native, export

string Key 
string Value 

PlayerResponseLine[edit]

Modifiers: native, export

int PlayerNum 
string PlayerName 
int Ping 
int Score 
int StatsID 

ServerResponseLine[edit]

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[edit]

See GameInfo functions.