public string GetCharacterName() { if (pcsx2Running && loggedIn) { return(m.ReadString(new IntPtr(gGameOffset + GameHelper.PLAYER_NAME), enc, false)); } return(""); }
private void tmr_readMem_Tick(object sender, EventArgs e) { PCSX2Check_Tick(); if (pcsx2Running) { SetGameOffset(); lbl_Name.Text = m.ReadString(new IntPtr(gGameOffset + GameHelper.PLAYER_NAME), enc, false); } }