using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Sog; namespace Game { public class DiamondHolderCallback { public long Uid; //玩家uid public int OpType; //操作类型,如果不是协议类型,需要自己定义 public string OrderId; //订单id public long CreateTime; //创建时间,用来处理超时 public int OpRet; //操作是否成功 //参数列表每个类型自己定义 public List Params = new List(); } public class DiamondHolderData : IServerDataObj { public Dictionary m_callbackMap; public DiamondHolderData() { m_callbackMap = new Dictionary(); } public override int GetDataType() { return GameDataObjType.DiamondHolderData; } } }