| | |
| | | Debug.Log("InterTest=====> extra: " + send.Extra);
|
| | | break;
|
| | | case VersionAuthority.Release:
|
| | | Debug.LogFormat("C0101_tagCPlayerLogin 1111111111111");
|
| | | send.Extra = VersionConfig.Get().SpID + "|" + ynmbxxjUtil.Instance.Device.uniqueID;
|
| | | send.ExtraLen = (ushort)send.Extra.Length;
|
| | |
|
| | | Debug.LogFormat("C0101_tagCPlayerLogin 2222222222222");
|
| | | if (ynmbxxjUtil.Instance.ChannelPlatform == ynmbxxjUtil.E_ChannelPlatform.Free)
|
| | | {
|
| | | send.IDType = 1;
|
| | |
| | | ynmbxxjUtil.Instance.ChannelPlatform == ynmbxxjUtil.E_ChannelPlatform.en
|
| | | )
|
| | | {
|
| | | Debug.LogFormat("C0101_tagCPlayerLogin 333333333333333");
|
| | | send.IDType = (byte)ynmbxxjUtil.Instance.ChannelPlatform;
|
| | | send.Extra += ("|" + sdkLoginResult.token + "|" + sdkLoginResult.qkUserName);
|
| | | send.ExtraLen = (ushort)send.Extra.Length;
|
| | | Debug.LogFormat("C0101_tagCPlayerLogin 444444444444444444");
|
| | | }
|
| | | |
| | | send.AccID = sdkLoginResult.account;
|
| | |
|
| | | var deviceInfo = DeviceUtility.GetDeviceModel();
|
| | | deviceInfo.Replace(" ", "").Replace("=", "").Replace("%", "").Replace("-", "").Replace("|","");
|
| | | var versionStr = StringUtility.Contact(VersionConfig.Get().version, "_", VersionConfig.Get().buildIndex, "_", deviceInfo);
|
| | | Debug.LogFormat("C0101_tagCPlayerLogin 5555555555555555");
|
| | |
|
| | | send.Extra += ("|" + versionStr.Substring(0, Math.Min(24, versionStr.Length)));
|
| | | Debug.Log("Release=====> extra: " + send.Extra);
|