Пример #1
0
 public LoginArbiterMessage(C_LOGIN_ARBITER message)
 {
     if (OpcodeDownloader.DownloadSysmsg(PacketProcessor.Factory.Version,
                                         Path.Combine(BasicTeraData.Instance.ResourceDirectory, $"data/opcodes/"), PacketProcessor.Factory.ReleaseVersion))
     {
         PacketProcessor.Factory.ReloadSysMsg();
     }
     ;
     BasicTeraData.Instance.Servers.Language = message.Language;
 }
Пример #2
0
 internal C_LOGIN_ARBITER(TeraCompass.Tera.Core.Game.Messages.Client.C_LOGIN_ARBITER message)
 {
     if (OpcodeDownloader.DownloadSysmsg(PacketProcessor.Instance.MessageFactory.Version, PacketProcessor.Instance.MessageFactory.ReleaseVersion,
                                         Path.Combine(BasicTeraData.Instance.ResourceDirectory, $"data/opcodes/")))
     {
         PacketProcessor.Instance.MessageFactory.ReloadSysMsg();
     }
     ;
     BasicTeraData.Instance.Servers.Language = message.Language;
 }