Public Member Functions | Public Attributes

base.Avatar.Avatar Class Reference

Inherits Actor::Actor.

List of all members.

Public Member Functions

def __init__
def awardXp
def eventEntityKill
def assignProficiencyPoints
 assign a number of points to a proficiency, do all required effects processing and housekeeping
def doProficienciesAssign
 this is a client exposed function: very thoroughly validate the input list!
def rpcClientRequest
def onLogOnAttempt
def onEntitiesEnabled
 called once the client requests to receive cell updates: i.e the client is "online"
def onClientDeath
def onGetCell
 called once our cell entity has been successfully created
def onLoseCell
 called once our cell entity has been destroyed
def cb_writeToDB

Public Attributes

 requestProc
 isPlayer

Detailed Description

Definition at line 24 of file Avatar.py.


Member Function Documentation

def base.Avatar.Avatar.__init__ (   self  ) 

Definition at line 26 of file Avatar.py.

def base.Avatar.Avatar.assignProficiencyPoints (   self,
  listIndex,
  points 
)

assign a number of points to a proficiency, do all required effects processing and housekeeping

Parameters:
listIndex determines the proficiency to assign to
points is the number of proficiency points to assign

Definition at line 71 of file Avatar.py.

def base.Avatar.Avatar.awardXp (   self,
  Xp 
)

Definition at line 38 of file Avatar.py.

def base.Avatar.Avatar.cb_writeToDB (   self,
  success,
  base 
)

Definition at line 214 of file Avatar.py.

def base.Avatar.Avatar.doProficienciesAssign (   self,
  proficienciesList 
)

this is a client exposed function: very thoroughly validate the input list!

Parameters:
proficieniesList,: client side list containing all edits (=values > 0)

Definition at line 100 of file Avatar.py.

def base.Avatar.Avatar.eventEntityKill (   self,
  sourceId,
  Xp 
)

Definition at line 57 of file Avatar.py.

def base.Avatar.Avatar.onClientDeath (   self  ) 

Definition at line 182 of file Avatar.py.

def base.Avatar.Avatar.onEntitiesEnabled (   self  ) 

called once the client requests to receive cell updates: i.e the client is "online"

Note: self.cellData is automatically initialised by the System upon base creation 
        - per default its a dictionary initialised with the values from the entity.def file
        - we just overide position here 

Definition at line 157 of file Avatar.py.

def base.Avatar.Avatar.onGetCell (   self  ) 

called once our cell entity has been successfully created

Definition at line 200 of file Avatar.py.

def base.Avatar.Avatar.onLogOnAttempt (   self,
  ip,
  port,
  password 
)

Definition at line 151 of file Avatar.py.

def base.Avatar.Avatar.onLoseCell (   self  ) 

called once our cell entity has been destroyed

Definition at line 205 of file Avatar.py.

def base.Avatar.Avatar.rpcClientRequest (   self,
  reqCode,
  reqParams 
)

Definition at line 135 of file Avatar.py.


Member Data Documentation

Definition at line 163 of file Avatar.py.

Definition at line 31 of file Avatar.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties