PresetManager:ReadReflectedPreset

From Data Realms Wiki

Revision as of 00:44, 28 June 2012 by Beautifybot (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
SyntaxReadReflectedPreset( * 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!
ReturnsA pointer to the Entity preset read in. 0 if there was an error, or the instance name was 'None'. Ownership IS transferred!




Example
DescriptionPlaceholder!
Code
  1. for k,v in pairs(PagesWithoutExamples) do
  2.     v.MakeExample(NoErrors);
  3. end
OutputPlaceholder!
Personal tools