Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UTGame.UTMapListManager

Extends
Info
Modifiers
config ( MapLists )

Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Info
      |   
      +-- UTGame.UTMapListManager

Constants Summary
Inherited Contants from Engine.Actor
ACTORMAXSTEPHEIGHT, MINFLOORZ, RBSTATE_ANGVELSCALE, RBSTATE_LINVELSCALE, RB_NeedsUpdate, RB_None, RB_Sleeping, REP_RBLOCATION_ERROR_TOLERANCE_SQ, TRACEFLAG_Blocking, TRACEFLAG_Bullet, TRACEFLAG_PhysicsVolumes, TRACEFLAG_SkipMovers

Variables Summary
intActiveGameProfile
stringActiveGameProfileName
UTMapListActiveMapList
array<string>AddedMutators
stringAutoEmptyOptions
stringAutoStripOptions
array<GameProfile>AvailableGameProfiles
boolbGotMapListSections
boolbOverrideNextMap
boolbPendingMapChange
array<GameProfile>GameProfiles
array<UTMapList>LoadedMapLists
intMapReplayLimit
intPlayIndex
intStartupGameProfile
array<string>UnloadedMapLists
Inherited Variables from Engine.Actor
Acceleration, AllComponents, Attached, bAlwaysEncroachCheck, bAlwaysRelevant, bAlwaysTick, Base, BaseBoneName, BaseSkelComponent, bBlockActors, bBlocksNavigation, bBlocksTeleport, bBounce, bCanBeAdheredTo, bCanBeDamaged, bCanBeFrictionedTo, bCanTeleport, bClientDemoRecording, bCollideActors, bCollideComplex, bCollideWhenPlacing, bCollideWorld, bComponentOutsideWorld, bConsiderAllStaticMeshComponentsForStreaming, bDebug, bDeleteMe, bDemoOwner, bDemoRecording, bDestroyedByInterpActor, bDestroyInPainVolume, bEdShouldSnap, bExchangedRoles, bForceNetUpdate, bGameRelevant, bHardAttach, bHasAlternateTargetLocation, bHidden, bHiddenEd, bHiddenEdCustom, bHiddenEdGroup, bHurtEntry, bIgnoreBaseRotation, bIgnoreEncroachers, bIgnoreRigidBodyPawns, bIsMoving, bJustTeleported, bKillDuringLevelTransition, bLockLocation, BlockRigidBody, bMovable, bNetDirty, bNetInitial, bNetInitialRotation, bNetOwner, bNetTemporary, bNeverReplicateRotation, bNoDelete, bNoEncroachCheck, bOnlyDirtyReplication, bOnlyOwnerSee, bOnlyRelevantToOwner, bOrientOnSlope, bPathColliding, bPathTemp, bPendingDelete, bPendingNetUpdate, bPhysRigidBodyOutOfWorldCheck, bPostRenderIfNotVisible, bProjTarget, bPushedByEncroachers, bRepClientDemo, bReplicateInstigator, bReplicateMovement, bReplicateRigidBodyLocation, bRouteBeginPlayEvenIfStatic, bScriptInitialized, bShadowParented, bShouldBaseAtStartup, bSkipActorPropertyReplication, bStasis, bStatic, bTearOff, bTempEditor, bTicked, bUpdateSimulatedPosition, bWorldGeometry, Children, CollisionComponent, CollisionType, Components, CreationTime, CustomTimeDilation, DesiredRotation, DetachFence, DrawScale, DrawScale3D, GeneratedEvents, Group, InitialState, Instigator, LastNetUpdateTime, LastRenderTime, LatentActions, LatentFloat, LatentSeqNode, LifeSpan, Location, MessageClass, MinDistForNetRBCorrection, NetPriority, NetTag, NetUpdateFrequency, NetUpdateTime, OverlapTag, Owner, PendingTouch, Physics, PhysicsVolume, PrePivot, RelativeLocation, RelativeRotation, RemoteRole, Role, Rotation, RotationRate, SupportedEvents, Tag, TickGroup, Timers, Touching, Velocity, WorldInfo

Enumerations Summary
Inherited Enumerations from Engine.Actor
ECollisionType, EDoubleClickDir, EMoveDir, ENetRole, EPhysics, ETravelType

Structures Summary
GameProfile
GameClass, GameName, MapListName, Options, Mutators, ExcludedMuts, bIsTeamGame
Inherited Structures from Engine.Info
KeyValuePair, PlayerResponseLine, ServerResponseLine
Inherited Structures from Engine.Actor
AnimSlotDesc, AnimSlotInfo, AsyncLineCheckResult, CollisionImpactData, ImpactInfo, NavReference, ReplicatedHitImpulse, RigidBodyContactInfo, RigidBodyState, TimerData, TraceHitInfo

