private static void initialize() { OffsetXML off = OffsetXML.getLocal <OffsetXML>(Properties.Settings.Default.OffSetXML); Offsets.playerName = off.playerName; Offsets.playerRealm = off.playerRealm; Offsets.lfgQueueStats = off.lfgQueueStats; Offsets.lfgProposal = off.lfgProposal; Offsets.bgQueueStats = off.bgQueueStats; Offsets.dbc = off.dbc; }
private void workerLoadOffsets_DoWork(object sender, DoWorkEventArgs e) { remote = Offsets.getRemote <OffsetXML>(String.Format("offset={0}", update.wow_version)); }