C# Class invertika_account.Chat.Guild

Datei anzeigen Open project: Invertika/server Class Usage Examples

Public Methods

Method 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

Method Description
getMember ( int playerId ) : invertika_account.Chat.GuildMember

Method Details

Guild() public method

public Guild ( string name ) : System
name string
return System

addInvited() public method

public addInvited ( int playerId ) : void
playerId int
return void

addMember() public method

public addMember ( int playerId, int permissions ) : void
playerId int
permissions int
return void

canInvite() public method

public canInvite ( int playerId ) : bool
playerId int
return bool

checkInGuild() public method

public checkInGuild ( int playerId ) : bool
playerId int
return bool

checkInvited() public method

public checkInvited ( int playerId ) : bool
playerId int
return bool

getId() public method

Returns the ID of the guild.
public getId ( ) : int
return int

getMembers() public method

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

getName() public method

Returns the name of the guild.
public getName ( ) : string
return string

getOwner() public method

public getOwner ( ) : int
return int

getUserPermissions() public method

public getUserPermissions ( int playerId ) : int
playerId int
return int

memberCount() public method

Returns the number of members in the guild.
public memberCount ( ) : int
return int

removeMember() public method

public removeMember ( int playerId ) : void
playerId int
return void

setId() public method

public setId ( int id ) : void
id int
return void

setOwner() public method

public setOwner ( int playerId ) : void
playerId int
return void

setUserPermissions() public method

public setUserPermissions ( int playerId, int level ) : void
playerId int
level int
return void