Functions Summary
functionstring AddDefaultOptions (string CurOptions))
functionbool bMapEnabled (UTMapList MapList, int MapIdx, optional bool bStrict=True))
functionbool ContainsOptions (string A, string B))
functionGameProfile CreateNewGameProfile (string InGameClass, optional string InGameName, optional name InMapListName, optional string InOptions, optional string InMutators))
functionint FindGameProfileIndex (string GameClass))
functionint GetCurrentGameProfileIndex ()))
functionUTMapList GetCurrentMapList (optional bool bForceUpdate))
functionstring GetDefaultMutators (int Idx))
functionarray<string> GetDisabledDefaultMutators (const out array<string> OldDefaults, const out array<string> NewDefaults))
functionint GetMapLastPlayDiff (UTMapList MapList, int MapIdx))
functionUTMapList GetMapListByName (name MapListName, optional bool bCreate))
functionstring GetNextMap (optional UTMapList InMapList=ActiveMapList))
function Initialize ()))
function ModifyMutatorOptions (out string CurOptions, optional out const array<string> AddMuts, optional out const array<string> RemoveMuts))
function ModifyOptions (out string CurOptions))
function NotifyMapChange (string NextMap))
function NotifyTravelFailed (string TravelURL, string Error, optional string ErrorCode))
function PopulateMapListByPrefix (UTMapList MapList, array<string> Prefixes, optional bool bAppend))
function SetCurrentGameProfileIndex (int Idx))
functionint StaticFindGameProfileIndex (string GameClass))
functionint StaticGetCurrentGameProfileIndex ()))
functionUTMapList StaticGetMapListByName (name MapListName, optional bool bCreate))
functionstring StripOption (string Options, string InKey, optional bool bAddEmptyValue))
function UpdateMapHistory (UTMapList MapList, int MapIdx))
Inherited Functions from Engine.Actor
ActivateEventClass, AllActors, AllOwnedComponents, Attach, AttachComponent, AutonomousPhysics, BaseChange, BasedActors, BecomeViewTarget, BeginAnimControl, BroadcastLocalizedMessage, BroadcastLocalizedTeamMessage, Bump, CalcCamera, CanSplash, ChartData, CheckForErrors, CheckHitInfo, CheckMaxEffectDistance, ChildActors, ClampRotation, ClearLatentAction, ClearTimer, Clock, CollidingActors, CollisionChanged, ComponentList, ConsoleCommand, ConstraintBrokenNotify, ContainsPoint, CreateAudioComponent, DebugFreezeGame, Destroy, Destroyed, Detach, DetachComponent, DisplayDebug, DoKismetAttachment, DrawDebugBox, DrawDebugCone, DrawDebugCoordinateSystem, DrawDebugCylinder, DrawDebugLine, DrawDebugSphere, DynamicActors, EffectIsRelevant, EncroachedBy, EncroachingOn, EndViewTarget, Falling, FastTrace, FellOutOfWorld, FindActorsOfClass, FindBase, FindEventsOfClass, FindGoodEndView, FindSpot, FinishAnim, FinishAnimControl, FlushPersistentDebugLines, ForceNetRelevant, ForceUpdateComponents, GainedChild, GetActorEyesViewPoint, GetActorFaceFXAsset, GetBaseMost, GetBoundingCylinder, GetComponentsBoundingBox, GetDebugName, GetDestination, GetFaceFXAudioComponent, GetGravityZ, GetHumanReadableName, GetItemName, GetLocalString, GetLocationStringFor, GetPackageGuid, GetPhysicsName, GetTargetLocation, GetTeamNum, GetTerminalVelocity, GetTimerCount, GetTimerRate, GetURLMap, GetUTFlag, HealDamage, HitWall, HurtRadius, InterpolationChanged, InterpolationFinished, InterpolationStarted, IsActorPlayingFaceFXAnim, IsBasedOn, IsInPain, IsInVolume, IsOverlapping, IsOwnedBy, IsPlayerOwned, IsStationary, IsTimerActive, KilledBy, Landed, LocalPlayerControllers, LostChild, MakeNoise, MatchStarting, ModifyHearSoundComponent, Move, MoveSmooth, MovingWhichWay, NativePostRenderFor, NotifyLocalPlayerTeamReceived, NotifySkelControlBeyondLimit, OnAnimEnd, OnAnimPlay, OnAttachToActor, OnCauseDamage, OnChangeCollision, OnDestroy, OnHealDamage, OnMakeNoise, OnRanOver, OnSetBlockRigidBody, OnSetPhysics, OnTeleport, OnToggleHidden, OutsideWorldBounds, OverlappingActors, OverRotated, PawnBaseDied, PhysicsVolumeChange, PickedUpBy, PlayActorFaceFXAnim, PlayerCanSeeMe, PlaySound, PlayTeleportEffect, PointCheckComponent, PostBeginPlay, PostInitAnimTree, PostRenderFor, PostTeleport, PostTouch, PreBeginPlay, PreTeleport, RanInto, ReplaceText, ReplicatedEvent, Reset, RigidBodyCollision, RootMotionExtracted, RootMotionModeChanged, ScriptGetTeamNum, SetAnimPosition, SetAnimWeights, SetBase, SetCollision, SetCollisionSize, SetDrawScale, SetDrawScale3D, SetForcedInitialReplicatedProperty, SetGRI, SetHardAttach, SetHidden, SetHUDLocation, SetInitialState, SetLocation, SetMorphWeight, SetNetUpdateTime, SetOnlyOwnerSee, SetOwner, SetPhysics, SetRelativeLocation, SetRelativeRotation, SetRotation, SetSkelControlScale, SetTickGroup, SetTimer, SetZone, ShutDown, Sleep, Spawn, SpawnedByKismet, SpecialHandling, StopActorFaceFXAnim, StopsProjectile, SuggestTossVelocity, TakeDamage, TakeRadiusDamage, Tick, Timer, TimeSince, TornOff, Touch, TouchingActors, Trace, TraceActors, TraceComponent, TriggerEventClass, UnClock, UnTouch, UsedBy, VisibleActors, VisibleCollidingActors


