Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
FactionList Class Reference
Inheritance diagram for FactionList:
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 = "FactionList"
 
- Static Public Attributes inherited from Argument
string NAME = "Argument"
 

Detailed Description

Definition at line 281 of file verify_missions.py.

Member Function Documentation

def checkValidity (   self)

Definition at line 285 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.

286  def checkValidity(self):
287  if type(self.value)==type(""):
288  self.value=[self.value]
289  for val in self.value:
290  if val not in VS._factions:
291  self.warn("%s is not a valid faction"%val)
292  return False
293  return True

Field Documentation

string NAME = "FactionList"
static

Definition at line 283 of file verify_missions.py.

value

Definition at line 287 of file verify_missions.py.


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