示例#1
0
        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);
        }
示例#2
0
 public Functions(PS3API ps3, RemoteProcedureCall rpc, Grabber grabber)
 {
     PS3     = ps3;
     RPC     = rpc;
     Grabber = grabber;
 }