UE3:UTUIDataProvider MapInfo (UDK): Difference between revisions

From Unreal Wiki, The Unreal Engine Documentation Site
No edit summary
 
No edit summary
Line 14: Line 14:


==Properties==
==Properties==
====bOfficialMap====
'''Type:''' [[bool]]
'''[[Variables#Modifiers|Modifiers]]:''' const, private
Indicates whether this data provider corresponds to an epic map.  Set natively when the data provider
is initialized.
====Description====
====Description====
'''Type:''' [[string]]
'''Type:''' [[string]]
Line 73: Line 65:
|}
|}


==Functions==
==Events==
===Native functions===
====IsOfficialMap====
{{code|native final function [[bool]] '''IsOfficialMap''' () const}}
 
<!-- enter function description -->
 
===Events===
====SupportedByCurrentGameMode====
====SupportedByCurrentGameMode====
{{code|event [[bool]]&nbsp;'''SupportedByCurrentGameMode''' ()}}
{{code|event [[bool]]&nbsp;'''SupportedByCurrentGameMode''' ()}}

Revision as of 05:24, 17 January 2010

Package:
UTGame
Implemented interfaces:
UIListElementCellProvider, UIListElementProvider
This class in other games:

Provides data for a UT3 map.

Properties

Description

Type: string

Modifiers: config, localized

Localized description of the map

FriendlyName

Type: string

Modifiers: config, localized

Friendly displayable name to the player.

MapId

Type: int

Modifiers: config

Unique ID for maps.

MapName

Type: string

Modifiers: config

Actual map name to load

NumPlayers

Type: string

Modifiers: config, localized

String describing how many players the map is good for.

PreviewImageMarkup

Type: string

Modifiers: config

Markup text used to display the preview image for the map.

Default values

Property Value
bSearchAllInis True

Events

SupportedByCurrentGameMode

event bool SupportedByCurrentGameMode ()

Returns:

Returns whether or not this provider is supported by the current game mode