Gah - a solution with more questions. – EntropicLqd

UE2:GameInfo (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> Actor >> Info >> GameInfo
Package: 
Engine
Direct subclasses:
UnrealMPGameInfo, CinematicGame
This class in other games:
RTNP, U1, UT, UT2004, UE2Runtime, U2, U2XMP, 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.

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 
array<KeyValuePair> ServerInfo 
array<PlayerResponseLine> PlayerInfo 

VoiceChatterInfo[edit]

Controller Controller 
int IpAddr 
int Handle 

Functions[edit]

Static native functions[edit]

LoadMapList[edit]

native final static function LoadMapList (string MapPrefix, out array<stringMaps)


ParseKillMessage[edit]

static native function string ParseKillMessage (string KillerName, string VictimName, string DeathMessage)


Other static functions[edit]

FillPlayInfo[edit]

static function FillPlayInfo (PlayInfo PlayInfo)

Overrides: Info.FillPlayInfo


FindTeamDesignation[edit]

static function string FindTeamDesignation (GameReplicationInfo GRI, Actor A)


ParseChatPercVar[edit]

static function string ParseChatPercVar (Mutator BaseMutator, Controller Who, string Cmd)


ParseMessageString[edit]

static function string ParseMessageString (Mutator BaseMutator, Controller Who, string Message)


PrecacheGameStaticMeshes[edit]

static function PrecacheGameStaticMeshes (LevelInfo myLevel)


PrecacheGameTextures[edit]

static function PrecacheGameTextures (LevelInfo myLevel)


UseLowGore[edit]

static function bool UseLowGore ()


Iterator functions[edit]

AllDataObjects[edit]

native final iterator function AllDataObjects (Class objClass, out Object obj, string packageName)


Exec functions[edit]

AdminSay[edit]

exec function AdminSay (string Msg)


KillBots[edit]

exec function KillBots (int num)


Native functions[edit]

CreateDataObject[edit]

native final function Object CreateDataObject (Class objClass, string objName, string packageName)


DeleteDataObject[edit]

native final function bool DeleteDataObject (Class objClass, string objName, string packageName)


DeletePackage[edit]

native final function bool DeletePackage (string packageName)


GetNetworkNumber[edit]

native function string GetNetworkNumber ()


GetSavedGames[edit]

native final function Manifest GetSavedGames ()


LoadDataObject[edit]

native final function Object LoadDataObject (Class objClass, string objName, string packageName)


SavePackage[edit]

native final function bool SavePackage (string packageName)


Events[edit]

AcceptInventory[edit]

event AcceptInventory (Pawn PlayerPawn)


Broadcast[edit]

event Broadcast (Actor Sender, coerce string Msg, optional name Type)


BroadcastLocalized[edit]

event BroadcastLocalized (Actor Sender, class<LocalMessageMessage, optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject)


Destroyed[edit]

event Destroyed ()

Overrides: Actor.Destroyed


DetailChange[edit]

event DetailChange ()


GameEnding[edit]

event GameEnding ()


GetBeaconText[edit]

event string GetBeaconText ()


InitGame[edit]

event InitGame (string Options, out string Error)


Login[edit]

event PlayerController Login (string Portal, string Options, out string Error)


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


PostLogin[edit]

event PostLogin (PlayerController NewPlayer)


PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


PreLogin[edit]

event PreLogin (string Options, string Address, string PlayerID, out string Error, out string FailCode)


Timer[edit]

event Timer ()

Overrides: Actor.Timer


Other instance functions[edit]

See GameInfo instance functions.