BigBrotherBot v1.9.0
System Development Information for the BigBrotherBot project.

b3::parsers::frostbite2::abstractParser::AbstractParser Class Reference

Inheritance diagram for b3::parsers::frostbite2::abstractParser::AbstractParser:
b3::parser::Parser b3::parser::Parser b3::parsers::bf3::Bf3Parser b3::parsers::bf3::Bf3Parser tests::parsers::frostbite2::test_abstractParser::ConcretegameParser tests::parsers::frostbite2::test_abstractParser::ConcretegameParser

List of all members.

Static Public Attributes

 gameName = None
 privateMsg = True
int SAY_LINE_MAX_LENGTH = 128
 OutputClass = FrostbiteRcon
tuple frostbite_event_queue = Queue.Queue(400)
tuple sayqueue = Queue.Queue(100)
int sayqueue_get_timeout = 2
 sayqueuelistener = None

Static Private Attributes

 _serverConnection = None
int _nbConsecutiveConnFailure = 0
tuple _reColor = re.compile(r'(\^[0-9])')
dictionary _settings
tuple _gameServerVars = ()
dictionary _commands
dictionary _eventMap

Detailed Description

An abstract base class to help with developing frostbite2 parsers

Member Data Documentation

Initial value:
{
        'message': ('admin.say', '%(message)s', 'player', '%(cid)s'),
        'saySquad': ('admin.say', '%(message)s', 'squad', '%(teamId)s', '%(squadId)s'),
        'sayTeam': ('admin.say', '%(message)s', 'team', '%(teamId)s'),
        'say': ('admin.say', '%(message)s', 'all'),
        'bigmessage': ('admin.yell', '%(message)s', '%(big_msg_duration)i', 'player', '%(cid)s'),
        'yellSquad': ('admin.yell', '%(message)s', '%(big_msg_duration)i', 'squad', '%(teamId)s', '%(squadId)s'),
        'yellTeam': ('admin.yell', '%(message)s', '%(big_msg_duration)i', 'team', '%(teamId)s'),
        'yell': ('admin.yell', '%(message)s', '%(big_msg_duration)i'),
        'kick': ('admin.kickPlayer', '%(cid)s', '%(reason)s'),
        'ban': ('banList.add', 'guid', '%(guid)s', 'perm', '%(reason)s'),
        'banByName': ('banList.add', 'name', '%(name)s', 'perm', '%(reason)s'),
        'banByIp': ('banList.add', 'ip', '%(ip)s', 'perm', '%(reason)s'),
        'unban': ('banList.remove', 'guid', '%(guid)s'),
        'unbanByIp': ('banList.remove', 'ip', '%(ip)s'),
        'tempban': ('banList.add', 'guid', '%(guid)s', 'seconds', '%(duration)d', '%(reason)s'),
        'tempbanByName': ('banList.add', 'name', '%(name)s', 'seconds', '%(duration)d', '%(reason)s'),
        }

Reimplemented from b3::parser::Parser.

Initial value:
{
    }
tuple b3::parsers::frostbite2::abstractParser::AbstractParser::_reColor = re.compile(r'(\^[0-9])') [static, private]

Reimplemented from b3::parser::Parser.

Initial value:
{
        'line_length': 128,
        'min_wrap_length': 128,
        'message_delay': .8,
        'big_msg_duration': 4,
        'big_b3_private_responses': False,
        }

Reimplemented from b3::parser::Parser.


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