| Core/NetworkPackage/ClientPack/ClientToGameServer/CC0_CrossRealm/CC003_tagCGForceQuitCrossState.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Core/NetworkPackage/ClientPack/ClientToGameServer/CC0_CrossRealm/CC003_tagCGForceQuitCrossState.cs.meta | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Login/CrossServerLogin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Core/NetworkPackage/ClientPack/ClientToGameServer/CC0_CrossRealm/CC003_tagCGForceQuitCrossState.cs
New file @@ -0,0 +1,19 @@ using UnityEngine; using System.Collections; // C0 03 强制退出跨服状态 #tagCGForceQuitCrossState public class CC003_tagCGForceQuitCrossState : GameNetPackBasic { public CC003_tagCGForceQuitCrossState() { combineCmd = (ushort)0x1801; _cmd = (ushort)0xC003; } public override void WriteToBytes() { } } Core/NetworkPackage/ClientPack/ClientToGameServer/CC0_CrossRealm/CC003_tagCGForceQuitCrossState.cs.meta
New file @@ -0,0 +1,12 @@ fileFormatVersion: 2 guid: 8121ba00aeb53ff4cab35031d1b94af1 timeCreated: 1545810908 licenseType: Pro MonoImporter: serializedVersion: 2 defaultReferences: [] executionOrder: 0 icon: {instanceID: 0} userData: assetBundleName: assetBundleVariant: System/Login/CrossServerLogin.cs
@@ -49,8 +49,8 @@ opponentName = matchOK.MatchPlayer[0].PlayerName, opponentJob = matchOK.MatchPlayer[0].Job, opponentMaxHp = (int)matchOK.MatchPlayer[0].MaxHP, opponentLevel=(int)matchOK.MatchPlayer[0].LV, opponentPlayerId=(int)matchOK.MatchPlayer[0].PlayerID, opponentLevel = (int)matchOK.MatchPlayer[0].LV, opponentPlayerId = (int)matchOK.MatchPlayer[0].PlayerID, }; Clock.Create(DateTime.Now + new TimeSpan(5 * TimeSpan.TicksPerSecond), () => @@ -241,7 +241,8 @@ } else { //需要服务端再给一个封包来处理登录跨服失败的情况 var sendInfo = new CC003_tagCGForceQuitCrossState(); GameNetSystem.Instance.SendInfo(sendInfo); loginModel.ReAccountLogin(); } }