PresetManager:ReadReflectedPreset
From Data Realms Wiki
(Difference between revisions)
Latest revision as of 00:44, 28 June 2012
Function | |
---|---|
Syntax | ReadReflectedPreset( * The Reader which is about to read in a preset. ) |
Description: | |
Reads a preset of an Entity and tries to add it to the list of read-in instances. Regardless of whether there is a name collision, the read-in preset will be returned, ownership TRANSFERRED! | |
Returns | A pointer to the Entity preset read in. 0 if there was an error, or the instance name was 'None'. Ownership IS transferred! |
Example | |
---|---|
Description | Placeholder! |
Code |
|
Output | Placeholder! |