C# Class SagaMap.Quest.QuestsManager

Afficher le fichier Open project: Willyham/SagaRO2 Class Usage Examples

Méthodes publiques

Свойство Type Description
Enemys Dictionary>>
MobQuestItem List>.Dictionary
QuestItem Dictionary>>
WayPoints Dictionary>>

Méthodes publiques

Méthode Description
AddEnemyInfo ( uint QID, uint SID, byte SubSID, List MobID, byte ammount ) : void
AddMobLoot ( uint mob, uint QID, uint sID, int itemID, uint rate ) : void
AddQuestItem ( uint QID, uint SID, byte SubSID, uint ItemID, byte ammount ) : void
GetActivePersonalQuest ( ActorPC pc ) : SagaDB.Quest.Quest
GetActiveQuest ( ActorPC pc ) : SagaDB.Quest.Quest
GetNPCIcon ( ActorPC pc, Npc npc ) : byte
GetQuestStepStatus ( ActorPC pc, uint id, uint step ) : byte
SendNavPoint ( ActorPC pc ) : void
SetQuestStepStatus ( ActorPC pc, uint id, uint step, byte status ) : void
UpdateEnemyInfo ( ActorPC pc, uint MobID ) : void
UpdateEnemyInfo ( ActorPC pc, uint MobID, bool maploded ) : void
UpdateQuestItem ( ActorPC pc ) : void
UpdateQuestItem ( ActorPC pc, bool maploaded ) : void
ifCompletedPersonalQuest ( ActorPC pc, uint id ) : bool
ifCompletedQuest ( ActorPC pc, uint id ) : bool
ifGotQuest ( ActorPC pc, uint id ) : bool

Private Methods

Méthode Description
UpdateEnemyInfoSub ( ActorPC pc, uint MobID, SagaDB quest, bool maploded ) : void
UpdateQuestItemSub ( ActorPC pc, SagaDB quest, bool maploaded ) : void

Method Details

AddEnemyInfo() public static méthode

public static AddEnemyInfo ( uint QID, uint SID, byte SubSID, List MobID, byte ammount ) : void
QID uint
SID uint
SubSID byte
MobID List
ammount byte
Résultat void

AddMobLoot() public static méthode

public static AddMobLoot ( uint mob, uint QID, uint sID, int itemID, uint rate ) : void
mob uint
QID uint
sID uint
itemID int
rate uint
Résultat void

AddQuestItem() public static méthode

public static AddQuestItem ( uint QID, uint SID, byte SubSID, uint ItemID, byte ammount ) : void
QID uint
SID uint
SubSID byte
ItemID uint
ammount byte
Résultat void

GetActivePersonalQuest() public static méthode

public static GetActivePersonalQuest ( ActorPC pc ) : SagaDB.Quest.Quest
pc SagaDB.Actors.ActorPC
Résultat SagaDB.Quest.Quest

GetActiveQuest() public static méthode

public static GetActiveQuest ( ActorPC pc ) : SagaDB.Quest.Quest
pc SagaDB.Actors.ActorPC
Résultat SagaDB.Quest.Quest

GetNPCIcon() public static méthode

public static GetNPCIcon ( ActorPC pc, Npc npc ) : byte
pc SagaDB.Actors.ActorPC
npc Npc
Résultat byte

GetQuestStepStatus() public static méthode

public static GetQuestStepStatus ( ActorPC pc, uint id, uint step ) : byte
pc SagaDB.Actors.ActorPC
id uint
step uint
Résultat byte

SendNavPoint() public static méthode

public static SendNavPoint ( ActorPC pc ) : void
pc SagaDB.Actors.ActorPC
Résultat void

SetQuestStepStatus() public static méthode

public static SetQuestStepStatus ( ActorPC pc, uint id, uint step, byte status ) : void
pc SagaDB.Actors.ActorPC
id uint
step uint
status byte
Résultat void

UpdateEnemyInfo() public static méthode

public static UpdateEnemyInfo ( ActorPC pc, uint MobID ) : void
pc SagaDB.Actors.ActorPC
MobID uint
Résultat void

UpdateEnemyInfo() public static méthode

public static UpdateEnemyInfo ( ActorPC pc, uint MobID, bool maploded ) : void
pc SagaDB.Actors.ActorPC
MobID uint
maploded bool
Résultat void

UpdateQuestItem() public static méthode

public static UpdateQuestItem ( ActorPC pc ) : void
pc SagaDB.Actors.ActorPC
Résultat void

UpdateQuestItem() public static méthode

public static UpdateQuestItem ( ActorPC pc, bool maploaded ) : void
pc SagaDB.Actors.ActorPC
maploaded bool
Résultat void

ifCompletedPersonalQuest() public static méthode

public static ifCompletedPersonalQuest ( ActorPC pc, uint id ) : bool
pc SagaDB.Actors.ActorPC
id uint
Résultat bool

ifCompletedQuest() public static méthode

public static ifCompletedQuest ( ActorPC pc, uint id ) : bool
pc SagaDB.Actors.ActorPC
id uint
Résultat bool

ifGotQuest() public static méthode

public static ifGotQuest ( ActorPC pc, uint id ) : bool
pc SagaDB.Actors.ActorPC
id uint
Résultat bool

Property Details

Enemys public_oe static_oe property

public static Dictionary>> Enemys
Résultat Dictionary>>

MobQuestItem public_oe static_oe property

public static Dictionary> MobQuestItem
Résultat List>.Dictionary

QuestItem public_oe static_oe property

public static Dictionary>> QuestItem
Résultat Dictionary>>

WayPoints public_oe static_oe property

public static Dictionary>> WayPoints
Résultat Dictionary>>