Exemplo n.º 1
0
 public static void writeInfo(SendPacket s, a4_PositionSync.Struct info)
 {
     s.writeH(info._rotationX);
     s.writeH(info._rotationY);
     s.writeH(info._rotationZ);
     s.writeH(info._cameraX);
     s.writeH(info._cameraY);
     s.writeH(info._area);
 }
Exemplo n.º 2
0
 public static a4_PositionSync.Struct ReadInfo(ReceivePacket p, bool genLog)
 {
     a4_PositionSync.Struct @struct = new a4_PositionSync.Struct()
     {
         _rotationX = p.readUH(),
         _rotationY = p.readUH(),
         _rotationZ = p.readUH(),
         _cameraX   = p.readUH(),
         _cameraY   = p.readUH(),
         _area      = p.readUH()
     };
     if (!genLog)
     {
         ;
     }
     return(@struct);
 }
Exemplo n.º 3
0
 public static void writeInfo(SendPacket s, ReceivePacket p, bool genLog)
 {
     a4_PositionSync.Struct info = a4_PositionSync.ReadInfo(p, genLog);
     a4_PositionSync.writeInfo(s, info);
 }