|
Crossfire Server, Trunk
1.75.0
|
Collaboration diagram for CFBank.CFBank:Public Member Functions | |
| def | __enter__ (self) |
| def | __exit__ (self, exc_type, exc_value, traceback) |
| def | __init__ (self) |
| def | close (self) |
| def | convert_legacy_balance (self, name) |
| def | deposit (self, user, amount) |
| def | ensure (self, user) |
| def | getbalance (self, user) |
| def | init_schema (self) |
| def | remove_account (self, user) |
| def | withdraw (self, user, amount) |
Data Fields | |
| bankdb | |
| def CFBank.CFBank.__exit__ | ( | self, | |
| exc_type, | |||
| exc_value, | |||
| traceback | |||
| ) |
Definition at line 20 of file CFBank.py.
References module_information.close, CFBank.CFBank.close(), and mtar_t.close.
Here is the call graph for this function:| def CFBank.CFBank.close | ( | self | ) |
Definition at line 51 of file CFBank.py.
References CFBank.CFBank.bankdb.
Referenced by CFMail.CFMail.__exit__(), and CFBank.CFBank.__exit__().
Here is the caller graph for this function:| def CFBank.CFBank.convert_legacy_balance | ( | self, | |
| name | |||
| ) |
Move a player's balance from the player file to the bank.
Definition at line 55 of file CFBank.py.
References CFBank.CFBank.deposit().
Referenced by CFBank.CFBank.getbalance().
Here is the call graph for this function:
Here is the caller graph for this function:| def CFBank.CFBank.deposit | ( | self, | |
| user, | |||
| amount | |||
| ) |
Definition at line 26 of file CFBank.py.
References CFBank.CFBank.bankdb, and CFBank.CFBank.ensure().
Referenced by CFBank.CFBank.convert_legacy_balance().
Here is the call graph for this function:
Here is the caller graph for this function:| def CFBank.CFBank.ensure | ( | self, | |
| user | |||
| ) |
Definition at line 23 of file CFBank.py.
References CFBank.CFBank.bankdb.
Referenced by CFBank.CFBank.deposit().
Here is the caller graph for this function:| def CFBank.CFBank.getbalance | ( | self, | |
| user | |||
| ) |
Definition at line 38 of file CFBank.py.
References CFBank.CFBank.bankdb, and CFBank.CFBank.convert_legacy_balance().
Referenced by CFBank.CFBank.withdraw().
Here is the call graph for this function:
Here is the caller graph for this function:| def CFBank.CFBank.init_schema | ( | self | ) |
Definition at line 14 of file CFBank.py.
References CFBank.CFBank.bankdb.
| def CFBank.CFBank.withdraw | ( | self, | |
| user, | |||
| amount | |||
| ) |
Definition at line 31 of file CFBank.py.
References CFBank.CFBank.bankdb, and CFBank.CFBank.getbalance().
Here is the call graph for this function:| CFBank.CFBank.bankdb |
Definition at line 12 of file CFBank.py.
Referenced by CFBank.CFBank.close(), CFBank.CFBank.deposit(), CFBank.CFBank.ensure(), CFDataBase.CFDataBase.get(), CFBank.CFBank.getbalance(), CFBank.CFBank.init_schema(), CFDataBase.CFDataBase.remove_record(), CFDataBase.CFDataBase.store(), and CFBank.CFBank.withdraw().