Class Bzflag::Player
In: bzRuby.cpp
Parent: Object

Methods

admin?   bz_id   callsign   current_flag   email   flag_history   global_user?   grant_perm   groups   has_perm?   ip_address   lag   losses   new   op?   player_id   pos   revoke_perm   rot   spawned?   team   team_kills   verified?   wins  

Public Class methods

This method returns a player object from the given player id.

Public Instance methods

This method returns true if the player is an admin, else it returns false

This method returns the bz id of the player

This method returns the callsign of the player.

This method returns the current flag of the player.

This method returns the email of the player.

This method returns the flag history list of a player

This method returns true if the player is a global user, else it returns false

This method grants the specified perm to the player and returns true on success, false if unsuccesfull.

This method returns a list of groups where the player is in

This method returns true if the player has the given perm, else itreturnsfalse

Returns the ip address which got banned.

This method returns the lag value of the player

This method returns the losses value of the player

This method returns true if the player is an operator, else it returns false

This method returns the player id of the player.

This method returns the current position of the player.

This method revokes the specified perm to the player and returns true on success, false if unsuccesfull.

This method returns the current rotation angle of the player.

This method returns true if the player is spawned, else it returns false

This method returns the team of the player.

This method returns the teamkill value of the player

This method returns true if the player is verified, else it returns false

This method returns the win value of the player

[Validate]