wangguan
2020-12-10 5f6fb6dccd1330b5b0bcb2d721167a6ac062f3ad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
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);
        }
    }
}