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

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
 

Detailed Description

Definition at line 75 of file guild_dues.py.

Constructor & Destructor Documentation

◆ __init__()

def guild_dues.GuildDues.__init__ (   self)
Standard constructor

Definition at line 76 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 220 of file guild_dues.py.

References guild_dues.GuildDues.accountname, and guild_dues.formatted_amount().

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

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

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 331 of file guild_dues.py.

References guild_dues.GuildDues.guildname, and CFGuilds.CFGuild.guildname.

◆ handle_jack()

def guild_dues.GuildDues.handle_jack (   self)

Member Data Documentation

◆ accountname

◆ guildname


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