The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE2:GameInfo (UT2003)
- Package:
- Engine
- Direct subclasses:
- UnrealMPGameInfo, CinematicGame
- This class in other games:
- RTNP, U1, UT, UT2004, UE2Runtime, U2, U2XMP, UT3, UDK
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.
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
- array<KeyValuePair> ServerInfo
- array<PlayerResponseLine> PlayerInfo
VoiceChatterInfo
- Controller Controller
- int IpAddr
- int Handle
Functions
Static native functions
LoadMapList
ParseKillMessage
Other static functions
FillPlayInfo
Overrides: Info.FillPlayInfo
FindTeamDesignation
ParseChatPercVar
ParseMessageString
PrecacheGameStaticMeshes
PrecacheGameTextures
UseLowGore
Iterator functions
AllDataObjects
Exec functions
AdminSay
KillBots
Native functions
CreateDataObject
DeleteDataObject
DeletePackage
GetNetworkNumber
GetSavedGames
LoadDataObject
SavePackage
Events
AcceptInventory
Broadcast
BroadcastLocalized
Destroyed
Overrides: Actor.Destroyed
DetailChange
GameEnding
GetBeaconText
InitGame
Login
PostBeginPlay
Overrides: Actor.PostBeginPlay
PostLogin
PreBeginPlay
Overrides: Actor.PreBeginPlay
PreLogin
Timer
Overrides: Actor.Timer