Ejemplo n.º 1
0
        public static GameSettingInt AddNewInt(this IGroupCommon <GameSetting> gameSettings, string editorId)
        {
            var ret = new GameSettingInt(
                gameSettings.SourceMod.GetNextFormKey(editorId),
                gameSettings.SourceMod.GameRelease.ToSkyrimRelease());

            gameSettings.Add(ret);
            return(ret);
        }
Ejemplo n.º 2
0
        public static GameSettingInt AddNewInt(this IGroup <GameSetting> gameSettings)
        {
            var ret = new GameSettingInt(
                gameSettings.SourceMod.GetNextFormKey(),
                gameSettings.SourceMod.GameRelease.ToSkyrimRelease());

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