public function equals(Neuron_GameServer_Windows_Window $window) { if ($window instanceof self) { // Check the id if ($this->getChannelName() == $window->getChannelName()) { return true; } } return false; }
public function equals(Neuron_GameServer_Windows_Window $window) { if ($this->getWindowId() == $window->getWindowId()) { // Check the request data if (json_encode($this->getRequestData()) == json_encode($window->getRequestData())) { return true; } } return false; }
public function __construct() { $this->sCacheKey = md5(DB_DATABASE . '_last_chat_message'); $this->objCache = Neuron_Core_Memcache::getInstance(); parent::__construct(); }