There is no spoon
Difference between revisions of "UnrealScript syntax"
From Unreal Wiki, The Unreal Engine Documentation Site
m (→Keywords: Corrected more links) |
m (→Keywords: Added AutoCollapseCategories and DontAutoCollapseCategories) |
||
Line 3: | Line 3: | ||
{| align="center" cellspacing="0" cellpadding="3" border="1" style="background-color:#FAFAFA;" | | {| align="center" cellspacing="0" cellpadding="3" border="1" style="background-color:#FAFAFA;" | | ||
− | |+ | ''' | + | |+ | '''173 UnrealScript keywords''' |
|- | |- | ||
|[[Abstract]] | |[[Abstract]] | ||
Line 16: | Line 16: | ||
|[[AtomicWhenCooked]] | |[[AtomicWhenCooked]] | ||
|[[Auto]] | |[[Auto]] | ||
+ | |[[AutoCollapseCategories]] | ||
|[[AutoExpandCategories]] | |[[AutoExpandCategories]] | ||
|[[Automated]] | |[[Automated]] | ||
Line 22: | Line 23: | ||
|[[Bool]] | |[[Bool]] | ||
|[[Break]] | |[[Break]] | ||
− | |||
|- | |- | ||
+ | |[[Byte]] | ||
|[[Case]] | |[[Case]] | ||
|[[CacheExempt]] | |[[CacheExempt]] | ||
Line 31: | Line 32: | ||
|[[Cpptext|CppStruct]] | |[[Cpptext|CppStruct]] | ||
|[[Cpptext|CppText]] | |[[Cpptext|CppText]] | ||
− | |||
|- | |- | ||
+ | |[[Coerce]] | ||
|[[CollapseCategories]] | |[[CollapseCategories]] | ||
|[[Config]] | |[[Config]] | ||
Line 41: | Line 42: | ||
|[[DataBinding]] | |[[DataBinding]] | ||
|[[Default]] | |[[Default]] | ||
− | |||
|- | |- | ||
+ | |[[Defaultproperties|DefaultProperties]] | ||
|[[Delegate]] | |[[Delegate]] | ||
|[[DemoRecording]] | |[[DemoRecording]] | ||
Line 48: | Line 49: | ||
|[[Deprecated]] | |[[Deprecated]] | ||
|[[Do]] | |[[Do]] | ||
+ | |[[DontAutoCollapseCategories]] | ||
|[[DontCollapseCategories]] | |[[DontCollapseCategories]] | ||
+ | |- | ||
|[[DLLBind]] | |[[DLLBind]] | ||
|[[DLLImport]] | |[[DLLImport]] | ||
− | |||
|[[DuplicateTransient]] | |[[DuplicateTransient]] | ||
Line 59: | Line 61: | ||
|[[EditFixedSize]] | |[[EditFixedSize]] | ||
|[[EditHide]] | |[[EditHide]] | ||
+ | |- | ||
|[[EditorOnly]] | |[[EditorOnly]] | ||
|[[EditInline]] | |[[EditInline]] | ||
− | |||
|[[EditInlineNew]] | |[[EditInlineNew]] | ||
|[[EditInlineNotify]] | |[[EditInlineNotify]] | ||
Line 68: | Line 70: | ||
|[[Else]] | |[[Else]] | ||
|[[Empty]] | |[[Empty]] | ||
+ | |- | ||
|[[End]] | |[[End]] | ||
|[[Enum]] | |[[Enum]] | ||
− | |||
|[[EnumCount]] | |[[EnumCount]] | ||
|[[Event]] | |[[Event]] | ||
Line 77: | Line 79: | ||
|[[Export]] | |[[Export]] | ||
|[[ExportStructs]] | |[[ExportStructs]] | ||
+ | |- | ||
|[[Extends]] | |[[Extends]] | ||
|[[False]] | |[[False]] | ||
− | |||
|[[Final]] | |[[Final]] | ||
|[[Find]] | |[[Find]] | ||
Line 87: | Line 89: | ||
|[[ForEach]] | |[[ForEach]] | ||
|[[Function]] | |[[Function]] | ||
− | + | |- | |
|[[Global]] | |[[Global]] | ||
|[[GlobalConfig]] | |[[GlobalConfig]] | ||
− | |||
|[[GoTo]] | |[[GoTo]] | ||
|[[Guid]] | |[[Guid]] | ||
Line 99: | Line 100: | ||
|[[If]] | |[[If]] | ||
|[[Ignores]] | |[[Ignores]] | ||
+ | |- | ||
|[[Immutable]] | |[[Immutable]] | ||
|[[ImmutableWhenCooked]] | |[[ImmutableWhenCooked]] | ||
− | |||
|[[Implements]] | |[[Implements]] | ||
|[[Import]] | |[[Import]] | ||
Line 108: | Line 109: | ||
|[[Input]] | |[[Input]] | ||
|[[Insert]] | |[[Insert]] | ||
+ | |- | ||
|[[InsertItem]] | |[[InsertItem]] | ||
|[[Instanced]] | |[[Instanced]] | ||
− | |||
|[[Int]] | |[[Int]] | ||
|[[Interface]] | |[[Interface]] | ||
Line 117: | Line 118: | ||
|[[Invariant]] | |[[Invariant]] | ||
|[[Iterator]] | |[[Iterator]] | ||
− | + | |- | |
|[[Latent]] | |[[Latent]] | ||
|[[Length]] | |[[Length]] | ||
− | |||
|[[Local]] | |[[Local]] | ||
|[[Localized]] | |[[Localized]] | ||
Line 129: | Line 129: | ||
|[[Name]] | |[[Name]] | ||
|[[Native]] | |[[Native]] | ||
+ | |- | ||
|[[NativeReplication]] | |[[NativeReplication]] | ||
|[[New]] | |[[New]] | ||
− | |||
|[[NoExport]] | |[[NoExport]] | ||
|[[NoExportHeader]] | |[[NoExportHeader]] | ||
Line 138: | Line 138: | ||
|[[None]] | |[[None]] | ||
|[[NonTransactional]] | |[[NonTransactional]] | ||
+ | |- | ||
|[[NotEditInlineNew]] | |[[NotEditInlineNew]] | ||
|[[NotForConsole]] | |[[NotForConsole]] | ||
− | |||
|[[NotInstanced]] | |[[NotInstanced]] | ||
|[[NotPlaceable]] | |[[NotPlaceable]] | ||
Line 148: | Line 148: | ||
|[[Operator]] | |[[Operator]] | ||
|[[Optional]] | |[[Optional]] | ||
+ | |- | ||
|[[Out]] | |[[Out]] | ||
|[[ParseConfig]] | |[[ParseConfig]] | ||
− | |||
|[[PerObjectConfig]] | |[[PerObjectConfig]] | ||
|[[PerObjectLocalized]] | |[[PerObjectLocalized]] | ||
Line 158: | Line 158: | ||
|[[PrivateWrite]] | |[[PrivateWrite]] | ||
|[[PreOperator]] | |[[PreOperator]] | ||
+ | |- | ||
|[[Protected]] | |[[Protected]] | ||
|[[ProtectedWrite]] | |[[ProtectedWrite]] | ||
− | |||
|[[Pointer]] | |[[Pointer]] | ||
|[[PostOperator]] | |[[PostOperator]] | ||
Line 168: | Line 168: | ||
|[[Remove]] | |[[Remove]] | ||
|[[RemoveIndex]] | |[[RemoveIndex]] | ||
+ | |- | ||
|[[RemoveItem]] | |[[RemoveItem]] | ||
|[[Replace]] | |[[Replace]] | ||
− | |||
|[[Replication]] | |[[Replication]] | ||
|[[RepNotify]] | |[[RepNotify]] | ||
Line 178: | Line 178: | ||
|[[ShowCategories]] | |[[ShowCategories]] | ||
+ | |- | ||
|[[Cpptext|StructCppText]] | |[[Cpptext|StructCppText]] | ||
|[[Structdefaultproperties|StructDefaultProperties]] | |[[Structdefaultproperties|StructDefaultProperties]] | ||
− | |||
|[[Structdefaultproperties|StructDefaults]] | |[[Structdefaultproperties|StructDefaults]] | ||
|[[SafeReplace]] | |[[SafeReplace]] | ||
Line 187: | Line 187: | ||
|[[SerializeText]] | |[[SerializeText]] | ||
|[[Simulated]] | |[[Simulated]] | ||
+ | |- | ||
|[[Singular]] | |[[Singular]] | ||
|[[Skip]] | |[[Skip]] | ||
− | |||
|[[Sort]] | |[[Sort]] | ||
|[[State]] | |[[State]] | ||
Line 196: | Line 196: | ||
|[[String]] | |[[String]] | ||
|[[Struct]] | |[[Struct]] | ||
+ | |- | ||
|[[Super]] | |[[Super]] | ||
|[[Switch]] | |[[Switch]] | ||
− | + | ||
|[[Transient]] | |[[Transient]] | ||
|[[Travel]] | |[[Travel]] | ||
Line 206: | Line 207: | ||
|[[Until]] | |[[Until]] | ||
|[[Using]] | |[[Using]] | ||
− | + | |- | |
|[[Var]] | |[[Var]] | ||
|[[Vect]] | |[[Vect]] | ||
− | |||
|[[Virtual]] | |[[Virtual]] | ||
Line 215: | Line 215: | ||
|[[Within]] | |[[Within]] | ||
− | |||
− | |||
| | | | ||
| | | |
Revision as of 11:36, 24 May 2010
Keywords
This section lists all known UnrealScript keywords this includes hardcoded funtionality of arrays like Insert etc, as well deprecated, postponed and canceled keywords.
Style
These sections explain styles you should use. The style is based upon Epic's style used in UnrealScript.
Please help improve this article or section by expanding it. Further information might be found on the talk page. |
Names
All variable/function names should be UpperCamelCased, e.g. var Object OwnerObject
.
Bool
Bool's should start with a lowercase b, e.g. bool bUnrealScriptStyle
.
Enum
Enum's should start with uppercase E, e.g. enum EUnrealScriptStyle
. Members should all start with all uppercase characters of the enum's name followed by a _, e.g.
enum EUnrealScriptStyle { USS_Personal, USS_EpicGames };
Interface
Interface's should start with a uppercase I, e.g. interface IUnrealScriptStyle
.
Declarations | Preprocessor • Classes • Interfaces • Cpptext • Constants • Enums • Structs • Variables (Metadata) • Replication block • Operators • Delegates • Functions • States • Defaultproperties (Subobjects) |
---|---|
Types | bool • byte • float • int • name • string • Object • Class • Enums • Structs (Vector ⋅ Rotator ⋅ Quat ⋅ Color) • Static arrays • Dynamic arrays • Delegates • Typecasting |
Literals | Boolean • Float • Integer • Names • Objects (None ⋅ Self) • Vectors • Rotators • Strings |
Flow | GoTo • If • Assert • Return • Stop • Switch • While • Do...Until • For • ForEach • Break • Continue |
Specifiers | Super • Global • Static • Default • Const |
UnrealScript | Syntax • .UC • .UCI • .UPKG • Comments • #directives • Native |