Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
MissionVerifier Class Reference
Inheritance diagram for MissionVerifier:
AmbushScan AmbushVerifier BountyLeaderVerifier BountyTroopVerifier BountyVerifier CargoVerifier CleansweepEscortVerifier CleansweepVerifier DefendDroneVerifier DefendVerifier DirectionsVerifier EscortLocalVerifier EscortVerifier PatrolAmbushVerifier PatrolEnemiesVerifier PatrolVerifier PlunderVerifier RescueVerifier TailVerifier TripatrolVerifier WrongEscortVerifier

Public Member Functions

def __init__
 
def isValid
 
def warn
 

Data Fields

 origargs
 
 args
 

Static Public Attributes

list MISSION_ARGS = []
 

Detailed Description

Definition at line 379 of file verify_missions.py.

Constructor & Destructor Documentation

def __init__ (   self,
  newargs 
)

Definition at line 383 of file verify_missions.py.

384  def __init__(self, newargs):
385  self.origargs = newargs
386  self.args = self.MISSION_ARGS
387  givenargs = False
388  try:
389  givenargs = not len(newargs) == 0
390  except:
391  pass
392  if len(newargs) > len(self.args):
393  raise RuntimeError("More arguments given than this object supports")
394  if givenargs:
395  for i in range(len(newargs)):
396  self.args[i].set(newargs[i])

Member Function Documentation

def isValid (   self)

Definition at line 397 of file verify_missions.py.

References SMTPResponseException.args, SMTPSenderRefused.args, GenericBrowser.args, SMTPRecipientsRefused.args, MissionVerifier.args, _Timer.args, LoadMission.args, and MissionVerifier.origargs.

398  def isValid(self):
399  for a in self.args:
400  if not a.isValid():
401  print self.origargs
402  return False
403  return True
def warn (   self,
  text 
)

Definition at line 404 of file verify_missions.py.

405  def warn(self, text):
406  print "Mission Warning: " + text

Field Documentation

args

Definition at line 385 of file verify_missions.py.

list MISSION_ARGS = []
static

Definition at line 381 of file verify_missions.py.

origargs

Definition at line 384 of file verify_missions.py.


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