Module sampy :: Class SAMPMsgReplierWrapper
[frames] | no frames]

Class SAMPMsgReplierWrapper

object --+
         |
        SAMPMsgReplierWrapper

Decorator class/function that allows to automatically grab errors and returned maps (if any) from a function bound to a SAMP call (or notify).

Instance Methods
 
__init__(self, cli)
Decorator initialization, accepting the instance of the client that receives the call or notification.
 
__call__(self, f)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, cli)
(Constructor)

 

Decorator initialization, accepting the instance of the client that receives the call or notification.

Parameters:
Overrides: object.__init__