\ManiaControl\BillsBillManager

ManiaControl Bill Manager Class

Summary

Methods
Properties
Constants
getUsageInformation()
__construct()
sendBill()
sendPlanets()
No public properties found
DONATED_TO_SERVER
DONATED_TO_RECEIVER
PAYED_FROM_SERVER
PLAYER_REFUSED_DONATION
ERROR_WHILE_TRANSACTION
CB_BILL_PAID
No protected methods found
No protected properties found
N/A
No private methods found
$maniaControl
$openBills
N/A

Constants

DONATED_TO_SERVER

DONATED_TO_SERVER

DONATED_TO_RECEIVER

DONATED_TO_RECEIVER

PAYED_FROM_SERVER

PAYED_FROM_SERVER

PLAYER_REFUSED_DONATION

PLAYER_REFUSED_DONATION

ERROR_WHILE_TRANSACTION

ERROR_WHILE_TRANSACTION

CB_BILL_PAID

CB_BILL_PAID

Properties

Methods

getUsageInformation()

getUsageInformation() 

Gets Information about the Class, and a List of the Public Method

__construct()

__construct(\ManiaControl\ManiaControl  $maniaControl) 

Construct a new Bill Manager instance

Parameters

\ManiaControl\ManiaControl $maniaControl

sendBill()

sendBill(callable  $function, \ManiaControl\Players\Player  $player, integer  $amount, string  $message, string  $receiver = '') : boolean

Send a bill to a player

Parameters

callable $function
\ManiaControl\Players\Player $player
integer $amount
string $message
string $receiver

Returns

boolean

sendPlanets()

sendPlanets(callable  $function, string  $receiverLogin, integer  $amount, string  $message) : boolean

Send planets from the server to a player

Parameters

callable $function
string $receiverLogin
integer $amount
string $message

Returns

boolean