Variables Detail

ActiveGameProfile Source code

var int ActiveGameProfile;
The currently active game profile; used to determine the current map cycle

ActiveGameProfileName Source code

var globalconfig string ActiveGameProfileName;
The currently active game profile; used to help determine the current map cycle

ActiveMapList Source code

var UTMapList ActiveMapList;
The currently active maplist for this gametype

AddedMutators Source code

var array<string> AddedMutators;
Mutators added to the URL in 'AddDefaultOptions'; used by 'ModifyOptions' when switching between game profiles

AutoEmptyOptions Source code

var globalconfig string AutoEmptyOptions;
The same as 'AutoStripOptions', except these options are given an empty value on the URL

AutoStripOptions Source code

var globalconfig string AutoStripOptions;
A list of URL options which are automatically removed from the URL upon map change

AvailableGameProfiles Source code

var array<GameProfile> AvailableGameProfiles;
Runtime copy of the 'GameProfiles' list, so that editing through webadmin doesn't break the code

bGotMapListSections Source code

var bool bGotMapListSections;
If true, 'UnLoadedMapLists' has been filled from UTMapLists.ini

bOverrideNextMap Source code

var bool bOverrideNextMap;
Forces the current GameInfo to use the map supplies by this object, instead of e.g. that supplied by the vote collector

bPendingMapChange Source code

var bool bPendingMapChange;
Used to help detect bad maps

GameProfiles Source code

var globalconfig array<GameProfile> GameProfiles;
The list of available game profiles

LoadedMapLists Source code

var array<UTMapList> LoadedMapLists;
Cache of loaded maplists

MapReplayLimit Source code

var globalconfig int MapReplayLimit;
After a map has been played, this many matches must pass before the map can be played again

PlayIndex Source code

var globalconfig int PlayIndex;
The index of the current game session, incremented upon map switch (used to keep track of when maps have been played)

StartupGameProfile Source code

var int StartupGameProfile;
The game profile that was active when the maplist manager was initialized

UnloadedMapLists Source code

var array<string> UnloadedMapLists;
List of maplist names from UTMapLists.ini which have not been loaded into 'MapListCache'


Structures Detail

GameProfile Source code

struct GameProfile
{
var bool bIsTeamGame;
var string ExcludedMuts;
var string GameClass;
var string GameName;
var name MapListName;
var string Mutators;
var string Options;
};
A struct for describing a gametype and it's corresponding settings


Functions Detail

AddDefaultOptions Source code

function string AddDefaultOptions ( string CurOptions) )

bMapEnabled Source code

function bool bMapEnabled ( UTMapList MapList, int MapIdx, optional bool bStrict=True) )

ContainsOptions Source code

