static Toolbars() { EntryTypes = typeof(ToolbarEntry).GetConstructableChildren(); CMOptions = new ToolbarsOptions(); Profiles = new BinaryDataStore<PlayerMobile, ToolbarState>(VitaNexCore.SavesDirectory + "/Toolbars", "States") { Async = true, OnSerialize = Serialize, OnDeserialize = Deserialize }; DefaultEntries = new ToolbarState(null, CMOptions.DefaultWidth, CMOptions.DefaultHeight); }
static Toolbars() { EntryTypes = typeof(ToolbarEntry).GetConstructableChildren(); CMOptions = new ToolbarsOptions(); Profiles = new BinaryDataStore <PlayerMobile, ToolbarState>(VitaNexCore.SavesDirectory + "/Toolbars", "States") { Async = true, OnSerialize = Serialize, OnDeserialize = Deserialize }; DefaultEntries = new ToolbarState(null, CMOptions.DefaultWidth, CMOptions.DefaultHeight); }