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

b3::extplugins::xlrstats::XlrstatscontrollerPlugin Class Reference

Inheritance diagram for b3::extplugins::xlrstats::XlrstatscontrollerPlugin:
b3::plugin::Plugin

List of all members.

Public Member Functions

def __init__
def startup
def onEvent
def checkMinPlayers

Public Attributes

 console
 minPlayers

Private Attributes

 _messages
 _xlrstatsPlugin
 _currentNrPlayers

Detailed Description

This is a helper class/plugin that enables and disables the main xlrstats plugin

Constructor & Destructor Documentation

def b3::extplugins::xlrstats::XlrstatscontrollerPlugin::__init__ (   self,
  console,
  minPlayers = 3 
)

Reimplemented from b3::plugin::Plugin.


Member Function Documentation

def b3::extplugins::xlrstats::XlrstatscontrollerPlugin::checkMinPlayers (   self,
  _roundstart = False 
)
Checks if minimum amount of players are present
if minimum amount of players is reached will enable stats collecting
and if not it disables stats counting on next roundstart
def b3::extplugins::xlrstats::XlrstatscontrollerPlugin::onEvent (   self,
  event 
)
\
Called by B3 when a registered event is encountered. You must overwrite
this to intercept events.

Reimplemented from b3::plugin::Plugin.

def b3::extplugins::xlrstats::XlrstatscontrollerPlugin::startup (   self)
\
Depreciated. Use onStartup().

Reimplemented from b3::plugin::Plugin.


Member Data Documentation


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