コード例 #1
0
            public itemsRow AdditemsRow(
                short ObjectType,
                short ObjectID,
                System.Decimal ObjectFullID,
                short FrameIDType,
                short FrameIDOffset,
                short FrameID,
                short ItemMapValue,
                short WeaponComplexity,
                System.Byte AttackMode1,
                System.Byte AttackMode2,
                short ObjectSubtype,
                System.Byte MaterialType,
                System.Byte MinStr,
                int Weight,
                int BasePrice,
                int FrameInventID,
                short Expr1,
                short Expr2,
                System.Decimal Expr3,
                string ObjectName,
                string ObjectDesc)
            {
                itemsRow rowitemsRow = ((itemsRow)(this.NewRow()));

                rowitemsRow.ItemArray = new object[] {
                    ObjectType,
                    ObjectID,
                    ObjectFullID,
                    FrameIDType,
                    FrameIDOffset,
                    FrameID,
                    ItemMapValue,
                    WeaponComplexity,
                    AttackMode1,
                    AttackMode2,
                    ObjectSubtype,
                    MaterialType,
                    MinStr,
                    Weight,
                    BasePrice,
                    FrameInventID,
                    Expr1,
                    Expr2,
                    Expr3,
                    ObjectName,
                    ObjectDesc
                };
                this.Rows.Add(rowitemsRow);
                return(rowitemsRow);
            }
コード例 #2
0
            public itemsRow AdditemsRow(short ObjectType, short ObjectID, System.Decimal ObjectFullID, string ObjectName, string ObjectDesc, short Expr1, short Expr2, System.Decimal Expr3, string Expr4, string Expr5)
            {
                itemsRow rowitemsRow = ((itemsRow)(this.NewRow()));

                rowitemsRow.ItemArray = new object[] {
                    ObjectType,
                    ObjectID,
                    ObjectFullID,
                    ObjectName,
                    ObjectDesc,
                    Expr1,
                    Expr2,
                    Expr3,
                    Expr4,
                    Expr5
                };
                this.Rows.Add(rowitemsRow);
                return(rowitemsRow);
            }
コード例 #3
0
 public itemsRowChangeEvent(itemsRow row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
コード例 #4
0
 public void RemoveitemsRow(itemsRow row)
 {
     this.Rows.Remove(row);
 }
コード例 #5
0
 public void AdditemsRow(itemsRow row)
 {
     this.Rows.Add(row);
 }