³ò
šõÜNc           @   sl   d  Z  d d k Z d d k l Z d d k l Z d „  Z d „  Z d „  Z d „  Z	 d	 „  Z
 d
 „  Z d S(   sj   
$Rev: 572 $
$LastChangedBy: satoon101 $
$LastChangedDate: 2011-10-24 12:25:43 -0400 (Mon, 24 Oct 2011) $
iÿÿÿÿN(   t   remove_return_chars(   t   LeaderManagerc         C   s   t  ƒ  i |  ƒ S(   N(   R   t	   is_leader(   t   userid(    (    sZ   /home/saberrider/srcds/css/cstrike/addons/eventscripts/gungame51/core/leaders/shortcuts.pyR      s    c           C   s   t  t ƒ  i ƒ S(   s   Returns the amount of leaders.(   t   lenR   t   current(    (    (    sZ   /home/saberrider/srcds/css/cstrike/addons/eventscripts/gungame51/core/leaders/shortcuts.pyt   get_leader_count   s    c           C   s
   t  ƒ  i S(   s-   Returns the userids of the current leader(s).(   R   R   (    (    (    sZ   /home/saberrider/srcds/css/cstrike/addons/eventscripts/gungame51/core/leaders/shortcuts.pyt   get_leader_list    s    c          C   s1   g  }  t  ƒ  D] } |  t t i | ƒ ƒ q ~  S(   s+   Returns the names of the current leader(s).(   R   R    t   est   getplayername(   t   _[1]t   x(    (    sZ   /home/saberrider/srcds/css/cstrike/addons/eventscripts/gungame51/core/leaders/shortcuts.pyt   get_leader_names&   s    c           C   s
   t  ƒ  i S(   s!   Returns the current leader level.(   R   t   leaderlevel(    (    (    sZ   /home/saberrider/srcds/css/cstrike/addons/eventscripts/gungame51/core/leaders/shortcuts.pyt   get_leader_level,   s    c           C   s   t  ƒ  i ƒ  d S(   s!   Resets the internal leader lists.N(   R   t   reset(    (    (    sZ   /home/saberrider/srcds/css/cstrike/addons/eventscripts/gungame51/core/leaders/shortcuts.pyt   reset_leaders1   s    (   t   __doc__R   t   gungame51.coreR    t   gungame51.core.leadersR   R   R   R   R   R   R   (    (    (    sZ   /home/saberrider/srcds/css/cstrike/addons/eventscripts/gungame51/core/leaders/shortcuts.pys   <module>   s   					