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

Public Member Functions

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

Data Fields

 count
 

Detailed Description

Definition at line 98 of file campaign_lib.py.

Constructor & Destructor Documentation

def __init__ (   self)

Definition at line 99 of file campaign_lib.py.

99 
100  def __init__(self):
101  Condition.__init__(self)
102  self.count=-1

Member Function Documentation

def __call__ (   self)

Definition at line 103 of file campaign_lib.py.

References HasUndocked.count, debug.debug, server.getDocked(), and locale.str().

104  def __call__(self):
105  if VS.isserver():
106  import server
107  return server.getDocked(VS.getPlayer())==None
108 
109  global fixerloaded
110 
111  import fixers
112  debug.debug('*** HasUndocked check false')
113  if self.count==-1:
114  self.count=fixerloaded
115  return False
116  else:
117  debug.debug("FIXER LOADED:"+str(fixerloaded)+', '+str(self.count))
118  return fixerloaded!=self.count

Field Documentation

count

Definition at line 101 of file campaign_lib.py.


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