public static Settings RegisterSettings(uint userid) { var s = GetObject<SettingsSingleton>(key, userid); if (s == null) { s = new SettingsSingleton(); RegisterNewObject(s, true); return GetObject<SettingsSingleton>(key, userid).s; } return s.s; }
void pSettings(Settings data) { Static.GameManager.settings = data; }