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

Public Member Functions

def checkValidity
 
- Public Member Functions inherited from Argument
def __init__
 
def set
 
def isValid
 
def checkValidity
 
def warn
 
def printwarnings
 

Data Fields

 value
 
- Data Fields inherited from Argument
 warnings
 
 value
 
 nextarg
 

Static Public Attributes

string NAME = "SaveVar"
 
- Static Public Attributes inherited from Argument
string NAME = "Argument"
 

Detailed Description

Definition at line 210 of file verify_missions.py.

Member Function Documentation

def checkValidity (   self)

Definition at line 214 of file verify_missions.py.

References SaveVariableCondition.value, _Stop.value, Argument.value, ErrorDuringImport.value, Boolean.value, DateTime.value, MiniFieldStorage.value, SetSaveVariable.value, Morsel.value, and GUIRadioButton.value.

215  def checkValidity(self):
216  global campaign_name
217  campvar=self.value.find("_mission")
218  if campvar!=-1 and self.value[0:campvar] in campaign_name:
219  return True
220  elif self.value.find("visited_") == 0:
221  temparg=System(None,self.value[8:])#FIXME hellcatv added
222  if temparg.isValid():
223  return True
224  elif self.value=="menesch_dead" or self.value=="jones_dead" or self.value=="awacs_escort":
225  return True
226  self.warn("%s is not valid"%self.value)
227  return False

Field Documentation

string NAME = "SaveVar"
static

Definition at line 212 of file verify_missions.py.

value

Definition at line 223 of file verify_missions.py.


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