You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
955 B

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<object> Params = new List<object>();
}
public class DiamondHolderData : IServerDataObj
{
public Dictionary<long, DiamondHolderCallback> m_callbackMap;
public DiamondHolderData()
{
m_callbackMap = new Dictionary<long, DiamondHolderCallback>();
}
public override int GetDataType()
{
return GameDataObjType.DiamondHolderData;
}
}
}