예제 #1
0
        public byte[] GetLocationData()
        {
            memStream.SetLength(0);
            writer.Seek(0, SeekOrigin.Begin);
            writer.Write(0);
            PoseInfo info = GetPoseInfo();

            info.Write(writer);
            return(memStream.ToArray());
        }
예제 #2
0
        public byte[] GetGlobalLocationData()
        {
            memStream.SetLength(0);
            writer.Seek(0, SeekOrigin.Begin);
            writer.Write(0);
            PoseInfo info = GetPoseInfo();

            info = TransformPositionByAreaId(0, info);
            info.Write(writer);
            return(memStream.ToArray());
        }