public static GameSettingInt AddNewInt(this IGroup <GameSetting> gameSettings, string editorId) { var ret = new GameSettingInt( gameSettings.SourceMod.GetNextFormKey(editorId)); gameSettings.Add(ret); return(ret); }
public static GameSettingInt AddNewInt(this IGroupCommon <GameSetting> gameSettings) { var ret = new GameSettingInt( gameSettings.SourceMod.GetNextFormKey()); gameSettings.Add(ret); return(ret); }