static final function bool ContainsOptions ( string A, string B) )

CreateNewGameProfile Source code

static final function GameProfile CreateNewGameProfile ( string InGameClass, optional string InGameName, optional name InMapListName, optional string InOptions, optional string InMutators) )

FindGameProfileIndex Source code

function int FindGameProfileIndex ( string GameClass) )

GetCurrentGameProfileIndex Source code

function int GetCurrentGameProfileIndex ( ) )

GetCurrentMapList Source code

function UTMapList GetCurrentMapList ( optional bool bForceUpdate) )

GetDefaultMutators Source code

final function string GetDefaultMutators ( int Idx) )

GetDisabledDefaultMutators Source code

final function array<string> GetDisabledDefaultMutators ( const out array<string> OldDefaults, const out array<string> NewDefaults) )

GetMapLastPlayDiff Source code

function int GetMapLastPlayDiff ( UTMapList MapList, int MapIdx) )

GetMapListByName Source code

function UTMapList GetMapListByName ( name MapListName, optional bool bCreate) )

GetNextMap Source code

function string GetNextMap ( optional UTMapList InMapList=ActiveMapList) )

Initialize Source code

function Initialize ( ) )

ModifyMutatorOptions Source code

static final function ModifyMutatorOptions ( out string CurOptions, optional out const array<string> AddMuts, optional out const array<string> RemoveMuts) )

ModifyOptions Source code

function ModifyOptions ( out string CurOptions) )

NotifyMapChange Source code

function NotifyMapChange ( string NextMap) )

NotifyTravelFailed Source code

function NotifyTravelFailed ( string TravelURL, string Error, optional string ErrorCode) )

PopulateMapListByPrefix Source code

static final function PopulateMapListByPrefix ( UTMapList MapList, array<string> Prefixes, optional bool bAppend) )

SetCurrentGameProfileIndex Source code

function SetCurrentGameProfileIndex ( int Idx) )

StaticFindGameProfileIndex Source code

static final function int StaticFindGameProfileIndex ( string GameClass) )

StaticGetCurrentGameProfileIndex Source code

static final function int StaticGetCurrentGameProfileIndex ( ) )

StaticGetMapListByName Source code

static final function UTMapList StaticGetMapListByName ( name MapListName, optional bool bCreate) )

StripOption Source code

static final function string StripOption ( string Options, string InKey, optional bool bAddEmptyValue) )

UpdateMapHistory Source code

function UpdateMapHistory ( UTMapList MapList, int MapIdx) )


Defaultproperties

defaultproperties
{
   GameProfiles(0)=(GameClass="UTGame.UTDeathmatch",GameName="DeathMatch",MapListName="DMMapList")
   GameProfiles(1)=(GameClass="UTGame.UTTeamGame",GameName="Team DeathMatch",MapListName="TDMMapList",bIsTeamGame=True)
   GameProfiles(2)=(GameClass="UTGameContent.UTCTFGame_Content",GameName="Capture The Flag",MapListName="CTFMapList",bIsTeamGame=True)
   GameProfiles(3)=(GameClass="UTGameContent.UTVehicleCTFGame_Content",GameName="Vehicle Capture The Flag",MapListName="VCTFMapList",bIsTeamGame=True)
   GameProfiles(4)=(GameClass="UTGameContent.UTOnslaughtGame_Content",GameName="Warfare",MapListName="WARMapList",bIsTeamGame=True)
   GameProfiles(5)=(GameClass="UTGame.UTDuelGame",GameName="Duel",MapListName="DuelMapList")
   GameProfiles(6)=(GameClass="UTGame.UTBetrayalGame",GameName="Betrayal",MapListName="BetrayalMapList")
   GameProfiles(7)=(GameClass="UT3GoldGame.UTGreedGame_Content",GameName="Greed",MapListName="GreedMapList",bIsTeamGame=True)
   ActiveGameProfileName="Warfare"
   AutoStripOptions="LinkSetup"
   AutoEmptyOptions="GoalScore"
   ActiveGameProfile=-1
   StartupGameProfile=-1
   Begin Object Class=SpriteComponent Name=Sprite ObjName=Sprite Archetype=SpriteComponent'Engine.Default__Info:Sprite'
      ObjectArchetype=SpriteComponent'Engine.Default__Info:Sprite'
   End Object
   Components(0)=Sprite
   CollisionType=COLLIDE_CustomDefault
   Name="Default__UTMapListManager"
   ObjectArchetype=Info'Engine.Default__Info'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:53.557 - Created with UnCodeX