BigBrotherBot v1.5.0
System Development Information for the BigBrotherBot project.
Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes | Static Private Attributes

b3::parsers::cod7::Cod7Parser Class Reference

Inheritance diagram for b3::parsers::cod7::Cod7Parser:
b3::parsers::cod5::Cod5Parser b3::parsers::cod2::Cod2Parser b3::parsers::cod::CodParser b3::parsers::q3a::abstractParser::AbstractParser b3::parser::Parser

List of all members.

Public Member Functions

def startup
def parseLine
def OnJ
def read

Public Attributes

 preMatch

Static Public Attributes

string gameName = 'cod7'
 IpsOnly = False
 OutputClass = rcon.Cod7Rcon

Private Attributes

 _regPlayerWithDemoclient
 _logTimerOld
 _logTimer

Static Private Attributes

int _guidLength = 5
 _usePreMatchLogic = True
 _preMatch = False
 _elFound = True
 _igBlockFound = False
 _sgFound = False
int _logTimer = 0
int _logTimerOld = 0
 _cod7httpplugin = None
tuple _actionMap
tuple _regPlayer = re.compile(r'^(?P<slot>[0-9]+)\s+(?P<score>[0-9-]+)\s+(?P<ping>[0-9]+)\s+(?P<guid>[0-9]+)\s+(?P<name>.*?)\s+(?P<last>[0-9]+)\s+(?P<ip>[0-9.]+):(?P<port>[0-9-]+)(?P<qportsep>[-\s]+)(?P<qport>[0-9-]+)\s+(?P<rate>[0-9]+)$', re.I)
tuple _regPlayerWithDemoclient = re.compile(r'^(?P<slot>[0-9]+)\s+(?P<score>[0-9-]+)\s+(?P<ping>[0-9]+)\s+(?P<guid>[0-9]+)\s+(?P<name>.*?)\s+(?P<last>[0-9]+)\s+(?P<ip>[0-9.]+|unknown):?(?P<port>[0-9-]+)?(?P<qportsep>[-\s]+)(?P<qport>[0-9-]+)\s+(?P<rate>[0-9]+)$', re.I)

Member Function Documentation

def b3::parsers::cod7::Cod7Parser::OnJ (   self,
  action,
  data,
  match = None 
)
Client join

Reimplemented from b3::parsers::cod::CodParser.

def b3::parsers::cod7::Cod7Parser::parseLine (   self,
  line 
)
Called from parseLine method in Parser class to introduce pre-match logic
and action mapping

Reimplemented from b3::parsers::cod5::Cod5Parser.

def b3::parsers::cod7::Cod7Parser::read (   self)
read from game server log file

Reimplemented from b3::parser::Parser.

def b3::parsers::cod7::Cod7Parser::startup (   self)
Implements some necessary tasks on initial B3 start.

Reimplemented from b3::parsers::cod::CodParser.


Member Data Documentation

Initial value:
(
        'AD', # Actor Damage (dogs)
        'VD'  # Vehicle Damage
    )

Reimplemented from b3::parsers::cod5::Cod5Parser.

b3::parsers::cod7::Cod7Parser::_elFound = True [static, private]
int b3::parsers::cod7::Cod7Parser::_guidLength = 5 [static, private]

Reimplemented from b3::parsers::cod5::Cod5Parser.

int b3::parsers::cod7::Cod7Parser::_logTimer = 0 [static, private]
b3::parsers::cod7::Cod7Parser::_preMatch = False [static, private]
tuple b3::parsers::cod7::Cod7Parser::_regPlayer = re.compile(r'^(?P<slot>[0-9]+)\s+(?P<score>[0-9-]+)\s+(?P<ping>[0-9]+)\s+(?P<guid>[0-9]+)\s+(?P<name>.*?)\s+(?P<last>[0-9]+)\s+(?P<ip>[0-9.]+):(?P<port>[0-9-]+)(?P<qportsep>[-\s]+)(?P<qport>[0-9-]+)\s+(?P<rate>[0-9]+)$', re.I) [static, private]

Reimplemented from b3::parsers::cod::CodParser.

tuple b3::parsers::cod7::Cod7Parser::_regPlayerWithDemoclient = re.compile(r'^(?P<slot>[0-9]+)\s+(?P<score>[0-9-]+)\s+(?P<ping>[0-9]+)\s+(?P<guid>[0-9]+)\s+(?P<name>.*?)\s+(?P<last>[0-9]+)\s+(?P<ip>[0-9.]+|unknown):?(?P<port>[0-9-]+)?(?P<qportsep>[-\s]+)(?P<qport>[0-9-]+)\s+(?P<rate>[0-9]+)$', re.I) [static, private]
b3::parsers::cod7::Cod7Parser::_sgFound = False [static, private]
string b3::parsers::cod7::Cod7Parser::gameName = 'cod7' [static]

Reimplemented from b3::parsers::cod5::Cod5Parser.

Reimplemented from b3::parsers::cod5::Cod5Parser.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties