Ananke Csv Master Advanced Guide 1: Creating Custom Enum Types

Back to Table of Contents

Creating Custom Enum Types

In the basic guide, you may have noticed the type specification “Tables[JOB]” in our examples.

This feature utilizes Ananke CSV Master’s capability to define custom Enum types.

There are two types of Tables: GlobalTable and LocalTable.
While both can be accessed globally throughout your game, LocalTables are defined within Group classes, allowing you to narrow their semantic scope.

For example, attributes might need to be referenced by or referenced from various elements like enemies and skills across your game. However, player-specific elements like character classes might have limited interaction with enemies, making them suitable candidates for definition as LocalTables within the Player group.

Adding Tables

When you create a Group, a Tables section is automatically generated.
Clicking on it reveals the Table Operations area, where you can enter the name of the Enum you want to add and click Add.

Once a Table is defined, it appears in the TreeView. Click on the item to add necessary entries.
You’ll find Label and Value input fields, which correspond directly to standard Enum definitions.

After completing your entries, click Save Table to store your settings.

The newly defined type will then appear in the Type selection dropdown under DataSet Variables. Selecting it will declare the corresponding item as your custom Enum type.

Next

コメント

タイトルとURLをコピーしました