UE2:GameInfo (UT2004)
- Package:
- Engine
- Direct subclasses:
- CinematicGame, UnrealMPGameInfo
- This class in other games:
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
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
PlayerResponseLine
Modifiers: native, export
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.