Gungame51.core.players.Player
From GunGame5 Documentation
(Difference between revisions)
Line 8: | Line 8: | ||
ggversion=5.1| | ggversion=5.1| | ||
- | description=| | + | description=This class is intended to be used as the class container for interaction with all GunGame-based player attributes. This class forwards to the stored [[gungame.core.players.PlayerDict|PlayerDict]] instance of the player's userid, which in return returns the stored player's instance of the [[gungame.core.players.BasePlayer|BasePlayer]] class.| |
shortexample=| | shortexample=| |
Revision as of 05:09, 28 April 2009
Contents |
Class: Player
Module: gungame.core.players
GunGame Version: 5.1
Overview
Description
This class is intended to be used as the class container for interaction with all GunGame-based player attributes. This class forwards to the stored PlayerDict instance of the player's userid, which in return returns the stored player's instance of the BasePlayer class.
Quick Example
Methods
- __init__(userid)
Static Methods
- addAttributeCallBack(attribute, function, addon)
- removeAttributeCallBack(attribute)
- removeCallBacksForAddon(addon)