C# Class invertika_account.Chat.Guild

Afficher le fichier Open project: Invertika/server Class Usage Examples

Méthodes publiques

Méthode Description
Guild ( string name ) : System
addInvited ( int playerId ) : void
addMember ( int playerId, int permissions ) : void
canInvite ( int playerId ) : bool
checkInGuild ( int playerId ) : bool
checkInvited ( int playerId ) : bool
getId ( ) : int

Returns the ID of the guild.

getMembers ( ) : List

Returns a list of the members in this guild.

getName ( ) : string

Returns the name of the guild.

getOwner ( ) : int
getUserPermissions ( int playerId ) : int
memberCount ( ) : int

Returns the number of members in the guild.

removeMember ( int playerId ) : void
setId ( int id ) : void
setOwner ( int playerId ) : void
setUserPermissions ( int playerId, int level ) : void

Private Methods

Méthode Description
getMember ( int playerId ) : invertika_account.Chat.GuildMember

Method Details

Guild() public méthode

public Guild ( string name ) : System
name string
Résultat System

addInvited() public méthode

public addInvited ( int playerId ) : void
playerId int
Résultat void

addMember() public méthode

public addMember ( int playerId, int permissions ) : void
playerId int
permissions int
Résultat void

canInvite() public méthode

public canInvite ( int playerId ) : bool
playerId int
Résultat bool

checkInGuild() public méthode

public checkInGuild ( int playerId ) : bool
playerId int
Résultat bool

checkInvited() public méthode

public checkInvited ( int playerId ) : bool
playerId int
Résultat bool

getId() public méthode

Returns the ID of the guild.
public getId ( ) : int
Résultat int

getMembers() public méthode

Returns a list of the members in this guild.
public getMembers ( ) : List
Résultat List

getName() public méthode

Returns the name of the guild.
public getName ( ) : string
Résultat string

getOwner() public méthode

public getOwner ( ) : int
Résultat int

getUserPermissions() public méthode

public getUserPermissions ( int playerId ) : int
playerId int
Résultat int

memberCount() public méthode

Returns the number of members in the guild.
public memberCount ( ) : int
Résultat int

removeMember() public méthode

public removeMember ( int playerId ) : void
playerId int
Résultat void

setId() public méthode

public setId ( int id ) : void
id int
Résultat void

setOwner() public méthode

public setOwner ( int playerId ) : void
playerId int
Résultat void

setUserPermissions() public méthode

public setUserPermissions ( int playerId, int level ) : void
playerId int
level int
Résultat void