/// <summary> 插入阵 </summary>
        public static tg_fight_personal PersonalInsert(Int64 userid, Int64 roleid)
        {
            var model = new tg_fight_personal
            {
                yid         = 0,
                user_id     = userid,
                matrix1_rid = roleid,
                matrix2_rid = 0,
                matrix3_rid = 0,
                matrix4_rid = 0,
                matrix5_rid = 0,
            };

            model.Insert();
            return(model);
        }
Exemple #2
0
 public FightItem()
 {
     Personal = new tg_fight_personal();
     Type     = FightType.ONE_SIDE;
     Rival    = 0;
 }