public class in CandideServer.ServerControllers
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.ServerControllers - Base type
System.Object - Hash
D3CC553D0015083B0CF344C2FC3B887A5443F38F963F090BA3BA73466B483129
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 type
System.Void - StaticTrue
- VirtualFalse
- Hash
79C833B8A1CE8A4E1FFBA69179248A2EC876630F688092482BAE2E8004772BB5 - Body hash
40095A86EC4B1DD425A9A078104C3D43600DE228169EF08E2FF47D945EEC0B11 - IL size112
Referenced calls
System.Collections.Generic.List<System.ValueTuple<System.String, Shared.Models.Quests.Objectives.QuestObjective>>::GetEnumerator()List.Enumerator<System.ValueTuple<System.String, Shared.Models.Quests.Objectives.QuestObjective>>::get_Current()QuestObjective.CheckObjective::Invoke(Shared.Models.Quests.Objectives.QuestObjective, Shared.Models.Quests.QuestInstanceModel, System.String, QuestObjective.QuestObjectiveCheckContext)Shared.Models.Quests.Objectives.QuestObjective::IsDone(Shared.Models.Quests.QuestInstanceModel, System.String)List.Enumerator<System.ValueTuple<System.String, Shared.Models.Quests.Objectives.QuestObjective>>::MoveNext()System.IDisposable::Dispose()
CreateActivePersonalQuest
#
public Shared.Models.Quests.QuestInstanceModel CreateActivePersonalQuest(Shared.Models.Player.PlayerCharacterModel playerCharacter, Shared.Models.Quests.QuestData quest)
Method metadata
- Visibilitypublic
- Return type
Shared.Models.Quests.QuestInstanceModel - StaticTrue
- VirtualFalse
- Hash
CAC225DAEC5CF16B71CDC21F2F0F7F5847058AC6F46C55B301544FD69D97DCF1 - Body hash
90A20AAAAC0A7985E4BAA13F73F768C9B842108ABC9C194CB9F39408CB6A32C5 - IL size149
Referenced calls
Shared.Models.Quests.QuestInstanceModel::FromQuestData(Shared.Models.Quests.QuestData)System.Collections.Generic.Dictionary<System.String, Shared.Models.Quests.QuestInstanceModel>::TryAdd(!0, !1)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)System.Nullable<System.Guid>::.ctor(!0)CandideServer.ServerControllers.QuestsSController::CheckIfQuestObjectivesHaveBeenCompleted(Shared.Models.Quests.QuestInstanceModel, Shared.Models.Quests.QuestData, QuestObjective.QuestObjectiveCheckContext)
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 type
Shared.Models.Quests.QuestInstanceModel - StaticTrue
- VirtualFalse
- Hash
87A3AFA09B978A4E7FA097FCBB33F3CDEEF63D315CBA53D620F0037972B0415A - Body hash
48F3A457877A64C09E896A0843C066B170B4C05FEC4DF32AF429E82586B75641 - IL size126
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)Shared.Models.Quests.QuestInstanceModel::FromQuestData(Shared.Models.Quests.QuestData)System.Collections.Generic.Dictionary<System.String, Shared.Models.Quests.QuestInstanceModel>::TryAdd(!0, !1)CandideServer.ServerControllers.QuestsSController::CheckIfQuestObjectivesHaveBeenCompleted(Shared.Models.Quests.QuestInstanceModel, Shared.Models.Quests.QuestData, QuestObjective.QuestObjectiveCheckContext)
Called by
String literals
Tried creating active world questbut 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.
public System.Void OnGameStateLoaded(CandideServer.GameDescription gameDescription)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
307066216EC838A3EFF637C46930E846F378096F4DCB27B108683F3068A85560 - Body hash
6BED2A8C08C55088EF74D63CF19B79EF38B9E424886BB42D78A7E8574BC77442 - 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 type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
3529BB42FB08E457697726D57FBC61FFAFFDCEBFC70860841BD7D2B938B32CAD - Body hash
C2E2571A55E941A0463572BCAB1932366357AA582D8627BB96FB56FB0C01EFD0 - 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)
String literals
Can't finish quest with IDsince 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 type
System.Collections.Generic.IEnumerable<CandideServer.MessageModels.Quests.UpdateQuestMessage> - StaticTrue
- VirtualFalse
- Hash
CC8E2CDAF37539D47100C4F71EE958DE65DA1AD09C5390220F85D879862DA3F4 - Body hash
B56FCAB97B3915A5A98CB18C3B0EC48CB653200301A7AA6D1CFD93F9C8506A97 - IL size22
Referenced calls
QuestsSController.<UpdateQuestInstancesWithEvent>d__3::.ctor(System.Int32)
UpdateQuestInstanceWithEvent
#
public CandideServer.MessageModels.Quests.UpdateQuestMessage UpdateQuestInstanceWithEvent(Shared.Models.Quests.QuestInstanceModel questInstance, System.Object eventObject)
Method metadata
- Visibilitypublic
- Return type
CandideServer.MessageModels.Quests.UpdateQuestMessage - StaticTrue
- VirtualFalse
- Hash
D775CA4C211D4A718521892259BF14B5D627A23328B795DFE6A76121D5181655 - Body hash
7EE0A8C9C2670E033C33D984EA63528DFF45EAD8C00B0A73415E89BE82B374A5 - IL size213
Referenced calls
Shared.Data.QuestsDataBase::GetQuestOrNull(System.String)System.String::Concat(System.String, System.String, System.String)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)System.Collections.Generic.List<System.ValueTuple<System.String, Shared.Models.Quests.Objectives.QuestObjective>>::GetEnumerator()List.Enumerator<System.ValueTuple<System.String, Shared.Models.Quests.Objectives.QuestObjective>>::get_Current()QuestObjective.UpdateObjective::Invoke(Shared.Models.Quests.Objectives.QuestObjective, Shared.Models.Quests.QuestInstanceModel, System.String, System.Object)Shared.Models.Quests.Objectives.QuestObjective::IsDone(Shared.Models.Quests.QuestInstanceModel, System.String)List.Enumerator<System.ValueTuple<System.String, Shared.Models.Quests.Objectives.QuestObjective>>::MoveNext()System.IDisposable::Dispose()CandideServer.MessageModels.Quests.UpdateQuestMessage::.ctor()
String literals
Failed to update quest with quest ID. Couldn't find it in the database.