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

Public Member Functions

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

Static Public Attributes

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

Additional Inherited Members

- Data Fields inherited from Argument
 warnings
 
 value
 
 nextarg
 

Detailed Description

Definition at line 237 of file verify_missions.py.

Member Function Documentation

def checkValidity (   self)

Definition at line 241 of file verify_missions.py.

References locale.str(), SaveVariableCondition.value, _Stop.value, Argument.value, ErrorDuringImport.value, Boolean.value, DateTime.value, MiniFieldStorage.value, SetSaveVariable.value, Morsel.value, GUIRadioButton.value, Argument.warn(), and Traverser.warn().

242  def checkValidity(self):
243  if type(self.value)!=type(()) and type(self.value)!=type([]):
244  self.warn(str(self.value)+" is not a tuple")
245  return False
246  for value in self.value:
247  if value not in VS._factions:
248  self.warn("'%s' is not a valid faction"%value)
249  return False
250  return True

Field Documentation

string NAME = "Faction"
static

Definition at line 239 of file verify_missions.py.


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