2018-12-29 16:05:19 -08:00
|
|
|
# Class Handling
|
|
|
|
|
|
|
|
TODO
|
|
|
|
|
|
|
|
```
|
|
|
|
Type GetDefaultByType(class<Actor> type);
|
|
|
|
Type New(class typename = ThisClass);
|
|
|
|
```
|
|
|
|
|
2019-08-14 03:31:41 -07:00
|
|
|
### `GetDefaultByType`
|
2018-12-29 16:05:19 -08:00
|
|
|
|
2019-08-14 03:31:41 -07:00
|
|
|
Returns an object containing the default values for each member of the `Actor`
|
|
|
|
type provided as they would be set in `BeginPlay`. **Note that the return value
|
|
|
|
cannot be serialized and if stored must be marked as `transient`.** The
|
|
|
|
returned object is a pseudo-object which is stored only in-memory.
|
2018-12-29 16:05:19 -08:00
|
|
|
|
2019-08-14 03:31:41 -07:00
|
|
|
### `New`
|
2018-12-29 16:05:19 -08:00
|
|
|
|
2019-08-14 03:31:41 -07:00
|
|
|
Typically spelled lowercase (`new`), creates an object with type `typename`.
|
|
|
|
Defaults to using the class of the calling object.
|
2018-12-29 16:05:19 -08:00
|
|
|
|
|
|
|
<!-- EOF -->
|