/** * @see WOTAPIAction::answer() */ public function answer() { parent::answer(); $data = array(); $data['galaxy'] = gzcompress(serialize($this->galaxy)); $this->wotAPIServerClient->send('appending galaxy data', 100, $data); echo '~~', strlen($data['galaxy']); }
/** * @see WOTAPIAction::answer() */ public function answer() { parent::answer(); $data = array(); if ($this->send) { $data['pbuid'] = $this->pbuObj->pbuID; $data['pbustr'] = $this->pbuStr; $data['time'] = $this->pbuObj->time; } $this->wotAPIServerClient->send('private backup successful created' . ($this->data['send'] ? ', appending' : '') . '.', 100, $data); }
/** * @see WOTAPIAction::answer() */ public function answer() { parent::answer(); $this->wotAPIServerClient->send('users successful switched'); }
/** * @see WOTAPIAction::answer() */ public function answer() { parent::answer(); $this->wotAPIServerClient->send('wcf user tables successfully updated!,', 100); }
/** * @see WOTAPIAction::answer() */ public function answer() { parent::answer(); $this->wotAPIServerClient->send('private backup successful saved' . ($this->recover ? ' and recovered' : '') . '.', 100); }
/** * @see WOTAPIAction::answer() */ public function answer() { parent::answer(); $this->wotAPIServerClient->send('account successful deleted'); }