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

tests::parsers::test_iourt42::Test_inflictCustomPenalty Class Reference

Inheritance diagram for tests::parsers::test_iourt42::Test_inflictCustomPenalty:
tests::parsers::test_iourt42::Iourt42TestCase tests::parsers::test_iourt42::Iourt42TestCase

List of all members.

Public Member Functions

def setUp
def test_slap
def test_nuke
def test_mute
def test_kill
def setUp
def test_slap
def test_nuke
def test_mute
def test_kill

Public Attributes

 player

Detailed Description

Called if b3.admin.penalizeClient() does not know a given penalty type.
Overwrite this to add customized penalties for your game like 'slap', 'nuke',
'mute', 'kill' or anything you want.
/!\ This method must return True if the penalty was inflicted.

Member Function Documentation

def tests::parsers::test_iourt42::Test_inflictCustomPenalty::setUp (   self)
def tests::parsers::test_iourt42::Test_inflictCustomPenalty::setUp (   self)
def tests::parsers::test_iourt42::Test_inflictCustomPenalty::test_kill (   self)
def tests::parsers::test_iourt42::Test_inflictCustomPenalty::test_kill (   self)
def tests::parsers::test_iourt42::Test_inflictCustomPenalty::test_mute (   self)
def tests::parsers::test_iourt42::Test_inflictCustomPenalty::test_mute (   self)
def tests::parsers::test_iourt42::Test_inflictCustomPenalty::test_nuke (   self)
def tests::parsers::test_iourt42::Test_inflictCustomPenalty::test_nuke (   self)
def tests::parsers::test_iourt42::Test_inflictCustomPenalty::test_slap (   self)
def tests::parsers::test_iourt42::Test_inflictCustomPenalty::test_slap (   self)

Member Data Documentation


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