namespace UKTSDK
|
{
|
public class BaseSdk
|
{
|
public virtual void changeAccount()
|
{
|
throw new System.NotImplementedException();
|
}
|
|
public virtual void enterShareAndFeed(string arg)
|
{
|
throw new System.NotImplementedException();
|
}
|
|
public virtual void getGameFriends()
|
{
|
throw new System.NotImplementedException();
|
}
|
|
public virtual void getUserInfo()
|
{
|
throw new System.NotImplementedException();
|
}
|
|
public virtual void initSdk()
|
{
|
throw new System.NotImplementedException();
|
}
|
|
public virtual void killGame()
|
{
|
throw new System.NotImplementedException();
|
}
|
|
public virtual void login()
|
{
|
throw new System.NotImplementedException();
|
}
|
|
public virtual void logout()
|
{
|
throw new System.NotImplementedException();
|
}
|
|
public virtual void recharge(string arg)
|
{
|
throw new System.NotImplementedException();
|
}
|
|
public virtual void sendMessageToPlatform(string arg)
|
{
|
throw new System.NotImplementedException();
|
}
|
|
public virtual void setCallBackClazz(string caller,string funcName)
|
{
|
throw new System.NotImplementedException();
|
}
|
|
public virtual void showUserAuthentication()
|
{
|
throw new System.NotImplementedException();
|
}
|
|
}
|
|
/** 角色相关信息 */
|
public class RoleInfo
|
{
|
/** 事件类型 */
|
public int dataType = 1;
|
/** 角色ID */
|
public string roleID = "";
|
/** 角色名称 */
|
public string roleName = "";
|
/** 角色等级 */
|
public string roleLevel = "";
|
/** 服务器id */
|
public int zoneId = 1;
|
/** 服务器名称 */
|
public string zoneName = "";
|
/** 创建角色时间 */
|
public string roleCTime = "";
|
/** 角色升级时间 */
|
public string roleLevelMTime = "";
|
/** 角色当前元宝数量 */
|
public int goldNum = 0;
|
/** vip等级 */
|
public int vipLevel = 0;
|
/** 战斗力 */
|
public int power = 0;
|
/** 自定义事件 */
|
public string selfMsg = "";
|
}
|
|
/** 角色操作类型 */
|
public enum RoleInfoCtrlType
|
{
|
/** 自定义数据 */
|
sendSelfMsg = 0,
|
/** 选择服务器 */
|
selectServer = 1,
|
/** 创建角色 */
|
createRole = 2,
|
/** 进入游戏 */
|
JoinGame = 3,
|
/** 等级提升 */
|
lvUp = 4,
|
/** 退出游戏 */
|
logOut = 5,
|
/** 点击登录按钮 */
|
clickLoginBtn = 6,
|
/** 到达选服页面 */
|
selectSvrView = 7
|
}
|
|
/** 设备相关信息 */
|
public class DeviceInfo
|
{
|
/** 网络类型 */
|
public string net_type = "";
|
/** 设备类型 */
|
public string device_type = "android";
|
/** ip地址 */
|
public string ip = "";
|
/** 系统版本号 */
|
public string os_version = "";
|
/** 系统类型 */
|
public string os_type = "android";
|
/** 手机内存 */
|
public string ram = "";
|
/** 渠道标识 */
|
public string channel = "";
|
/** 安卓设备IMEI */
|
public string imei = "";
|
/** 安卓设备安卓ID */
|
public string android_id = "";
|
}
|
|
public class PayVo
|
{
|
/** 商品ID */
|
public int itemID = 0;
|
/** 商品内购id */
|
public string productid = "";
|
/** 商品名 */
|
public string itemName = "";
|
/** 商品价格/分 */
|
public int amount = 0;
|
/** 大区ID */
|
public int areaID = 0;
|
/** 服务器ID */
|
public int svrID = 0;
|
/** 服务器名 */
|
public string svrName = "";
|
/** 渠道ID */
|
public int channelId = 0;
|
/** 角色ID */
|
public string userId = "";
|
/** 角色名 */
|
public string userName = "";
|
/** 角色等级 */
|
public int userLvl = 0;
|
/** 账号ID */
|
public string accountId = "";
|
/** 扩展参数 */
|
public string otherExt = "";
|
/** 第三方支付类型 */
|
public string payExt = "";
|
/** 自定义订单 */
|
public string payForm = "";
|
|
public string getJsonStr() {
|
return ConvertJson.ToJson(this);
|
}
|
}
|
}
|