|
delegate T | AcquireItem (string id) |
| Defines how to acquire the item based on the ID in string format. More...
|
|
delegate void | DoAfterAcquiredItem (string strid, T item) |
| Defines what to do with the item once it's been acquired, before registering it to the IDPool . More...
|
|
◆ AcquireItem()
Defines how to acquire the item based on the ID in string format.
◆ DoAfterAcquiredItem()
delegate void Semi.IDMapParser< T, TTag >.DoAfterAcquiredItem |
( |
string |
strid, |
|
|
T |
item |
|
) |
| |
Defines what to do with the item once it's been acquired, before registering it to the IDPool
.
◆ Parse()
Parses a file in Semi IDMap format.
- Returns
- A new
IDPool
containing all the specified objects.
- Parameters
-
file | IDMap file. |
nspace | Namespace to assign to all the entries. |
callback | AcquireItem |
percent_space_escape | If set to true , triple percent signs will be replaced with single spaces in source IDs. |
do_after | DoAfterAcquiredItem |
The documentation for this class was generated from the following file:
- Semi/src/Parsers/IDMapParser.cs