Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
IncSaveVariable Class Reference
Inheritance diagram for IncSaveVariable:
Script

Public Member Functions

def __init__
 
def __call__
 
- Public Member Functions inherited from Script
def __init__
 
def __call__
 

Data Fields

 name
 
- Data Fields inherited from Script
 nextscript
 

Detailed Description

Definition at line 407 of file campaign_lib.py.

Constructor & Destructor Documentation

def __init__ (   self,
  varname,
  nextscript = None 
)

Definition at line 408 of file campaign_lib.py.

409  def __init__(self,varname,nextscript=None):
410  Script.__init__(self,nextscript)
411  self.name=str(varname)

Member Function Documentation

def __call__ (   self,
  room,
  subnodes 
)

Definition at line 412 of file campaign_lib.py.

References debug.debug, campaign_lib.incSaveValue(), SaveVariableCondition.name, FileDelegate.name, Netscape.name, Class.name, Konqueror.name, Folder.name, MiniFieldStorage.name, SetSaveVariable.name, IncSaveVariable.name, and FieldStorage.name.

413  def __call__(self,room,subnodes):
414  Script.__call__(self,room,subnodes)
415  if VS.networked():
416  return True
417  debug.debug("*** Incrementing \'%s \'"%self.name)
418  incSaveValue(VS.getCurrentPlayer(),self.name)
419  return True

Field Documentation

name

Definition at line 410 of file campaign_lib.py.


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