Esempio n. 1
0
 public SShopGoodsItemMeta(TID id_, EGoodsItemType type_, EResource cost_type_, TResource cost_value_, String data_)
 {
     id         = id_;
     type       = type_;
     cost_type  = cost_type_;
     cost_value = cost_value_;
     data       = data_;
 }
Esempio n. 2
0
 public SShopGoodsItemMeta(SShopGoodsItemMeta Obj_)
 {
     id         = Obj_.id;
     type       = Obj_.type;
     cost_type  = Obj_.cost_type;
     cost_value = Obj_.cost_value;
     data       = Obj_.data;
 }
Esempio n. 3
0
 public override void Push(JsonDataObject Value_)
 {
     Value_.Pop("id", ref id);
     {
         Int32 Var = 0;
         Value_.Pop("type", ref Var);
         type = (EGoodsItemType)Var;
     }
     {
         Int32 Var = 0;
         Value_.Pop("cost_type", ref Var);
         cost_type = (EResource)Var;
     }
     Value_.Pop("cost_value", ref cost_value);
     Value_.Pop("data", ref data);
 }
Esempio n. 4
0
 public override void Push(CStream Stream_)
 {
     Stream_.Pop(ref id);
     {
         Int32 Var = 0;
         Stream_.Pop(ref Var);
         type = (EGoodsItemType)Var;
     }
     {
         Int32 Var = 0;
         Stream_.Pop(ref Var);
         cost_type = (EResource)Var;
     }
     Stream_.Pop(ref cost_value);
     Stream_.Pop(ref data);
 }