private void OnServerInformation(InPacket packet) { var worldInformation = new WorldInformation(); worldInformation.Decode(packet); Logger.Info($"Updated {worldInformation.Name} server information"); }
private void OnServerRegisterResult(InPacket packet) { if (packet.Decode <bool>()) { return; // TODO: disconnect? } var worldInformation = new WorldInformation(); worldInformation.Decode(packet); Logger.Info($"Registered Center server, {worldInformation.Name}"); }