private void CboClientVersion_SelectedIndexChanged(object sender, EventArgs e) { if (cboClientVersion.SelectedIndex < 0) { return; } try { var v = GameData.ClientVersions[cboClientVersion.SelectedIndex]; //MsgLog.S("i-client-version", string.Format("이전={0}, 변경={1}", Settings.ClientVersion, v.Value)); if (Settings.ClientVersion != v.Value) { Settings.ClientVersion = v.Value; txtClientVersion.Text = v.Value.ToString(); PacketWorker.Codes = GameData.PacketCodes[v.Value]; #if true MsgLog.S("i-client-version", $"{v.Name}, {PacketWorker.Codes.FATE:X4}/{PacketWorker.Codes.Duty:X4}/{PacketWorker.Codes.Match:X4}"); #else MsgLog.S("i-client-version", v.Name); #endif SaveSettings(); } } catch { } }