| @@ -18,7 +18,6 @@ | ||
| 18 | 18 | |
| 19 | 19 | namespace GameQ\Protocols; | 
| 20 | 20 | |
| 21 | -use GameQ\Buffer; | |
| 22 | 21 | use GameQ\Result; | 
| 23 | 22 | |
| 24 | 23 | /** | 
| @@ -1,20 +1,20 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | /** | 
| 3 | - * This file is part of GameQ. | |
| 4 | - * | |
| 5 | - * GameQ is free software; you can redistribute it and/or modify | |
| 6 | - * it under the terms of the GNU Lesser General Public License as published by | |
| 7 | - * the Free Software Foundation; either version 3 of the License, or | |
| 8 | - * (at your option) any later version. | |
| 9 | - * | |
| 10 | - * GameQ is distributed in the hope that it will be useful, | |
| 11 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | - * GNU Lesser General Public License for more details. | |
| 14 | - * | |
| 15 | - * You should have received a copy of the GNU Lesser General Public License | |
| 16 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | - */ | |
| 3 | + * This file is part of GameQ. | |
| 4 | + * | |
| 5 | + * GameQ is free software; you can redistribute it and/or modify | |
| 6 | + * it under the terms of the GNU Lesser General Public License as published by | |
| 7 | + * the Free Software Foundation; either version 3 of the License, or | |
| 8 | + * (at your option) any later version. | |
| 9 | + * | |
| 10 | + * GameQ is distributed in the hope that it will be useful, | |
| 11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | + * GNU Lesser General Public License for more details. | |
| 14 | + * | |
| 15 | + * You should have received a copy of the GNU Lesser General Public License | |
| 16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | + */ | |
| 18 | 18 | |
| 19 | 19 | namespace GameQ; | 
| 20 | 20 | |
| @@ -1,22 +1,22 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | /** | 
| 3 | - * This file is part of GameQ. | |
| 4 | - * | |
| 5 | - * GameQ is free software; you can redistribute it and/or modify | |
| 6 | - * it under the terms of the GNU Lesser General Public License as published by | |
| 7 | - * the Free Software Foundation; either version 3 of the License, or | |
| 8 | - * (at your option) any later version. | |
| 9 | - * | |
| 10 | - * GameQ is distributed in the hope that it will be useful, | |
| 11 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | - * GNU Lesser General Public License for more details. | |
| 14 | - * | |
| 15 | - * You should have received a copy of the GNU Lesser General Public License | |
| 16 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | - * | |
| 18 | - * | |
| 19 | - */ | |
| 3 | + * This file is part of GameQ. | |
| 4 | + * | |
| 5 | + * GameQ is free software; you can redistribute it and/or modify | |
| 6 | + * it under the terms of the GNU Lesser General Public License as published by | |
| 7 | + * the Free Software Foundation; either version 3 of the License, or | |
| 8 | + * (at your option) any later version. | |
| 9 | + * | |
| 10 | + * GameQ is distributed in the hope that it will be useful, | |
| 11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | + * GNU Lesser General Public License for more details. | |
| 14 | + * | |
| 15 | + * You should have received a copy of the GNU Lesser General Public License | |
| 16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | + * | |
| 18 | + * | |
| 19 | + */ | |
| 20 | 20 | |
| 21 | 21 | namespace GameQ; | 
| 22 | 22 | |
| @@ -1,20 +1,20 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | 2 | /** | 
| 3 | - * This file is part of GameQ. | |
| 4 | - * | |
| 5 | - * GameQ is free software; you can redistribute it and/or modify | |
| 6 | - * it under the terms of the GNU Lesser General Public License as published by | |
| 7 | - * the Free Software Foundation; either version 3 of the License, or | |
| 8 | - * (at your option) any later version. | |
| 9 | - * | |
| 10 | - * GameQ is distributed in the hope that it will be useful, | |
| 11 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | - * GNU Lesser General Public License for more details. | |
| 14 | - * | |
| 15 | - * You should have received a copy of the GNU Lesser General Public License | |
| 16 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | - */ | |
| 3 | + * This file is part of GameQ. | |
| 4 | + * | |
| 5 | + * GameQ is free software; you can redistribute it and/or modify | |
| 6 | + * it under the terms of the GNU Lesser General Public License as published by | |
| 7 | + * the Free Software Foundation; either version 3 of the License, or | |
| 8 | + * (at your option) any later version. | |
| 9 | + * | |
| 10 | + * GameQ is distributed in the hope that it will be useful, | |
| 11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | + * GNU Lesser General Public License for more details. | |
| 14 | + * | |
| 15 | + * You should have received a copy of the GNU Lesser General Public License | |
| 16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | + */ | |
| 18 | 18 | |
| 19 | 19 | namespace GameQ\Protocols; | 
| 20 | 20 | |
| @@ -120,7 +120,7 @@ discard block | ||
| 120 | 120 | |
| 121 | 121 | // Build the server code | 
| 122 | 122 |          $this->server_code = implode('', array_map('chr', explode('.', $server->ip()))) . | 
| 123 | -                             pack("S", $server->portClient()); | |
| 123 | +                                pack("S", $server->portClient()); | |
| 124 | 124 | |
| 125 | 125 | // Loop over the packets and update them | 
| 126 | 126 |          foreach ($this->packets as $packetType => $packet) { | 
| @@ -1,20 +1,20 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | /** | 
| 3 | - * This file is part of GameQ. | |
| 4 | - * | |
| 5 | - * GameQ is free software; you can redistribute it and/or modify | |
| 6 | - * it under the terms of the GNU General Public License as published by | |
| 7 | - * the Free Software Foundation; either version 3 of the License, or | |
| 8 | - * (at your option) any later version. | |
| 9 | - * | |
| 10 | - * GameQ is distributed in the hope that it will be useful, | |
| 11 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | - * GNU General Public License for more details. | |
| 14 | - * | |
| 15 | - * You should have received a copy of the GNU General Public License | |
| 16 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | - */ | |
| 3 | + * This file is part of GameQ. | |
| 4 | + * | |
| 5 | + * GameQ is free software; you can redistribute it and/or modify | |
| 6 | + * it under the terms of the GNU General Public License as published by | |
| 7 | + * the Free Software Foundation; either version 3 of the License, or | |
| 8 | + * (at your option) any later version. | |
| 9 | + * | |
| 10 | + * GameQ is distributed in the hope that it will be useful, | |
| 11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | + * GNU General Public License for more details. | |
| 14 | + * | |
| 15 | + * You should have received a copy of the GNU General Public License | |
| 16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | + */ | |
| 18 | 18 | |
| 19 | 19 | namespace GameQ\Protocols; | 
| 20 | 20 | |
| @@ -1,22 +1,22 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | /** | 
| 3 | - * This file is part of GameQ. | |
| 4 | - * | |
| 5 | - * GameQ is free software; you can redistribute it and/or modify | |
| 6 | - * it under the terms of the GNU Lesser General Public License as published by | |
| 7 | - * the Free Software Foundation; either version 3 of the License, or | |
| 8 | - * (at your option) any later version. | |
| 9 | - * | |
| 10 | - * GameQ is distributed in the hope that it will be useful, | |
| 11 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | - * GNU Lesser General Public License for more details. | |
| 14 | - * | |
| 15 | - * You should have received a copy of the GNU Lesser General Public License | |
| 16 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | - * | |
| 18 | - * | |
| 19 | - */ | |
| 3 | + * This file is part of GameQ. | |
| 4 | + * | |
| 5 | + * GameQ is free software; you can redistribute it and/or modify | |
| 6 | + * it under the terms of the GNU Lesser General Public License as published by | |
| 7 | + * the Free Software Foundation; either version 3 of the License, or | |
| 8 | + * (at your option) any later version. | |
| 9 | + * | |
| 10 | + * GameQ is distributed in the hope that it will be useful, | |
| 11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | + * GNU Lesser General Public License for more details. | |
| 14 | + * | |
| 15 | + * You should have received a copy of the GNU Lesser General Public License | |
| 16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | + * | |
| 18 | + * | |
| 19 | + */ | |
| 20 | 20 | |
| 21 | 21 | namespace GameQ; | 
| 22 | 22 | |
| @@ -1,20 +1,20 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | /** | 
| 3 | - * This file is part of GameQ. | |
| 4 | - * | |
| 5 | - * GameQ is free software; you can redistribute it and/or modify | |
| 6 | - * it under the terms of the GNU Lesser General Public License as published by | |
| 7 | - * the Free Software Foundation; either version 3 of the License, or | |
| 8 | - * (at your option) any later version. | |
| 9 | - * | |
| 10 | - * GameQ is distributed in the hope that it will be useful, | |
| 11 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | - * GNU Lesser General Public License for more details. | |
| 14 | - * | |
| 15 | - * You should have received a copy of the GNU Lesser General Public License | |
| 16 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | - */ | |
| 3 | + * This file is part of GameQ. | |
| 4 | + * | |
| 5 | + * GameQ is free software; you can redistribute it and/or modify | |
| 6 | + * it under the terms of the GNU Lesser General Public License as published by | |
| 7 | + * the Free Software Foundation; either version 3 of the License, or | |
| 8 | + * (at your option) any later version. | |
| 9 | + * | |
| 10 | + * GameQ is distributed in the hope that it will be useful, | |
| 11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | + * GNU Lesser General Public License for more details. | |
| 14 | + * | |
| 15 | + * You should have received a copy of the GNU Lesser General Public License | |
| 16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | + */ | |
| 18 | 18 | |
| 19 | 19 | namespace GameQ; | 
| 20 | 20 | |
| @@ -1,20 +1,20 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | /** | 
| 3 | - * This file is part of GameQ. | |
| 4 | - * | |
| 5 | - * GameQ is free software; you can redistribute it and/or modify | |
| 6 | - * it under the terms of the GNU Lesser General Public License as published by | |
| 7 | - * the Free Software Foundation; either version 3 of the License, or | |
| 8 | - * (at your option) any later version. | |
| 9 | - * | |
| 10 | - * GameQ is distributed in the hope that it will be useful, | |
| 11 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | - * GNU Lesser General Public License for more details. | |
| 14 | - * | |
| 15 | - * You should have received a copy of the GNU Lesser General Public License | |
| 16 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | - */ | |
| 3 | + * This file is part of GameQ. | |
| 4 | + * | |
| 5 | + * GameQ is free software; you can redistribute it and/or modify | |
| 6 | + * it under the terms of the GNU Lesser General Public License as published by | |
| 7 | + * the Free Software Foundation; either version 3 of the License, or | |
| 8 | + * (at your option) any later version. | |
| 9 | + * | |
| 10 | + * GameQ is distributed in the hope that it will be useful, | |
| 11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | + * GNU Lesser General Public License for more details. | |
| 14 | + * | |
| 15 | + * You should have received a copy of the GNU Lesser General Public License | |
| 16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | + */ | |
| 18 | 18 | |
| 19 | 19 | namespace GameQ; | 
| 20 | 20 | |
| @@ -1,20 +1,20 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | /** | 
| 3 | - * This file is part of GameQ. | |
| 4 | - * | |
| 5 | - * GameQ is free software; you can redistribute it and/or modify | |
| 6 | - * it under the terms of the GNU Lesser General Public License as published by | |
| 7 | - * the Free Software Foundation; either version 3 of the License, or | |
| 8 | - * (at your option) any later version. | |
| 9 | - * | |
| 10 | - * GameQ is distributed in the hope that it will be useful, | |
| 11 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | - * GNU Lesser General Public License for more details. | |
| 14 | - * | |
| 15 | - * You should have received a copy of the GNU Lesser General Public License | |
| 16 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | - */ | |
| 3 | + * This file is part of GameQ. | |
| 4 | + * | |
| 5 | + * GameQ is free software; you can redistribute it and/or modify | |
| 6 | + * it under the terms of the GNU Lesser General Public License as published by | |
| 7 | + * the Free Software Foundation; either version 3 of the License, or | |
| 8 | + * (at your option) any later version. | |
| 9 | + * | |
| 10 | + * GameQ is distributed in the hope that it will be useful, | |
| 11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | + * GNU Lesser General Public License for more details. | |
| 14 | + * | |
| 15 | + * You should have received a copy of the GNU Lesser General Public License | |
| 16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | + */ | |
| 18 | 18 | |
| 19 | 19 | namespace GameQ; | 
| 20 | 20 | |
| @@ -1,20 +1,20 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | /** | 
| 3 | - * This file is part of GameQ. | |
| 4 | - * | |
| 5 | - * GameQ is free software; you can redistribute it and/or modify | |
| 6 | - * it under the terms of the GNU Lesser General Public License as published by | |
| 7 | - * the Free Software Foundation; either version 3 of the License, or | |
| 8 | - * (at your option) any later version. | |
| 9 | - * | |
| 10 | - * GameQ is distributed in the hope that it will be useful, | |
| 11 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | - * GNU Lesser General Public License for more details. | |
| 14 | - * | |
| 15 | - * You should have received a copy of the GNU Lesser General Public License | |
| 16 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | - */ | |
| 3 | + * This file is part of GameQ. | |
| 4 | + * | |
| 5 | + * GameQ is free software; you can redistribute it and/or modify | |
| 6 | + * it under the terms of the GNU Lesser General Public License as published by | |
| 7 | + * the Free Software Foundation; either version 3 of the License, or | |
| 8 | + * (at your option) any later version. | |
| 9 | + * | |
| 10 | + * GameQ is distributed in the hope that it will be useful, | |
| 11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 13 | + * GNU Lesser General Public License for more details. | |
| 14 | + * | |
| 15 | + * You should have received a copy of the GNU Lesser General Public License | |
| 16 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 17 | + */ | |
| 18 | 18 | |
| 19 | 19 | namespace GameQ; | 
| 20 | 20 | |