コード例 #1
0
/// <summary>
/// Initializes a new instance of the <see cref="CharacterTemplateEquippedTable"/> class.
/// </summary>
/// <param name="chance">The initial value for the corresponding property.</param>
/// <param name="characterTemplateID">The initial value for the corresponding property.</param>
/// <param name="iD">The initial value for the corresponding property.</param>
/// <param name="itemTemplateID">The initial value for the corresponding property.</param>
        public CharacterTemplateEquippedTable(DemoGame.ItemChance @chance, DemoGame.CharacterTemplateID @characterTemplateID, System.Int32 @iD, DemoGame.ItemTemplateID @itemTemplateID)
        {
            this.Chance = (DemoGame.ItemChance)@chance;
            this.CharacterTemplateID = (DemoGame.CharacterTemplateID)@characterTemplateID;
            this.ID             = (System.Int32)@iD;
            this.ItemTemplateID = (DemoGame.ItemTemplateID)@itemTemplateID;
        }
コード例 #2
0
/// <summary>
/// Initializes a new instance of the <see cref="CharacterTemplateInventoryTable"/> class.
/// </summary>
/// <param name="chance">The initial value for the corresponding property.</param>
/// <param name="characterTemplateID">The initial value for the corresponding property.</param>
/// <param name="iD">The initial value for the corresponding property.</param>
/// <param name="itemTemplateID">The initial value for the corresponding property.</param>
/// <param name="max">The initial value for the corresponding property.</param>
/// <param name="min">The initial value for the corresponding property.</param>
        public CharacterTemplateInventoryTable(DemoGame.ItemChance @chance, DemoGame.CharacterTemplateID @characterTemplateID, System.Int32 @iD, DemoGame.ItemTemplateID @itemTemplateID, System.Byte @max, System.Byte @min)
        {
            this.Chance = (DemoGame.ItemChance)@chance;
            this.CharacterTemplateID = (DemoGame.CharacterTemplateID)@characterTemplateID;
            this.ID             = (System.Int32)@iD;
            this.ItemTemplateID = (DemoGame.ItemTemplateID)@itemTemplateID;
            this.Max            = (System.Byte)@max;
            this.Min            = (System.Byte)@min;
        }