Méthode | Description | |
---|---|---|
AddMember ( |
Adds creature to party and updates the clients.
|
|
AddMemberSilent ( |
Adds creature to party without updating the clients.
|
|
AutoChooseNextLeader ( ) : void |
Sets next leader automatically. Official gives the character that has been created for the longest period of time precedence. |
|
Broadcast ( Packet packet, bool useMemberEntityId = false, |
Sends the supplied packet to all members, with the option of replacing the EntityID with each member's personal ID, and excluding a specific creature.
|
|
ChangeExp ( PartyExpSharing rule ) : void |
Changes exp sharing rule.
|
|
ChangeFinish ( PartyFinishRule rule ) : void |
Change finishing rule.
|
|
ChangeSettings ( PartyType type, string name, string dungeonLevel, string info, string password, int maxSize ) : void |
Changes settings and updates clients.
|
|
CheckPassword ( string password ) : bool |
Returns true if password is correct or none is set.
|
|
Close ( ) : void |
Closes members wanted ad.
|
|
Create ( |
Creates new party with creature as leader.
|
|
CreateDummy ( |
Creates new dummy party for creature.
|
|
DisconnectedMember ( |
Deals with removing disconnected players from the party.
|
|
GetCreaturesOnAltar ( int regionId ) : List |
Returns a list of all members standing on the altar in the given region. This and other functions assume that there's only ever one altar per region. Should this change at any point, these functions have to be fixed. |
|
GetMember ( long entityId ) : |
Returns party member by entity id, or null if it doesn't exist.
|
|
GetMembers ( ) : Aura.Channel.World.Entities.Creature[] |
Returns list of all members.
|
|
GetMembersInRange ( |
Returns party members in range of given creature, but not the creature itself. 3000 is a total guess as to the actual visible range. |
|
GetMembersInRegion ( int regionId ) : List |
Returns a list of all members in the region specified.
|
|
GetSortedMembers ( ) : Aura.Channel.World.Entities.Creature[] |
Returns list of all members, sorted by their position in the party.
|
|
GetSortedMembers ( bool>.Func |
Returns list of all members that match the predicate, sorted by their position in the party.
|
|
Open ( ) : void |
Opens members wanted ad.
|
|
RemoveMember ( |
Removes creature from party if it's in it and updates the clients.
|
|
RemoveMemberSilent ( |
Removes creature from party without updating the clients.
|
|
SetDungeonLevel ( string dungeonLevel ) : void |
Sets dungeon level.
|
|
SetInfo ( string info ) : void |
Sets party info.
|
|
SetLeader ( |
Sets leader to given creature, if possible.
|
|
SetLeader ( long entitiyId ) : bool |
Sets leader to given entity, if possible.
|
|
SetMaxSize ( int size ) : void |
Sets party's max size.
|
|
SetName ( string name ) : void |
Sets party name. TODO: Kinda redundant, use property? |
|
SetPartyQuest ( Quest quest ) : void |
Sets party quest, removing previous ones and updating all members.
|
|
SetPassword ( string pass ) : void |
Sets party's password, set to empty string or null to disable.
|
|
SetType ( PartyType type ) : void |
Sets party type.
|
|
ToString ( ) : string |
Returns the party name in the format the Party Member Wanted functionality requires.
|
|
UnsetPartyQuest ( ) : bool |
Unsets party quest, removes it from all normal member's managers, and updates the clients. Returns false if no party quest was set.
|
Méthode | Description | |
---|---|---|
GetAvailableSlot ( ) : int |
Returns first available slot, throws if none are available. Check availability before adding members.
|
|
OnMinutesTimeTick ( |
Raised once every minute.
|
|
Party ( ) : Aura.Channel.Network.Sending |
Initializes party.
|
|
SetSettings ( PartyType type, string name, string dungeonLevel, string info, string password, int maxSize ) : void |
Sets given options without updating the clients.
|
public AddMember ( |
||
creature | ||
Résultat | void |
public AddMemberSilent ( |
||
creature | ||
Résultat | void |
public Broadcast ( Packet packet, bool useMemberEntityId = false, |
||
packet | Packet | |
useMemberEntityId | bool | |
exclude | ||
Résultat | void |
public ChangeExp ( PartyExpSharing rule ) : void | ||
rule | PartyExpSharing | |
Résultat | void |
public ChangeFinish ( PartyFinishRule rule ) : void | ||
rule | PartyFinishRule | |
Résultat | void |
public ChangeSettings ( PartyType type, string name, string dungeonLevel, string info, string password, int maxSize ) : void | ||
type | PartyType | |
name | string | |
dungeonLevel | string | |
info | string | |
password | string | |
maxSize | int | |
Résultat | void |
public CheckPassword ( string password ) : bool | ||
password | string | |
Résultat | bool |
public static Create ( |
||
creature | ||
type | PartyType | |
name | string | |
dungeonLevel | string | |
info | string | |
password | string | |
maxSize | int | |
Résultat |
public static CreateDummy ( |
||
creature | ||
Résultat |
public DisconnectedMember ( |
||
creature | ||
Résultat | void |
public GetCreaturesOnAltar ( int regionId ) : List |
||
regionId | int | |
Résultat | List |
public GetMember ( long entityId ) : |
||
entityId | long | |
Résultat |
public GetMembers ( ) : Aura.Channel.World.Entities.Creature[] | ||
Résultat | Aura.Channel.World.Entities.Creature[] |
public GetMembersInRange ( |
||
creature | Reference creature | |
range | int | Pass -1 for visual range. |
Résultat | List |
public GetMembersInRegion ( int regionId ) : List |
||
regionId | int | |
Résultat | List |
public GetSortedMembers ( ) : Aura.Channel.World.Entities.Creature[] | ||
Résultat | Aura.Channel.World.Entities.Creature[] |
public GetSortedMembers ( bool>.Func |
||
predicate | bool>.Func | |
Résultat | Aura.Channel.World.Entities.Creature[] |
public RemoveMember ( |
||
creature | ||
Résultat | void |
public RemoveMemberSilent ( |
||
creature | ||
Résultat | void |
public SetDungeonLevel ( string dungeonLevel ) : void | ||
dungeonLevel | string | |
Résultat | void |
public SetLeader ( |
||
creature | ||
Résultat | bool |
public SetPartyQuest ( Quest quest ) : void | ||
quest | Quest | |
Résultat | void |