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) |
Data Fields | |
accountname | |
guildname | |
Definition at line 72 of file guild_dues.py.
def guild_dues.GuildDues.__init__ | ( | self | ) |
Standard constructor
Definition at line 73 of file guild_dues.py.
def guild_dues.GuildDues.do_balance | ( | self | ) |
Handle the display of the guild's balance.
Definition at line 216 of file guild_dues.py.
References guild_dues.GuildDues.accountname, guild_dues.formatted_amount(), and CFBank.open().
Referenced by guild_dues.GuildDues.handle_jack().
def guild_dues.GuildDues.do_buy | ( | self, | |
text | |||
) |
Handles buying a guild extension
Definition at line 91 of file guild_dues.py.
References guild_dues.GuildDues.accountname, CFGuildClearance.CheckClearance(), guild_dues.FindCoin(), guild_dues.formatted_amount(), guild_dues.GuildDues.guildname, CFGuilds.CFGuild.guildname, and CFBank.open().
Referenced by guild_dues.GuildDues.handle_jack().
def guild_dues.GuildDues.do_help | ( | self | ) |
Handle the 'help' and 'yes' commands.
Definition at line 77 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 192 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 222 of file guild_dues.py.
References guild_dues.GuildDues.accountname, guild_dues.GuildDues.guildname, CFGuilds.CFGuild.guildname, make_face_from_files.int, and CFBank.open().
Referenced by guild_dues.GuildDues.handle_jack().
def guild_dues.GuildDues.do_withdraw | ( | self, | |
text | |||
) |
Definition at line 255 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, CFBank.open(), 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 327 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 293 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 333 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 75 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().