Crossfire Server, Trunk
CFItemBroker.Item Class Reference
+ Collaboration diagram for CFItemBroker.Item:

Public Member Functions

def __init__ (self, object)
 
def add (self, number)
 
def quantity (self)
 
def subtract (self, number)
 

Data Fields

 numberof
 
 object
 

Detailed Description

Definition at line 15 of file CFItemBroker.py.

Constructor & Destructor Documentation

◆ __init__()

def CFItemBroker.Item.__init__ (   self,
  object 
)

Definition at line 17 of file CFItemBroker.py.

Member Function Documentation

◆ add()

def CFItemBroker.Item.add (   self,
  number 
)

Definition at line 24 of file CFItemBroker.py.

References CFItemBroker.Item.numberof, and CFItemBroker.Item.object.

◆ quantity()

def CFItemBroker.Item.quantity (   self)

Definition at line 40 of file CFItemBroker.py.

References CFItemBroker.Item.numberof.

◆ subtract()

def CFItemBroker.Item.subtract (   self,
  number 
)

Definition at line 29 of file CFItemBroker.py.

References CFItemBroker.Item.numberof, and CFItemBroker.Item.object.

Field Documentation

◆ numberof

CFItemBroker.Item.numberof

◆ object

CFItemBroker.Item.object

Definition at line 18 of file CFItemBroker.py.

Referenced by CFItemBroker.Item.add(), and CFItemBroker.Item.subtract().


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