-
Notifications
You must be signed in to change notification settings - Fork 348
UPROPERTY
Nako Sung edited this page Nov 24, 2015
·
3 revisions
Javascript is not a strict-typed language, so type-info is passed using javascript comment block. property-name/*PropertyFlag+PropertyFlag+type*/
class MyTestActor extends Actor {
properties() {
this.replicated_int_var/*Replicated+int*/;
this.health/*EditAnywhere+ReplicatedUsing:OnRepHealth+int*/;
this.series/*EditAnywhere+int[]*/;
}
MyNiceSum(a/*int*/,b/*float*/,out/*Out+float*/) {
return a+b
}
}| PropertyFlag | Description |
|---|---|
| Const | |
| Return | |
| Out | |
| Replicated | |
| NotReplicated | |
| ReplicatedUsing | ReplicatedUsing:rep-notify-function-name |
| Transient | |
| DuplicateTransient | |
| EditFixedSize | |
| EditAnywhere | |
| EditDefaultsOnly | |
| Instanced | |
| SimpleDisplay | |
| AdvancedDisplay | |
| SaveGame | |
| AssetRegistrySearchable | |
| Interp | |
| NoClear | |
| VisibleAnywhere | |
| VisibleInstanceOnly | |
| VisibleDefaultsOnly | |
| Category | Category:your-category |
| DisplayName | DisplayName:your-nice-name |