I don't need to test my programs. I have an error-correcting modem.

UE2:GameInfo functions (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Info >> GameInfo (functions)

;Other member categories for this class::instance functions, properties

Functions

Static native functions

LoadMapList

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


ParseKillMessage

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


Static events

AcceptPlayInfoProperty

static event bool AcceptPlayInfoProperty (string PropName)

Overrides: Info.AcceptPlayInfoProperty


GetDescriptionText

static event string GetDescriptionText (string PropName)

Overrides: Info.GetDescriptionText


Other static functions

AddServerDetail

static function AddServerDetail (out ServerResponseLine ServerState, string RuleName, coerce string RuleValue)


AdjustBotInterface

static function AdjustBotInterface (bool bSinglePlayer)


AllowMutator

static function bool AllowMutator (string MutatorClassName)


FillPlayInfo

static function FillPlayInfo (PlayInfo PlayInfo)

Overrides: Info.FillPlayInfo


FindTeamDesignation

static function string FindTeamDesignation (GameReplicationInfo GRI, Actor A)


GetAllLoadHints

static function array<stringGetAllLoadHints (optional bool bThisClassOnly)


GetBindWeight

static function int GetBindWeight (byte KeyNumber)


GetDisplayText

static function string GetDisplayText (string PropName)


GetKeyBindName

static function string GetKeyBindName (string Cmd, PlayerController Ref)


GetKeyValue

static function GetKeyValue (string Pair, out string Key, out string Value)


GetLoadingHint

static function string GetLoadingHint (PlayerController Ref, string MapName, Object.Color HintColor)


GetNextLoadHint

static function string GetNextLoadHint (string MapName)


GetRandomTeamSymbol

static function Texture GetRandomTeamSymbol (int base)


GrabOption

static function bool GrabOption (out string Options, out string Result)


HasOption

static function bool HasOption (string Options, string InKey)


IsVehicleMutator

static function bool IsVehicleMutator (string MutatorClassName)


MakeColorCode

static function string MakeColorCode (Object.Color NewColor)


NoBlood

static function bool NoBlood ()


OrderToIndex

static function int OrderToIndex (int Order)


ParseChatPercVar

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


ParseLoadingHint

static function string ParseLoadingHint (string Hint, PlayerController Ref, Object.Color HintColor)


ParseMessageString

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


ParseOption

static function string ParseOption (string Options, string InKey)


PrecacheGameAnnouncements

static function PrecacheGameAnnouncements (AnnouncerVoice V, bool bRewardSounds)


PrecacheGameStaticMeshes

static function PrecacheGameStaticMeshes (LevelInfo myLevel)


PrecacheGameTextures

static function PrecacheGameTextures (LevelInfo myLevel)


UseLowGore

static function bool UseLowGore ()


Iterator functions

AllDataObjects

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


Exec functions

AdminSay

exec function AdminSay (string Msg)


KillBots

exec function KillBots (int num)


Native functions

CreateDataObject

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

Creates a data object. The result of this function is automatically typecasted to the specified class. There is no check whether the specified object already exists. If it does, its properties will be reset to the class default values.

Objects created with this function do not get their Created() event called, that only happens when creating objects with the new operator.

DeleteDataObject

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

Destroys the specified data object.

DeletePackage

native final function bool DeletePackage (string packageName)

Deletes a data package.

GetNetworkNumber

native function string GetNetworkNumber ()


GetSavedGames

native final function Manifest GetSavedGames ()

Returns an object with a list of data package names. Originally the data package/object feature was only used to store single player ladder progress, hence the function name.

LoadDataObject

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

Attempts to load an existing data object from an existing data package. The result of this function is automatically typecasted to the specified class.

LoadSRGrammar

native function LoadSRGrammar (string Grammar)


SavePackage

native final function bool SavePackage (string packageName)

Writes a data package to disk. Use this to make any changes via *DataObject() functions permanent.

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 ()


GameEnding

event GameEnding ()


GetBeaconText

event string GetBeaconText ()


InitGame

event InitGame (string Options, out string Error)


KickIdler

event KickIdler (PlayerController PC)


Login

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


NoTranslocatorKeyPressed

event NoTranslocatorKeyPressed (PlayerController PC)


PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


PostLogin

event PostLogin (PlayerController NewPlayer)


PreBeginPlay

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


PreLogin

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


SceneAbort

event SceneAbort ()


SceneEnded

event SceneEnded (SceneManager SM, Actor Other)


SceneStarted

event SceneStarted (SceneManager SM, Actor Other)


SetGrammar

event SetGrammar ()


Timer

event Timer ()

Overrides: Actor.Timer


Other instance functions

See GameInfo instance functions.