|
Crossfire Server, Trunk
|

Public Member Functions | |
| def | __init__ (self) |
| def | do_balance (self) |
| def | do_buy (self, text) |
| def | do_help (self) |
| def | do_mailscroll (self, text) |
| def | do_pay (self, text) |
| def | do_withdraw (self, text) |
| def | handle (self) |
| def | handle_jack (self) |
Public Attributes | |
| accountname | |
| guildname | |
Definition at line 75 of file guild_dues.py.
| def guild_dues.GuildDues.__init__ | ( | self | ) |
Standard constructor
Definition at line 76 of file guild_dues.py.
| def guild_dues.GuildDues.do_balance | ( | self | ) |
Handle the display of the guild's balance.
Definition at line 220 of file guild_dues.py.
References guild_dues.GuildDues.accountname, and guild_dues.formatted_amount().
Referenced by guild_dues.GuildDues.handle_jack().


| def guild_dues.GuildDues.do_buy | ( | self, | |
| text | |||
| ) |
Handles buying a guild extension
Definition at line 94 of file guild_dues.py.
References guild_dues.GuildDues.accountname, CFGuildClearance.CheckClearance(), guild_dues.FindCoin(), guild_dues.formatted_amount(), guild_dues.GuildDues.guildname, and CFGuilds.CFGuild.guildname.
Referenced by guild_dues.GuildDues.handle_jack().


| def guild_dues.GuildDues.do_help | ( | self | ) |
Handle the 'help' and 'yes' commands.
Definition at line 80 of file guild_dues.py.
References CFGuildClearance.CheckClearance(), guild_dues.GuildDues.guildname, and CFGuilds.CFGuild.guildname.
Referenced by guild_dues.GuildDues.handle_jack().


| def guild_dues.GuildDues.do_mailscroll | ( | self, | |
| text | |||
| ) |
Handle getting a mailscroll for a friend.
Definition at line 196 of file guild_dues.py.
Referenced by guild_dues.GuildDues.handle_jack().

| def guild_dues.GuildDues.do_pay | ( | self, | |
| text | |||
| ) |
Handle player paying dues to the guild.
Definition at line 226 of file guild_dues.py.
References guild_dues.GuildDues.accountname, guild_dues.GuildDues.guildname, CFGuilds.CFGuild.guildname, and make_face_from_files.int.
Referenced by guild_dues.GuildDues.handle_jack().

| def guild_dues.GuildDues.do_withdraw | ( | self, | |
| text | |||
| ) |
Definition at line 259 of file guild_dues.py.
References guild_dues.GuildDues.accountname, CFGuildClearance.CheckClearance(), guild_dues.formatted_amount(), guild_dues.GuildDues.guildname, CFGuilds.CFGuild.guildname, make_face_from_files.int, and make_face_from_files.str.
Referenced by guild_dues.GuildDues.handle_jack().


| def guild_dues.GuildDues.handle | ( | self | ) |
Main handling function
Definition at line 331 of file guild_dues.py.
References guild_dues.GuildDues.guildname, and CFGuilds.CFGuild.guildname.
| def guild_dues.GuildDues.handle_jack | ( | self | ) |
Handle Jack, the guild helper
Definition at line 297 of file guild_dues.py.
References guild_dues.GuildDues.do_balance(), guild_dues.GuildDues.do_buy(), guild_dues.GuildDues.do_help(), guild_dues.GuildDues.do_mailscroll(), guild_dues.GuildDues.do_pay(), guild_dues.GuildDues.do_withdraw(), and split().

| guild_dues.GuildDues.accountname |
Definition at line 338 of file guild_dues.py.
Referenced by guild_dues.GuildDues.do_balance(), guild_dues.GuildDues.do_buy(), guild_dues.GuildDues.do_pay(), and guild_dues.GuildDues.do_withdraw().
| guild_dues.GuildDues.guildname |
Definition at line 78 of file guild_dues.py.
Referenced by guild_dues.GuildDues.do_buy(), guild_dues.GuildDues.do_help(), guild_dues.GuildDues.do_pay(), guild_dues.GuildDues.do_withdraw(), and guild_dues.GuildDues.handle().