enmlEntity /Utilities

Describes an enml-entity object.

Check the enmlFile class reference for more information.

Sample:

enmlFile f;

enmlEntity entity;
entity.add("class", "rogue");
entity.add("level", "85");
entity.add("name", "Nathan");
f.addEntity("partyMember0", entity);

entity.clear();
entity.add("class", "paladin");
entity.add("level", "71");
entity.add("name", "John");
f.addEntity("partyMember1", entity);

string str = f.generateString();
SaveStringToFile("myFile.txt", str);

The example above will output:

[myFile.txt]
partyMember0 { class = rogue; level = 85; name = Nathan; } partyMember1 { class = paladin; level = 71; name = John; }