//位置保存到SDK里
 public void SaveGuide()
 {
     //byte data;
     System.IO.MemoryStream ms = new System.IO.MemoryStream();
     System.IO.BinaryWriter bw = new System.IO.BinaryWriter(ms);
     bw.Write(m_IsMatchGuide);
     bw.Write(PlayerRole.Instance.RoleInfo.RoleMe.GetUserID());
     RuntimeInfo.SaveLocalFile(RuntimeInfo.GetMatchGuideFileName(), ms.ToArray());
     bw.Close();
 }
    public bool LoadGuide()
    {
        //读取SD卡的潜艇位置
        byte[] data = RuntimeInfo.GetLocalFile(RuntimeInfo.GetMatchGuideFileName());
        if (data == null)
        {
            return(false);
        }

        System.IO.MemoryStream ms = new System.IO.MemoryStream(data);
        System.IO.BinaryReader br = new System.IO.BinaryReader(ms);
        m_IsMatchGuide = br.ReadByte();
        uint UserID = br.ReadUInt32();

        ms.Close();
        br.Close();
        if (UserID != PlayerRole.Instance.RoleInfo.RoleMe.GetUserID())
        {
            m_IsMatchGuide = 1;
        }
        return(true);
    }