public uint GetMyIndex() { string serverInfo = PS3.Extension.ReadString(Addresses.LocalXUIDString_a); foreach (Player player in Grabber.GetPlayers(IsInParty)) { if (serverInfo.Contains(player.XUID)) { MyIndex = player.Id; return(player.Id); } } MyIndex = 18; return(18); }
public Functions(PS3API ps3, RemoteProcedureCall rpc, Grabber grabber) { PS3 = ps3; RPC = rpc; Grabber = grabber; }