コード例 #1
0
ファイル: Loadout.cs プロジェクト: nattakit-h/CombatExtended
        public Loadout(string label)
        {
            this.label = label;

            // create a unique ID.
            uniqueID = LoadoutManager.GetUniqueLoadoutID();
        }
コード例 #2
0
ファイル: Loadout.cs プロジェクト: nattakit-h/CombatExtended
        public Loadout()
        {
            // this constructor is also used by the scribe, in which case defaults generated here will get overwritten.

            // create a unique default name.
            label = LoadoutManager.GetUniqueLabel();

            // create a unique ID.
            uniqueID = LoadoutManager.GetUniqueLoadoutID();
        }