Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:GameInfo (U2XMP)

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

Properties

See GameInfo properties.

Functions

Static native functions

ParseKillMessage

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


Native functions

AddLocalGameEvent

native final function AddLocalGameEvent (name Event)


AddTravelGameEvent

native final function AddTravelGameEvent (name Event)


GameEventRegistered

native final function bool GameEventRegistered (name Event)


GetNetworkNumber

native function string GetNetworkNumber ()


RemoveGameEvent

native final function RemoveGameEvent (name Event)


Events

AcceptInventory

event AcceptInventory (Pawn PlayerPawn)


Broadcast

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


BroadcastLocalized

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


Destroyed

event Destroyed ()

Overrides: Actor.Destroyed


DetailChange

event DetailChange ()


DispatchMusicEvent

event DispatchMusicEvent (string Event)


GameEnding

event GameEnding ()


GetBeaconText

event string GetBeaconText ()


GetDialogDirectory

event string GetDialogDirectory ()


InitGame

event InitGame (string Options, out string Error)


Login

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


NextLevel

event NextLevel ()


NextScene

event NextScene ()


NotifyAudioSystemReset

event NotifyAudioSystemReset ()


NotifyGameSpeedChanged

event NotifyGameSpeedChanged (float OldSpeed, float NewSpeed)


NotifyHack

event NotifyHack ()


NotifyLevelChange

event NotifyLevelChange ()


NotifyLevelChangeEnd

event NotifyLevelChangeEnd ()


NotifyLevelRestart

event NotifyLevelRestart ()


PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


PostLogin

event PostLogin (PlayerController NewPlayer, bool bUseDefaultInventory)


PreBeginPlay

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


PreLogin

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


Timer

event Timer ()

Overrides: Actor.Timer


Other instance functions

See GameInfo instance functions.