I'm a doctor, not a mechanic

UE2:GameInfo (UT2004)

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


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.



Value: 15


See GameInfo properties.



Modifiers: native, export

string Key 
string Value 


Modifiers: native, export

int PlayerNum 
string PlayerName 
int Ping 
int Score 
int StatsID 


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 


See GameInfo functions.