Romestead Assembly Reference

Candide.GameModels.Managers.OfferingsManager

Type JSON

public class in Candide.GameModels.Managers

Methods5
Properties0
Fields1
Events1
Type metadata
  • AssemblyRomestead
  • NamespaceCandide.GameModels.Managers
  • Base typeSystem.Object
  • HashD993C1901F70FAA248F3E84A172E0363B97E313F0CECA7F81E667E49E5AD297B

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
CurrentOfferingsChangedprivateprivate OfferingsManager.GameStateCurrentOfferingsChanged CurrentOfferingsChanged

Events

NameVisibilitySignature
CurrentOfferingsChangedpublicpublic OfferingsManager.GameStateCurrentOfferingsChanged CurrentOfferingsChanged

Methods

CanDoOffering

public System.Boolean CanDoOffering(Shared.Models.Gods.Offering offering, Candide.GameModels.Models.Items.SimpleInventory inventory)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash3CC87988D832DFA66F04E6C4BAB872396568536BD1D2CD978223487046F344D9
  • Body hash2041B131F2542AB21819EC0051CD820202B21760559B67A93D0A7CB18460AC04
  • IL size170
Referenced calls
String literals
  • Offering with ID
  • does not exist in the GameState
  • Failed doing offering with ID
  • . Insufficient items.
  • Fix this. Check connected sources etc.

SyncFullGameState

public System.Void SyncFullGameState(CandideServer.ServerServices.GetFullGameStateResponse model)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash696B0389FBBC1569DB567AB9F4CF090DA832AB93D18082F87A28C01A7BCEF9F7
  • Body hashF1A265A705AA08D1F86E7C5DCB1044913A94D463013D40E4E50A56822665170C
  • IL size101
Referenced calls
  • System.Collections.Generic.Dictionary<System.String, Candide.GameModels.Models.Gods.ClientOffering>::Clear()
  • System.Collections.Generic.Dictionary<System.String, System.Int32>::GetEnumerator()
  • Dictionary.Enumerator<System.String, System.Int32>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.String, System.Int32>::get_Key()
  • Shared.Data.OfferingDataBase::GetOfferingOrMissing(System.String)
  • System.Collections.Generic.KeyValuePair<System.String, System.Int32>::get_Value()
  • Candide.GameModels.Models.Gods.ClientOffering::.ctor(System.Int32, Shared.Models.Gods.Offering)
  • System.Collections.Generic.Dictionary<System.String, Candide.GameModels.Models.Gods.ClientOffering>::set_Item(!0, !1)
  • Dictionary.Enumerator<System.String, System.Int32>::MoveNext()
  • System.IDisposable::Dispose()

SynchCurrentOfferings

public System.Void SynchCurrentOfferings(System.Collections.Generic.Dictionary<System.String, System.Int32> offerings)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash87E891B2C6A1965D904489EFCED4FBF1EB2199A947C13043CFB2DE274DB7B516
  • Body hash12FD03BCA2AEEA9BA9C54ABAF4B26C421EF095EF2AE9969437BAF5FA24AB215B
  • IL size408
Referenced calls
  • Candide.GameModels.Managers.CurrentOfferingsChangedArgs::.ctor()
  • System.Collections.Generic.Dictionary<System.String, System.Int32>::GetEnumerator()
  • Dictionary.Enumerator<System.String, System.Int32>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.String, System.Int32>::get_Key()
  • System.Collections.Generic.Dictionary<System.String, Candide.GameModels.Models.Gods.ClientOffering>::TryGetValue(!0, !1&)
  • System.Collections.Generic.KeyValuePair<System.String, System.Int32>::get_Value()
  • System.Collections.Generic.Dictionary<System.String, System.Int32>::ContainsKey(!0)
  • System.String::Concat(System.String, System.String)
  • Candide.GameModels.Managers.OfferingsManagerException::.ctor(System.String)
  • System.Collections.Generic.Dictionary<System.String, System.Int32>::set_Item(!0, !1)
  • Shared.Data.OfferingDataBase::GetOfferingOrMissing(System.String)
  • Candide.GameModels.Models.Gods.ClientOffering::.ctor(System.Int32, Shared.Models.Gods.Offering)
  • System.Collections.Generic.Dictionary<System.String, Candide.GameModels.Models.Gods.ClientOffering>::set_Item(!0, !1)
  • System.Collections.Generic.List<System.String>::Add(!0)
  • Dictionary.Enumerator<System.String, System.Int32>::MoveNext()
  • System.IDisposable::Dispose()
  • System.Collections.Generic.Dictionary<System.String, Candide.GameModels.Models.Gods.ClientOffering>::GetEnumerator()
  • Dictionary.Enumerator<System.String, Candide.GameModels.Models.Gods.ClientOffering>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.String, Candide.GameModels.Models.Gods.ClientOffering>::get_Key()
  • Dictionary.Enumerator<System.String, Candide.GameModels.Models.Gods.ClientOffering>::MoveNext()
  • System.Collections.Generic.List<System.String>::GetEnumerator()
  • List.Enumerator<System.String>::get_Current()
  • System.Collections.Generic.Dictionary<System.String, Candide.GameModels.Models.Gods.ClientOffering>::Remove(!0)
  • List.Enumerator<System.String>::MoveNext()
  • OfferingsManager.GameStateCurrentOfferingsChanged::Invoke(Candide.GameModels.Managers.CurrentOfferingsChangedArgs)
Called by
String literals
  • Received multiple offerings with the same key:

TryDoOffering

public System.Boolean TryDoOffering(System.Guid altarBuildingId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash7022596D31939D0190E526E60DDB5EE1B8FF64E2B4C446FCC8E9EB414CA0C725
  • Body hash778A579ADE978A6B26E795FD6E505765D64E95926FCCC5AA3B2D2A02911F225B
  • IL size19
Referenced calls

TryDoSacrifice

public System.Boolean TryDoSacrifice(CandideServer.MessageModels.Towns.CitizenTownOverviewData citizen, System.Nullable<System.Guid> townId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • HashBD6885D3CC83A0467FC7A7551ACDAAB787BC3BA85F298AE625061D3AA4D60704
  • Body hashDDD576A727063E6961B309D58C3FB0EAFB6D2C83B1B69BEBEC8B1B6757714B09
  • IL size143
Referenced calls
String literals
  • event:/interface/offering/ui_worship_sacrifice