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

Public Member Functions

def __init__ (self, bankfile)
 
def get (self, name, default=0)
 
def remove_record (self, name)
 
def store (self, name, value)
 

Data Fields

 bankdb
 
 bankdb_file
 

Static Public Attributes

dictionary bankdb = {}
 

Detailed Description

Definition at line 29 of file CFDataBase.py.

Constructor & Destructor Documentation

◆ __init__()

def CFDataBase.CFDataBase.__init__ (   self,
  bankfile 
)

Definition at line 32 of file CFDataBase.py.

Member Function Documentation

◆ get()

def CFDataBase.CFDataBase.get (   self,
  name,
  default = 0 
)

Definition at line 44 of file CFDataBase.py.

References CFBank.CFBank.bankdb, and CFDataBase.CFDataBase.bankdb.

◆ remove_record()

def CFDataBase.CFDataBase.remove_record (   self,
  name 
)

Definition at line 47 of file CFDataBase.py.

References CFBank.CFBank.bankdb, and CFDataBase.CFDataBase.bankdb.

◆ store()

def CFDataBase.CFDataBase.store (   self,
  name,
  value 
)

Definition at line 36 of file CFDataBase.py.

References CFBank.CFBank.bankdb, and CFDataBase.CFDataBase.bankdb.

Field Documentation

◆ bankdb [1/2]

dictionary CFDataBase.CFDataBase.bankdb = {}
static

◆ bankdb [2/2]

CFDataBase.CFDataBase.bankdb

Definition at line 34 of file CFDataBase.py.

◆ bankdb_file

CFDataBase.CFDataBase.bankdb_file

Definition at line 33 of file CFDataBase.py.


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