Gah - a solution with more questions. – EntropicLqd
Difference between revisions of "UE2:GameInfo functions (UT2004)"
(Auto-generated page) |
m (→Native functions: descriptions for data object functions) |
||
Line 193: | Line 193: | ||
{{code|native final function {{cl|Object}} '''CreateDataObject''' ([[Types#Class|Class]] '''objClass''', [[string]] '''objName''', [[string]] '''packageName''')}} | {{code|native final function {{cl|Object}} '''CreateDataObject''' ([[Types#Class|Class]] '''objClass''', [[string]] '''objName''', [[string]] '''packageName''')}} | ||
− | + | Creates a [[data object]]. The result of this function is automatically [[typecast]]ed 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 {{tl|Created||Object}}() event called, that only happens when creating objects with the [[new]] operator. | ||
====DeleteDataObject==== | ====DeleteDataObject==== | ||
{{code|native final function [[bool]] '''DeleteDataObject''' ([[Types#Class|Class]] '''objClass''', [[string]] '''objName''', [[string]] '''packageName''')}} | {{code|native final function [[bool]] '''DeleteDataObject''' ([[Types#Class|Class]] '''objClass''', [[string]] '''objName''', [[string]] '''packageName''')}} | ||
− | + | Destroys the specified [[data object]]. | |
====DeletePackage==== | ====DeletePackage==== | ||
{{code|native final function [[bool]] '''DeletePackage''' ([[string]] '''packageName''')}} | {{code|native final function [[bool]] '''DeletePackage''' ([[string]] '''packageName''')}} | ||
− | + | Deletes a data package. | |
====GetNetworkNumber==== | ====GetNetworkNumber==== | ||
Line 213: | Line 215: | ||
{{code|native final function {{cl|Manifest}} '''GetSavedGames''' ()}} | {{code|native final function {{cl|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==== | ====LoadDataObject==== | ||
{{code|native final function {{cl|Object}} '''LoadDataObject''' ([[Types#Class|Class]] '''objClass''', [[string]] '''objName''', [[string]] '''packageName''')}} | {{code|native final function {{cl|Object}} '''LoadDataObject''' ([[Types#Class|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==== | ====LoadSRGrammar==== | ||
Line 228: | Line 230: | ||
{{code|native final function [[bool]] '''SavePackage''' ([[string]] '''packageName''')}} | {{code|native final function [[bool]] '''SavePackage''' ([[string]] '''packageName''')}} | ||
− | + | Writes a data package to disk. Use this to make any changes via *DataObject() functions permanent. | |
===Events=== | ===Events=== |
Latest revision as of 08:39, 18 September 2010
Contents
- 1 Functions
- 1.1 Static native functions
- 1.2 Static events
- 1.3 Other static functions
- 1.3.1 AddServerDetail
- 1.3.2 AdjustBotInterface
- 1.3.3 AllowMutator
- 1.3.4 FillPlayInfo
- 1.3.5 FindTeamDesignation
- 1.3.6 GetAllLoadHints
- 1.3.7 GetBindWeight
- 1.3.8 GetDisplayText
- 1.3.9 GetKeyBindName
- 1.3.10 GetKeyValue
- 1.3.11 GetLoadingHint
- 1.3.12 GetNextLoadHint
- 1.3.13 GetRandomTeamSymbol
- 1.3.14 GrabOption
- 1.3.15 HasOption
- 1.3.16 IsVehicleMutator
- 1.3.17 MakeColorCode
- 1.3.18 NoBlood
- 1.3.19 OrderToIndex
- 1.3.20 ParseChatPercVar
- 1.3.21 ParseLoadingHint
- 1.3.22 ParseMessageString
- 1.3.23 ParseOption
- 1.3.24 PrecacheGameAnnouncements
- 1.3.25 PrecacheGameStaticMeshes
- 1.3.26 PrecacheGameTextures
- 1.3.27 UseLowGore
- 1.4 Iterator functions
- 1.5 Exec functions
- 1.6 Native functions
- 1.7 Events
- 1.7.1 AcceptInventory
- 1.7.2 Broadcast
- 1.7.3 BroadcastLocalized
- 1.7.4 Destroyed
- 1.7.5 DetailChange
- 1.7.6 GameEnding
- 1.7.7 GetBeaconText
- 1.7.8 InitGame
- 1.7.9 KickIdler
- 1.7.10 Login
- 1.7.11 NoTranslocatorKeyPressed
- 1.7.12 PostBeginPlay
- 1.7.13 PostLogin
- 1.7.14 PreBeginPlay
- 1.7.15 PreLogin
- 1.7.16 SceneAbort
- 1.7.17 SceneEnded
- 1.7.18 SceneStarted
- 1.7.19 SetGrammar
- 1.7.20 Timer
- 1.8 Other instance functions
;Other member categories for this class::instance functions, properties
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Functions[edit]
Static native functions[edit]
LoadMapList[edit]
ParseKillMessage[edit]
Static events[edit]
AcceptPlayInfoProperty[edit]
Overrides: Info.AcceptPlayInfoProperty
GetDescriptionText[edit]
Overrides: Info.GetDescriptionText
Other static functions[edit]
AddServerDetail[edit]
AdjustBotInterface[edit]
AllowMutator[edit]
FillPlayInfo[edit]
Overrides: Info.FillPlayInfo
FindTeamDesignation[edit]
GetAllLoadHints[edit]
GetBindWeight[edit]
GetDisplayText[edit]
GetKeyBindName[edit]
GetKeyValue[edit]
GetLoadingHint[edit]
GetNextLoadHint[edit]
GetRandomTeamSymbol[edit]
GrabOption[edit]
HasOption[edit]
IsVehicleMutator[edit]
MakeColorCode[edit]
NoBlood[edit]
OrderToIndex[edit]
ParseChatPercVar[edit]
ParseLoadingHint[edit]
ParseMessageString[edit]
ParseOption[edit]
PrecacheGameAnnouncements[edit]
PrecacheGameStaticMeshes[edit]
PrecacheGameTextures[edit]
UseLowGore[edit]
Iterator functions[edit]
AllDataObjects[edit]
Exec functions[edit]
AdminSay[edit]
KillBots[edit]
Native functions[edit]
CreateDataObject[edit]
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[edit]
Destroys the specified data object.
DeletePackage[edit]
Deletes a data package.
GetNetworkNumber[edit]
GetSavedGames[edit]
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[edit]
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[edit]
SavePackage[edit]
Writes a data package to disk. Use this to make any changes via *DataObject() functions permanent.
Events[edit]
AcceptInventory[edit]
Broadcast[edit]
BroadcastLocalized[edit]
Destroyed[edit]
Overrides: Actor.Destroyed
DetailChange[edit]
GameEnding[edit]
GetBeaconText[edit]
InitGame[edit]
KickIdler[edit]
Login[edit]
NoTranslocatorKeyPressed[edit]
PostBeginPlay[edit]
Overrides: Actor.PostBeginPlay
PostLogin[edit]
PreBeginPlay[edit]
Overrides: Actor.PreBeginPlay
PreLogin[edit]
SceneAbort[edit]
SceneEnded[edit]
SceneStarted[edit]
SetGrammar[edit]
Timer[edit]
Overrides: Actor.Timer