sizeof(int);   // work time

        public Packet(ZoneCommand command)
        {
            AppendByte((byte)command);
            AppendInt((int)ErrorCodes.NoError);
            AppendInt(-1);
            AppendInt(0);
        }
Exemple #2
0
 public RobotInfoPacketBuilder(Robot robot, ZoneCommand command = ZoneCommand.RobotInfo)
 {
     _robot   = robot;
     _command = command;
 }