Example #1
0
 /**
  * Read UI window locations
  *
  * @param MemStream $s
  */
 protected function serialInfoWindowSave(MemStream $s)
 {
     $this->InfoWindowSave = array();
     $s->serialVersion($v);
     $s->serial_uint32($nb);
     for ($i = 0; $i < $nb; $i++) {
         $w = new CInfoWindowSave();
         $w->serial($s);
         $this->InfoWindowSave[] = $w;
     }
 }
Example #2
0
 /**
  * @param MemStream $s
  */
 public function serial(MemStream $s)
 {
     $s->serialVersion($this->version);
     $s->serial_sint32($this->X);
     $s->serial_sint32($this->Y);
 }