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

            gameSettings.Add(ret);
            return(ret);
        }
예제 #2
0
        public static GameSettingInt AddNewInt(this IGroupCommon <GameSetting> gameSettings)
        {
            var ret = new GameSettingInt(
                gameSettings.SourceMod.GetNextFormKey());

            gameSettings.Add(ret);
            return(ret);
        }