Atavism Toolbox

Overview Page:

This C# script contains two namespaces; HNGamers and Atavism. The HNGamers namespace has two classes; MountToDatabaseSystem and MountPrefabHolder. The Atavism namespace has three classes; AtavismEffectOverride, MountToDatabaseSystem, and MountPrefabHolder.

Interface Pages:

Interface Description
MountToDatabaseSystem Interface for processing mount data and adding it to the database. Contains a list of folders to process and a set of methods for loading and processing data.
AtavismEffect Interface for defining an effect in Atavism. Contains methods for starting and stopping the effect.
AtavismStat Interface for defining a stat in Atavism. Contains methods for getting and setting the stat value.
IDatabasePack Interface for defining a database pack in Atavism. Contains methods for connecting to and disconnecting from a database.
IDatabase Interface for defining a database in Atavism. Contains methods for executing queries and retrieving data.

Constructor Pages:

N/A

Method Pages:

Method Name Description
processFolder() Processes the folders that have been set up by the user and the prefabs in these folders are built from and parsed.
processDatabase() Processes the database for prefabs that have not been added and adds them.
OnInspectorGUI() Called when the inspector needs to draw itself.
InsertEntry(EffectsData editingDisplay) Inserts a new entry into the database for the provided EffectsData.
ProcessTheShit() Processes items that are missing from the database and adds them.
LoadStatOptions() Loads stat options from the table.
LoadRestore() Loads and restores the data from the database.

Property Pages:

Property Name Data Type Description
statIndex int An integer value representing the index of the field type.
foldersToProcess List<UnityEngine.Object> A list of UnityEngine.Objects that represents the folders to process.
rows List<Dictionary<string, string>> A list of dictionaries that represents the rows in the database.
displayList List<string> A list of strings that represents the display list.
displayKeys List<int> A list of integers that represents the display keys.
AtavismItemList List<AtavismEffectOverride> A list of AtavismEffectOverride objects that represents the items in Atavism.
AtavismItemNotInDatabase List<AtavismEffectOverride> A list of AtavismEffectOverride objects that represents the items that are not in the database.
AtavismItemInDatabase List<AtavismEffectOverride> A list of AtavismEffectOverride objects that represents the items that are already in the database.
AtavismItemMissing List<string> A list of strings that represents the missing Atavism items.
mountBaseType MountBaseType An enum representing the mount base type, either Ground, Swimming, or Flying.
mountSpeedIncrease int An integer value representing the mount speed increase.
statOptions string[] An array of strings representing the options for stats.
PrefabHolderList List<MountPrefabHolder> A list of MountPrefabHolder objects representing the prefab holders.
PrefabHolderData Dictionary<int, MountPrefabHolder> A dictionary where the key is an integer and the value is a MountPrefabHolder object representing the prefab holder data.

 

Property Data Type Description
Atavism.MountPrefabHolder.id int The ID of the mount prefab holder.
Atavism.MountPrefabHolder.name string The name of the mount prefab holder.
Atavism.MountPrefabHolder.prefab string The path to the mount prefab.
Atavism.MountPrefabHolder.icon string The path to the mount icon.

Event Pages:

N/A

Concept/Guide Pages:

N/A

Examples:

N/A