/** * 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; } }
/** * @param MemStream $s */ public function serial(MemStream $s) { $s->serialVersion($this->version); $s->serial_sint32($this->X); $s->serial_sint32($this->Y); }