Romestead Assembly Reference

CandideServer.ServerControllers.QuestsSController

Type JSON changed

public class in CandideServer.ServerControllers

Methods7
Properties0
Fields0
Events0
Type metadata
  • AssemblyCandideServer
  • NamespaceCandideServer.ServerControllers
  • Base typeSystem.Object
  • HashD3CC553D0015083B0CF344C2FC3B887A5443F38F963F090BA3BA73466B483129

Relationships

Base type

System.Object

Methods

CheckIfQuestObjectivesHaveBeenCompleted

private System.Void CheckIfQuestObjectivesHaveBeenCompleted(Shared.Models.Quests.QuestInstanceModel questInstance, Shared.Models.Quests.QuestData questData, QuestObjective.QuestObjectiveCheckContext context)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash79C833B8A1CE8A4E1FFBA69179248A2EC876630F688092482BAE2E8004772BB5
  • Body hash40095A86EC4B1DD425A9A078104C3D43600DE228169EF08E2FF47D945EEC0B11
  • IL size112
Referenced calls
Called by

CreateActivePersonalQuest

public Shared.Models.Quests.QuestInstanceModel CreateActivePersonalQuest(Shared.Models.Player.PlayerCharacterModel playerCharacter, Shared.Models.Quests.QuestData quest)

Method metadata
  • Visibilitypublic
  • Return typeShared.Models.Quests.QuestInstanceModel
  • StaticTrue
  • VirtualFalse
  • HashCAC225DAEC5CF16B71CDC21F2F0F7F5847058AC6F46C55B301544FD69D97DCF1
  • Body hash90A20AAAAC0A7985E4BAA13F73F768C9B842108ABC9C194CB9F39408CB6A32C5
  • IL size149
Referenced calls
Called by
String literals
  • Failed to add Active Personal Quest with ID:
  • to character with ID:
  • . Already added.

CreateActiveWorldQuest

public Shared.Models.Quests.QuestInstanceModel CreateActiveWorldQuest(Shared.Models.Quests.QuestData quest)

Method metadata
  • Visibilitypublic
  • Return typeShared.Models.Quests.QuestInstanceModel
  • StaticTrue
  • VirtualFalse
  • Hash87A3AFA09B978A4E7FA097FCBB33F3CDEEF63D315CBA53D620F0037972B0415A
  • Body hash48F3A457877A64C09E896A0843C066B170B4C05FEC4DF32AF429E82586B75641
  • IL size126
Referenced calls
Called by
String literals
  • Tried creating active world quest
  • but it is a non-repeatable quest and it is already marked as finished.
  • Failed to add Active World Quest with ID:
  • . Already exists in the game state.

OnGameStateLoaded

changed

public System.Void OnGameStateLoaded(CandideServer.GameDescription gameDescription)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash307066216EC838A3EFF637C46930E846F378096F4DCB27B108683F3068A85560
  • Body hash6BED2A8C08C55088EF74D63CF19B79EF38B9E424886BB42D78A7E8574BC77442
  • IL size992
Referenced calls
  • System.Collections.Generic.Dictionary<System.String, Shared.Models.Quests.QuestInstanceModel>::GetEnumerator()
  • Dictionary.Enumerator<System.String, Shared.Models.Quests.QuestInstanceModel>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.String, Shared.Models.Quests.QuestInstanceModel>::Deconstruct(!0&, !1&)
  • QuestsSController.<>c__DisplayClass6_0::.ctor()
  • Shared.Data.QuestsDataBase::GetQuestOrNull(System.String)
  • System.Collections.Generic.Dictionary<System.String, Shared.Models.Quests.QuestInstanceModel>::Remove(!0)
  • System.Linq.Enumerable::FirstOrDefault(System.Collections.Generic.IEnumerable<!!0>)
  • System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Dungeons.DungeonLocationModel>::get_Values()
  • Dictionary.ValueCollection<System.Guid, CandideServer.Models.Dungeons.DungeonLocationModel>::GetEnumerator()
  • Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.Dungeons.DungeonLocationModel>::get_Current()
  • System.String::op_Inequality(System.String, System.String)
  • Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.Dungeons.DungeonLocationModel>::MoveNext()
  • System.IDisposable::Dispose()
  • System.Collections.Generic.Dictionary<System.Guid, Shared.Models.Items.ItemInstanceModel>::get_Values()
  • Dictionary.ValueCollection<System.Guid, Shared.Models.Items.ItemInstanceModel>::GetEnumerator()
  • Dictionary.ValueCollection.Enumerator<System.Guid, Shared.Models.Items.ItemInstanceModel>::get_Current()
  • System.Nullable<System.Guid>::get_HasValue()
  • System.Nullable<System.Guid>::GetValueOrDefault()
  • Dictionary.ValueCollection.Enumerator<System.Guid, Shared.Models.Items.ItemInstanceModel>::MoveNext()
  • System.Guid::op_Equality(System.Guid, System.Guid)
  • System.Guid::op_Inequality(System.Guid, System.Guid)
  • System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Dungeons.DungeonLocationRoomModel>::get_Values()
  • Dictionary.ValueCollection<System.Guid, CandideServer.Models.Dungeons.DungeonLocationRoomModel>::GetEnumerator()
  • Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.Dungeons.DungeonLocationRoomModel>::get_Current()
  • System.Collections.Generic.Dictionary<System.Int32, System.Guid>::ContainsValue(!1)
  • Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.Dungeons.DungeonLocationRoomModel>::MoveNext()
  • QuestsSController.<>c__DisplayClass6_0::<OnGameStateLoaded>b__0()
  • System.Action::.ctor(System.Object, System.IntPtr)
  • CandideServer.ServerSystems.DelayedActionsServerSystem::Delay(System.Single, System.Action)
  • CandideServer.ServerControllers.QuestsSController::CheckIfQuestObjectivesHaveBeenCompleted(Shared.Models.Quests.QuestInstanceModel, Shared.Models.Quests.QuestData, QuestObjective.QuestObjectiveCheckContext)
  • Dictionary.Enumerator<System.String, Shared.Models.Quests.QuestInstanceModel>::MoveNext()
  • Shared.Data.QuestsDataBase::GetAllQuestsOfType(Shared.Models.Quests.QuestType)

QuestSetFinished

public System.Boolean QuestSetFinished(Shared.Models.Quests.QuestData questData, Shared.Models.Quests.QuestInstanceModel questInstance, System.Collections.Generic.Dictionary<System.String, Shared.Models.Quests.QuestInstanceModel>& activeCollection, System.Collections.Generic.HashSet<System.String>& finishedCollection)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash3529BB42FB08E457697726D57FBC61FFAFFDCEBFC70860841BD7D2B938B32CAD
  • Body hashC2E2571A55E941A0463572BCAB1932366357AA582D8627BB96FB56FB0C01EFD0
  • IL size80
Referenced calls
  • System.Collections.Generic.HashSet<System.String>::Contains(!0)
  • System.String::Concat(System.String, System.String, System.String)
  • CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)
  • System.Collections.Generic.HashSet<System.String>::Add(!0)
  • System.Collections.Generic.Dictionary<System.String, Shared.Models.Quests.QuestInstanceModel>::Remove(!0)
Called by
String literals
  • Can't finish quest with ID
  • since it's already part of the finished collection.

UpdateQuestInstancesWithEvent

public System.Collections.Generic.IEnumerable<CandideServer.MessageModels.Quests.UpdateQuestMessage> UpdateQuestInstancesWithEvent(System.Collections.Generic.IEnumerable<Shared.Models.Quests.QuestInstanceModel> quests, System.Object eventObject)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Collections.Generic.IEnumerable<CandideServer.MessageModels.Quests.UpdateQuestMessage>
  • StaticTrue
  • VirtualFalse
  • HashCC8E2CDAF37539D47100C4F71EE958DE65DA1AD09C5390220F85D879862DA3F4
  • Body hashB56FCAB97B3915A5A98CB18C3B0EC48CB653200301A7AA6D1CFD93F9C8506A97
  • IL size22
Referenced calls
  • QuestsSController.<UpdateQuestInstancesWithEvent>d__3::.ctor(System.Int32)
Called by

UpdateQuestInstanceWithEvent

public CandideServer.MessageModels.Quests.UpdateQuestMessage UpdateQuestInstanceWithEvent(Shared.Models.Quests.QuestInstanceModel questInstance, System.Object eventObject)

Method metadata
Referenced calls
String literals
  • Failed to update quest with quest ID
  • . Couldn't find it in the database.