Skip to content
Andrew Xue edited this page Sep 9, 2017 · 1 revision

Overview

All serializable content has their Type associated with a unique string. This is to ensure that saving and loading can work, even when class names are changed.

Content that requires an entry in the ID table include:

  • Stat
  • SpellBook
  • Item
  • Buff
  • Brain

The unit test will remind you if you are forgetting to associate a type, but this will only work if your content is included under the Scripts.Game.Defined.Serialized namespace.

Clone this wiki locally