C# Class Server.Guilds.Guild

Inheritance: BaseGuild
Datei anzeigen Open project: Grimoric/RunUO.T2A Class Usage Examples

Public Properties

Property Type Description
AbbrevLimit int
InactiveTime System.TimeSpan
MajorityPercentage int
NameLimit int
RegistrationFee int

Private Properties

Property Type Description
GuildProps_OnCommand void
VerifyGuild_Callback void

Public Methods

Method Description
AddAlly ( Guild g ) : void
AddEnemy ( Guild g ) : void
AddMember ( Server.Mobile m ) : void
CalculateGuildmaster ( ) : void
CanBeVotedFor ( Server.Mobile m ) : bool
CanVote ( Server.Mobile m ) : bool
CheckExpiredWars ( ) : void
Configure ( ) : void
Deserialize ( Server.GenericReader reader ) : void
Disband ( ) : void
EventSink_CreateGuild ( CreateGuildEventArgs args ) : BaseGuild
FindActiveWar ( Guild g ) : WarDeclaration
FindPendingWar ( Guild g ) : WarDeclaration
GetAllianceLeader ( Guild g ) : Guild
Guild ( Server.Mobile leader, string name, string abbreviation ) : System
Guild ( int id ) : System
GuildChat ( Server.Mobile from, int hue, string text ) : void
GuildChat ( Server.Mobile from, string text ) : void
GuildMessage ( int number ) : void
GuildMessage ( int num, bool append, string format ) : void
GuildMessage ( int number, bool append, string affix, string args ) : void
GuildMessage ( int number, bool append, string affix, string args, int hue ) : void
GuildMessage ( int number, string args ) : void
GuildMessage ( int number, string args, int hue ) : void
GuildTextMessage ( int hue, string text ) : void
GuildTextMessage ( string text ) : void
HandleDeath ( Server.Mobile victim ) : void
HandleDeath ( Server.Mobile victim, Server.Mobile killer ) : void
InvalidateMemberNotoriety ( ) : void
InvalidateMemberProperties ( ) : void
InvalidateMemberProperties ( bool onlyOPL ) : void
InvalidateWarNotoriety ( ) : void
IsAlly ( Guild g ) : bool
IsEnemy ( Guild g ) : bool
IsMember ( Server.Mobile m ) : bool
IsWar ( Guild g ) : bool
OnDelete ( Server.Mobile mob ) : void
RemoveAlly ( Guild g ) : void
RemoveEnemy ( Guild g ) : void
RemoveMember ( Server.Mobile m ) : void
RemoveMember ( Server.Mobile m, int message ) : void
Serialize ( Server.GenericWriter writer ) : void

Private Methods

Method Description
GuildProps_OnCommand ( CommandEventArgs e ) : void
VerifyGuild_Callback ( ) : void

Method Details

AddAlly() public method

public AddAlly ( Guild g ) : void
g Guild
return void

AddEnemy() public method

public AddEnemy ( Guild g ) : void
g Guild
return void

AddMember() public method

public AddMember ( Server.Mobile m ) : void
m Server.Mobile
return void

CalculateGuildmaster() public method

public CalculateGuildmaster ( ) : void
return void

CanBeVotedFor() public method

public CanBeVotedFor ( Server.Mobile m ) : bool
m Server.Mobile
return bool

CanVote() public method

public CanVote ( Server.Mobile m ) : bool
m Server.Mobile
return bool

CheckExpiredWars() public method

public CheckExpiredWars ( ) : void
return void

Configure() public static method

public static Configure ( ) : void
return void

Deserialize() public method

public Deserialize ( Server.GenericReader reader ) : void
reader Server.GenericReader
return void

Disband() public method

public Disband ( ) : void
return void

EventSink_CreateGuild() public static method

public static EventSink_CreateGuild ( CreateGuildEventArgs args ) : BaseGuild
args Server.CreateGuildEventArgs
return BaseGuild

FindActiveWar() public method

