_imports = [] _parents = [] _version = 1 #The avatar is the general mechanism by which information passes to and from motives and the game in general. def _Sys_Create(self, client): self._persist = True #For socket avatars, called after the socket has connected. def OnConnect(self): pass #For socket avatars, called when the client has gone linkdead. def OnLinkdeath(self): pass #For socket avatars, called when the MUD wants to disconnect the socket. def Disconnect(self): pass #Called when text leaves the MUD to the Avatar. def Send(self, message): pass #Called when event information passes to the Avatar. Used for AI avatars. def Event(self, event): pass def ExportCommands(self): return []