self::playerCapacity_max) Įlse if( $player_capacity self::playerCapacity_max) Throw new InvalidArgumentException( 'Player count cannot be more than '. Throw new InvalidArgumentException( 'Invalid/Unsupported extra info.') Įlse if( $player_count self::playerCapacity_max) '\'' ) Įlse if(preg_match( self::regex_extraInfo, $extra) != 1) Throw new InvalidArgumentException( 'Invalid game name \''. Throw new InvalidArgumentException( 'Invalid/Unsupported IP Address') Įlse if(preg_match( self::regex_gameName, $name) != 1) $extra = isset( $ this-> extra) ? $ this-> extra : $extra $port = isset( $ this-> port) ? $ this-> port : $port $player_capacity = isset( $ this-> player_capacity) ? $ this-> player_capacity : $player_capacity $player_count = isset( $ this-> player_count) ? $ this-> player_count : $player_count $gameType = isset( $ this-> gameType) ? $ this-> gameType : $gameType $name = isset( $ this-> name) ? $ this-> name : $name
0 Comments
Leave a Reply. |