public FindActiveWar ( Guild g ) : WarDeclaration
g Guild
return WarDeclaration

FindPendingWar() public method

public FindPendingWar ( Guild g ) : WarDeclaration
g Guild
return WarDeclaration

GetAllianceLeader() public static method

public static GetAllianceLeader ( Guild g ) : Guild
g Guild
return Guild

Guild() public method

public Guild ( Server.Mobile leader, string name, string abbreviation ) : System
leader Server.Mobile
name string
abbreviation string
return System

Guild() public method

public Guild ( int id ) : System
id int
return System

GuildChat() public method

public GuildChat ( Server.Mobile from, int hue, string text ) : void
from Server.Mobile
hue int
text string
return void

GuildChat() public method

public GuildChat ( Server.Mobile from, string text ) : void
from Server.Mobile
text string
return void

GuildMessage() public method

public GuildMessage ( int number ) : void
number int
return void

GuildMessage() public method

public GuildMessage ( int num, bool append, string format ) : void
num int
append bool
format string
return void

GuildMessage() public method

public GuildMessage ( int number, bool append, string affix, string args ) : void
number int
append bool
affix string
args string
return void

GuildMessage() public method

public GuildMessage ( int number, bool append, string affix, string args, int hue ) : void
number int
append bool
affix string
args string
hue int
return void

GuildMessage() public method

public GuildMessage ( int number, string args ) : void
number int
args string
return void

GuildMessage() public method

public GuildMessage ( int number, string args, int hue ) : void
number int
args string
hue int
return void

GuildTextMessage() public method

public GuildTextMessage ( int hue, string text ) : void
hue int
text string
return void

GuildTextMessage() public method

public GuildTextMessage ( string text ) : void
text string
return void

HandleDeath() public static method

public static HandleDeath ( Server.Mobile victim ) : void
victim Server.Mobile
return void

HandleDeath() public static method

public static HandleDeath ( Server.Mobile victim, Server.Mobile killer ) : void
victim Server.Mobile
killer Server.Mobile
return void

InvalidateMemberNotoriety() public method

public InvalidateMemberNotoriety ( ) : void
return void

InvalidateMemberProperties() public method

public InvalidateMemberProperties ( ) : void
return void

InvalidateMemberProperties() public method

public InvalidateMemberProperties ( bool onlyOPL ) : void
onlyOPL bool
return void

InvalidateWarNotoriety() public method

public InvalidateWarNotoriety ( ) : void
return void

IsAlly() public method

public IsAlly ( Guild g ) : bool
g Guild
return bool

IsEnemy() public method

public IsEnemy ( Guild g ) : bool
g Guild
return bool

IsMember() public method

public IsMember ( Server.Mobile m ) : bool
m Server.Mobile
return bool

IsWar() public method

public IsWar ( Guild g ) : bool
g Guild
return bool

OnDelete() public method

public OnDelete ( Server.Mobile mob ) : void
mob Server.Mobile
return void

RemoveAlly() public method

public RemoveAlly ( Guild g ) : void
g Guild
return void

RemoveEnemy() public method

public RemoveEnemy ( Guild g ) : void
g Guild
return void

RemoveMember() public method

public RemoveMember ( Server.Mobile m ) : void
m Server.Mobile
return void

RemoveMember() public method

public RemoveMember ( Server.Mobile m, int message ) : void
m Server.Mobile
message int
return void

Serialize() public method

public Serialize ( Server.GenericWriter writer ) : void
writer Server.GenericWriter
return void

Property Details

AbbrevLimit public_oe static_oe property

public static int AbbrevLimit
return int

InactiveTime public_oe static_oe property

public static TimeSpan,System InactiveTime
return System.TimeSpan

MajorityPercentage public_oe static_oe property

public static int MajorityPercentage
return int

NameLimit public_oe static_oe property

public static int NameLimit
return int

RegistrationFee public_oe static_oe property

public static int RegistrationFee
return int