Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE2:GameInfo (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site

(Redirected from UE2:KeyValuePair (UT2003))
Jump to: navigation, search
UT2003 Object >> Actor >> Info >> GameInfo

Contents

Package: 
Engine
Direct subclasses:
CinematicGame, UnrealMPGameInfo
This class in other games:
RTNP, U1, U2, U2XMP, UDK, UE2Runtime, UT, UT2004, UT3

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.

[edit] Properties

See GameInfo properties.

[edit] Structs

[edit] KeyValuePair

Modifiers: native, export

string Key 
string Value 

[edit] PlayerResponseLine

Modifiers: native, export

int PlayerNum 
string PlayerName 
int Ping 
int Score 
int StatsID 

[edit] 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 

[edit] VoiceChatterInfo

Controller Controller 
int IpAddr 
int Handle 

[edit] Functions

[edit] Static native functions

[edit] LoadMapList

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


[edit] ParseKillMessage

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


[edit] Other static functions

[edit] FillPlayInfo

static function FillPlayInfo (PlayInfo PlayInfo)

Overrides: Info.FillPlayInfo


[edit] FindTeamDesignation

static function string FindTeamDesignation (GameReplicationInfo GRI, Actor A)


[edit] ParseChatPercVar

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


[edit] ParseMessageString

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


[edit] PrecacheGameStaticMeshes

static function PrecacheGameStaticMeshes (LevelInfo myLevel)


[edit] PrecacheGameTextures

static function PrecacheGameTextures (LevelInfo myLevel)


[edit] UseLowGore

static function bool UseLowGore ()


[edit] Iterator functions

[edit] AllDataObjects

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


[edit] Exec functions

[edit] AdminSay

exec function AdminSay (string Msg)


[edit] KillBots

exec function KillBots (int num)


[edit] Native functions

[edit] CreateDataObject

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


[edit] DeleteDataObject

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


[edit] DeletePackage

native final function bool DeletePackage (string packageName)


[edit] GetNetworkNumber

native function string GetNetworkNumber ()


[edit] GetSavedGames

native final function Manifest GetSavedGames ()


[edit] LoadDataObject

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


[edit] SavePackage

native final function bool SavePackage (string packageName)


[edit] Events

[edit] AcceptInventory

event AcceptInventory (Pawn PlayerPawn)


[edit] Broadcast

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


[edit] BroadcastLocalized

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


[edit] Destroyed

event Destroyed ()

Overrides: Actor.Destroyed


[edit] DetailChange

event DetailChange ()


[edit] GameEnding

event GameEnding ()


[edit] GetBeaconText

event string GetBeaconText ()


[edit] InitGame

event InitGame (string Options, out string Error)


[edit] Login

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


[edit] PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


[edit] PostLogin

event PostLogin (PlayerController NewPlayer)


[edit] PreBeginPlay

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


[edit] PreLogin

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


[edit] Timer

event Timer ()

Overrides: Actor.Timer


[edit] Other instance functions

See GameInfo instance functions.