Crossfire Server, Trunk
guild_dues.GuildDues Class Reference
+ Collaboration diagram for guild_dues.GuildDues:

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
 

Detailed Description

Definition at line 72 of file guild_dues.py.

Constructor & Destructor Documentation

◆ __init__()

def guild_dues.GuildDues.__init__ (   self)
Standard constructor

Definition at line 73 of file guild_dues.py.

Member Function Documentation

◆ do_balance()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ do_buy()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ do_help()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ do_mailscroll()

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().

+ Here is the caller graph for this function:

◆ do_pay()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ do_withdraw()

def guild_dues.GuildDues.do_withdraw (   self,
  text 
)

◆ handle()

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.

◆ handle_jack()

def guild_dues.GuildDues.handle_jack (   self)

Field Documentation

◆ accountname

◆ guildname


The documentation for this class was generated from the following file: