C# Class SagaMap.Quest.QuestsManager

Mostrar archivo Open project: Willyham/SagaRO2 Class Usage Examples

Public Properties

Property Type Description
Enemys Dictionary>>
MobQuestItem List>.Dictionary
QuestItem Dictionary>>
WayPoints Dictionary>>

Public Methods

Method 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

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

Method Details

AddEnemyInfo() public static method

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

AddMobLoot() public static method

public static AddMobLoot ( uint mob, uint QID, uint sID, int itemID, uint rate ) : void
mob uint
QID uint
sID uint
itemID int
rate uint
return void

AddQuestItem() public static method

public static AddQuestItem ( uint QID, uint SID, byte SubSID, uint ItemID, byte ammount ) : void
QID uint
SID uint
SubSID byte
ItemID uint
ammount byte
return void

GetActivePersonalQuest() public static method

public static GetActivePersonalQuest ( ActorPC pc ) : SagaDB.Quest.Quest
pc SagaDB.Actors.ActorPC
return SagaDB.Quest.Quest

GetActiveQuest() public static method

public static GetActiveQuest ( ActorPC pc ) : SagaDB.Quest.Quest
pc SagaDB.Actors.ActorPC
return SagaDB.Quest.Quest

GetNPCIcon() public static method

public static GetNPCIcon ( ActorPC pc, Npc npc ) : byte
pc SagaDB.Actors.ActorPC
npc Npc
return byte

GetQuestStepStatus() public static method

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

SendNavPoint() public static method

public static SendNavPoint ( ActorPC pc ) : void
pc SagaDB.Actors.ActorPC
return void

SetQuestStepStatus() public static method

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

UpdateEnemyInfo() public static method

public static UpdateEnemyInfo ( ActorPC pc, uint MobID ) : void
pc SagaDB.Actors.ActorPC
MobID uint
return void

UpdateEnemyInfo() public static method

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

UpdateQuestItem() public static method

public static UpdateQuestItem ( ActorPC pc ) : void
pc SagaDB.Actors.ActorPC
return void

UpdateQuestItem() public static method

public static UpdateQuestItem ( ActorPC pc, bool maploaded ) : void
pc SagaDB.Actors.ActorPC
maploaded bool
return void

ifCompletedPersonalQuest() public static method

public static ifCompletedPersonalQuest ( ActorPC pc, uint id ) : bool
pc SagaDB.Actors.ActorPC
id uint
return bool

ifCompletedQuest() public static method

public static ifCompletedQuest ( ActorPC pc, uint id ) : bool
pc SagaDB.Actors.ActorPC
id uint
return bool

ifGotQuest() public static method

public static ifGotQuest ( ActorPC pc, uint id ) : bool
pc SagaDB.Actors.ActorPC
id uint
return bool

Property Details

Enemys public_oe static_oe property

public static Dictionary>> Enemys
return Dictionary>>

MobQuestItem public_oe static_oe property

public static Dictionary> MobQuestItem
return List>.Dictionary

QuestItem public_oe static_oe property

public static Dictionary>> QuestItem
return Dictionary>>

WayPoints public_oe static_oe property

public static Dictionary>> WayPoints
return Dictionary>>