Squad.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  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. namespace GameQ\Protocols;
  19. /**
  20. * Class Squad
  21. *
  22. * Port reference: http://forums.joinsquad.com/topic/9559-query-ports/
  23. *
  24. * @package GameQ\Protocols
  25. * @author Austin Bischoff <[email protected]>
  26. */
  27. class Squad extends Source
  28. {
  29. /**
  30. * String name of this protocol class
  31. *
  32. * @type string
  33. */
  34. protected $name = 'squad';
  35. /**
  36. * Longer string name of this protocol class
  37. *
  38. * @type string
  39. */
  40. protected $name_long = "Squad";
  41. /**
  42. * query_port = client_port + 19378
  43. * 27165 = 7787 + 19378
  44. *
  45. * @type int
  46. */
  47. protected $port_diff = 19378;
  48. }