Skip to content

Commit

Permalink
Added Battlefield Hardline which is just BF4 broken return and all. T…
Browse files Browse the repository at this point in the history
…agged v2.0.4
  • Loading branch information
Austinb committed Mar 30, 2015
1 parent eb4a749 commit 5b56f8a
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GameQ.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class GameQ
/*
* Constants
*/
const VERSION = '2.0.3';
const VERSION = '2.0.4';

/*
* Server array keys
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "austinb/gameq",
"description": "GameQ Gameserver Library",
"version": "2.0.3",
"version": "2.0.4",
"license": "LGPL-3.0+",
"authors": [
{
Expand Down
46 changes: 46 additions & 0 deletions gameq/protocols/bfh.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?php
/**
* This file is part of GameQ.
*
* GameQ is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* GameQ is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/**
* Battlefield Hardline Protocol Class
*
* @author Austin Bischoff <austin@codebeard.com>
*/
class GameQ_Protocols_Bfh extends GameQ_Protocols_Bf4
{
/**
* The protocol being used
*
* @var string
*/
protected $protocol = 'bfh';

/**
* String name of this protocol class
*
* @var string
*/
protected $name = 'bfh';

/**
* Longer string name of this protocol class
*
* @var string
*/
protected $name_long = "Battlefield Hardline";
}

0 comments on commit 5b56f8a

Please sign in to comment.