Show / Hide Table of Contents

Namespace DaggerfallWorkshop.Game.Serialization

Classes

ActionDoorData_v1

ActionObjectData_v1

BankDeedData_v1

BankRecordData_v1

DateAndTime_v1

DungeonData_v1

EnemyData_v1

FactionData_v1

FactionData_v2

GuildMembership_v1

HouseData_v1

ItemData_v1

ItemRepairData_v1

LootContainerData_v1

ModInfo_v1

PlayerData_v1

PlayerEntityData_v1

PlayerPositionData_v1

PrintScreenManager

RoomRental_v1

SaveData_v1

SaveDataDescription_v1

SaveInfo_v1

SaveLoadManager

Implements save/load logic. Games are saved in PersistentDataPath\Saves. Each save game will have a screenshot and multiple files.

SceneCache_v1

SceneCacheEntry_v1

SerializableActionDoor

Implements ActionDoor serialization. Should be attached to every DaggerfallActionDoor GameObject.

SerializableActionObject

SerializableEnemy

SerializableLootContainer

SerializablePlayer

Implements Player serialization. Should be attached to Player GameObject.

SerializableStateManager

Manages stateful game objects (implementations of ISerializableGameObject). Used by SaveLoadManager to serialize scene state. Uses a scene cache to persist building interiors and player owned areas.

TravelMapSaveData

Structs

AdvancedClimbingData_v1

Interfaces

ISerializableGameObject

Implement this interface with any MonoBehaviour-derived class that can save/load state. Classes implementing this interface must also register/deregister themselves to SerializableStateManager. Only registered objects will be serialized/deserialized. If a deserialized object of the specified LoadID cannot be found then that object will not have any state restored.

Enums

StatefulGameObjectTypes

Enum of stateful game object types that implement ISerializableGameObject. To add a new type of stateful game object:

  • add type name here
  • add a condition to SerializableStateManager.GetStatefulGameObjectType()
  • add serializer methods
  • add to SerializableStateManager.CacheScene() and RestoreCachedScene()

Delegates

SaveLoadManager.OnLoadEventHandler

SaveLoadManager.OnSaveEventHandler

SaveLoadManager.OnStartLoadEventHandler

In This Article
Back to top Generated by DocFX