GameData
GameData contains all the Data that gets saved into an Encrypted Json File, ensuring it can be serialized.
SAVED DATA
GLOBAL PARAMETERS
lastUpdated [ long ]
timeSaved [ string ]
currentScene [ string ]
PLAYER TRANSFORMS
playerPosition [ float[] ]
playerRotation [ float[] ]
isCrouching [ bool ]
PLAYER STATISTICS
playerHealth [ float]
playerShield [ float]
maxHealth [ float]
maxShield [ float]
damageMultiplier [ float]
healMultiplier [ float]
EXPERIENCE + COINS
totalExperience [ float]
playerLevel [ int ]
coins [ int ]
GLOBAL PARAMETERS
triggeredObjects [ Dictionary<string, CustomSaveData>]
interactablesObjects [ Dictionary<string, CustomSaveData> ]
enemyObjects [ Dictionary<string, CustomSaveData> ]
destructibleObjects [ Dictionary<string, CustomSaveData> ]
customObjects [ Dictionary<string, CustomSaveData> ]
instantiatedObjects [ Dictionary<string, CustomSaveData> ]
P'LAYER BASE INVENTORY ( HOTBAR )
currentWeaponInt [ int ]
Next, you´ll find Inventory Pro Add-On related Information.
FPS ENGINE INVENTORY ADD-ON
rows [ int ]: Height of the Inventory
cols [ int ]: Width of the Inventory
serializableHotbarData [ SerializableInventoryData[] ]
serializableInventoryData [ SerializableInventoryData[] ]
favItems [ SerializableFavItemReference[] ]
SERIALIZABLE INVENTORY DATA CLASS
Used by Inventory Pro Add-On to store Inventory Slots Data, since it contains non-serializable types.
SERIALIZABLE FAV ITEM REFERENCE CLASS
Used by Inventory Pro Add-On to store Fav Items Slots Data, since it contains non-serializable types.
Last updated