|
@@ -20,11 +20,8 @@ namespace XGame.Database
|
|
|
/// <summary> 商城标题1=每日限购2=每周限购3=永久限购4=钻石特购5=玄钻6=钻石7=超值礼包 </summary>
|
|
|
public int Type { get; private set; }
|
|
|
|
|
|
- /// <summary> 商品名称 </summary>
|
|
|
- public string Name { get; private set; }
|
|
|
-
|
|
|
- /// <summary> 商品价格类型道具id(货币类型)+数量 </summary>
|
|
|
- public int[] Moneytype { get; private set; }
|
|
|
+ /// <summary> 商品价格类型1=钻石2=RMB </summary>
|
|
|
+ public int Moneytype { get; private set; }
|
|
|
|
|
|
/// <summary> 商品价格0=免费 </summary>
|
|
|
public int Money { get; private set; }
|
|
@@ -58,8 +55,7 @@ namespace XGame.Database
|
|
|
Id = reader.ReadInt();
|
|
|
Malltype = reader.ReadInt();
|
|
|
Type = reader.ReadInt();
|
|
|
- Name = reader.ReadString();
|
|
|
- Moneytype = reader.ReadEnumerable<int[]>();
|
|
|
+ Moneytype = reader.ReadInt();
|
|
|
Money = reader.ReadInt();
|
|
|
Discount = reader.ReadInt();
|
|
|
Goods = reader.ReadEnumerable<int[]>();
|
|
@@ -76,7 +72,6 @@ namespace XGame.Database
|
|
|
writer.Write(Id);
|
|
|
writer.Write(Malltype);
|
|
|
writer.Write(Type);
|
|
|
- writer.Write(Name);
|
|
|
writer.Write(Moneytype);
|
|
|
writer.Write(Money);
|
|
|
writer.Write(Discount);
|