Romestead Assembly Reference

Candide.CandideUI.TradingPost.Contexts.TradingPostContext

Type JSON

public class in Candide.CandideUI.TradingPost.Contexts

Methods11
Properties1
Fields10
Events6
Type metadata
  • AssemblyRomestead
  • NamespaceCandide.CandideUI.TradingPost.Contexts
  • Base typeSystem.Object
  • Hash282E696CD3AFA93492A626BECC952D5ED72E2943DEF062F2D5C237E31BF049EF

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
StateUpdated_EditTradeRouteprivateprivate System.EventHandler StateUpdated_EditTradeRoute
StateUpdated_Errorprivateprivate System.EventHandler StateUpdated_Error
StateUpdated_SelectedTownprivateprivate System.EventHandler StateUpdated_SelectedTown
StateUpdated_ToggleCreateNewTradeRouteprivateprivate System.EventHandler StateUpdated_ToggleCreateNewTradeRoute
StateUpdated_TownListprivateprivate System.EventHandler StateUpdated_TownList
StateUpdated_TradeRoutesprivateprivate System.EventHandler StateUpdated_TradeRoutes
_getCitizensHandleprivateprivate Candide.Multiplayer.Network.GetResponseHandler _getCitizensHandle
_getTradeRoutesHandleprivateprivate Candide.Multiplayer.Network.GetResponseHandler _getTradeRoutesHandle
_isActivatedprivateprivate System.Boolean _isActivated
_stateprivateprivate Candide.CandideUI.TradingPost.DisplayStates.TradingPostDisplayState _state

Properties

NameVisibilitySignature
Statepublicpublic Candide.CandideUI.TradingPost.DisplayStates.TradingPostDisplayState State

Events

NameVisibilitySignature
StateUpdated_EditTradeRoutepublicpublic System.EventHandler StateUpdated_EditTradeRoute
StateUpdated_Errorpublicpublic System.EventHandler StateUpdated_Error
StateUpdated_SelectedTownpublicpublic System.EventHandler StateUpdated_SelectedTown
StateUpdated_ToggleCreateNewTradeRoutepublicpublic System.EventHandler StateUpdated_ToggleCreateNewTradeRoute
StateUpdated_TownListpublicpublic System.EventHandler StateUpdated_TownList
StateUpdated_TradeRoutespublicpublic System.EventHandler StateUpdated_TradeRoutes

Methods

Activate

public System.Void Activate()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash0B0AC121AD9EF16902AB2D46D3ADE753FB8E28B9F2841BDB86C252B5F633C414
  • Body hash0A7436BCC859AA6C0ABA53A2DFF0D1EFFF747A6813BEE6150D83E6224FB39651
  • IL size123
Referenced calls
Called by

Deactivate

public System.Void Deactivate()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashFEA157F4185081B6AAB491AE25F1AC34532F30C65B485BB4468F71CCBAB1A632
  • Body hash83A8F098BF408C46568799CEBCDDC477601E6BA7158B249C72C3C564D7ACEA1C
  • IL size118
Referenced calls
Called by

OnBuildingRemoved

private System.Void OnBuildingRemoved(System.Object sender, Candide.GameModels.Controllers.BuildingRemovedArgs e)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash51C818C65E6A040D3EC76B15A99402206586F1E15349F80E37B3C32FA15AC218
  • Body hash4817BA35D14F5B5366BCDED83BB8F668D2CB36306BB1CE7F3C599CC8E0AA1390
  • IL size66
Referenced calls
Called by

OnTownsChanged

private System.Void OnTownsChanged(Candide.GameModels.Controllers.GameStateTownChangedArgs args)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash9E9316996FA3425D33DB6CC6BA730CA3BB5959119374933E85197BA8F011F4B7
  • Body hash593BA84248C4DE18D99213B03C31F005D3DE1F7CBCFA57DE273F09DDB44FAAEF
  • IL size6
Referenced calls
Called by

OnTradeRoutesChanged

private System.Void OnTradeRoutesChanged(Candide.GameModels.Controllers.GameStateActiveTradeRoutesChangedArgs args)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash37E5E0A1E7D66D925F701E4F4CAB4ECF936C066D4B8AAC3A2CA5FA041ABBA223
  • Body hashCA38919F2E47833D6357D6CA9D9C79F5A98ABEC322A4FA6BD09AB1488A6FB1F5
  • IL size170
Referenced calls
  • Candide.CandideUI.TradingPost.Contexts.TradingPostContext::get_State()
  • System.Collections.Generic.HashSet<System.Guid>::Remove(!0)
  • System.Guid::op_Equality(System.Guid, System.Guid)
  • System.Collections.Generic.HashSet<System.Guid>::Add(!0)
  • System.EventHandler::Invoke(System.Object, System.EventArgs)
Called by

ResetGetters

private System.Void ResetGetters()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash3A68D976755BC09EAE513E0F760454676A44718D092C30914A8432AD38EC29ED
  • Body hashE1FDBF4BA396F15EA096C4A456DFAFD2C21204829097B9AE1F5FCD6A24A4056B
  • IL size136
Referenced calls
Called by

SetEditTradeRouteData

public System.Void SetEditTradeRouteData(Candide.GameModels.Models.ClientTownModel homeTown, System.Nullable<System.Guid> homeTownTradingPostId, Candide.GameModels.Models.ClientTownModel destinationTown, System.Nullable<System.Guid> destinationTownTradingPostId, System.Boolean isNew)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash8809105091AF417C018B52751CD96229827CDD811EE2DFE98D1F41D1C48B93BE
  • Body hash15A08FDBC25D7C83027BFD5639F89AD5BB3B2470FDAB765A499943AE847A8890
  • IL size656
Referenced calls
Called by
String literals
  • SetEditTradeRouteData: SelectedTownDisplayData town ID is not equal to the hometown ID

SetSelectedTown

public System.Void SetSelectedTown(System.Nullable<System.Guid> selectedTown, System.Guid tradingPostId, System.Boolean forceUpdate)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash1D92D504BC866365415F3132CC4540B3ABBFD1972BCFCD2C16C5B2610572780E
  • Body hashA76EF5E074066D7AED9FA19BD84EB62A67D1B0B1D412634AA5DFB373C2A81F5D
  • IL size493
Referenced calls
  • System.Nullable<System.Guid>::get_HasValue()
  • System.Nullable<System.Guid>::get_Value()
  • Candide.GameModels.GameState::TryGetTown(System.Guid, Candide.GameModels.Models.ClientTownModel&)
  • Candide.Multiplayer.Network.GetResponseHandler::Remove()
  • Candide.CandideUI.TradingPost.Contexts.TradingPostContext::get_State()
  • Candide.GameModels.Services.TradeRoutesService::Send_StopListeningOnTradeRoutes()
  • System.EventHandler::Invoke(System.Object, System.EventArgs)
  • System.Collections.Generic.Dictionary<System.Guid, Candide.CandideUI.TradingPost.DisplayStates.TownListDisplayData>::ContainsKey(!0)
  • System.Collections.Generic.Dictionary<System.Guid, Candide.CandideUI.TradingPost.DisplayStates.TownListDisplayData>::get_Item(!0)
  • System.Nullable<System.Guid>::GetValueOrDefault()
  • System.Guid::op_Inequality(System.Guid, System.Guid)
  • System.Nullable<System.Guid>::.ctor(!0)
  • System.Guid::op_Equality(System.Guid, System.Guid)
  • Candide.CandideUI.TradingPost.DisplayStates.SelectedTownDisplayData::.ctor(Candide.GameModels.Models.ClientTownModel, System.Guid)
  • System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.TradeRoutes.ClientTradeRoute>::GetEnumerator()
  • Dictionary.Enumerator<System.Guid, Candide.GameModels.Models.TradeRoutes.ClientTradeRoute>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.Guid, Candide.GameModels.Models.TradeRoutes.ClientTradeRoute>::Deconstruct(!0&, !1&)
  • System.Collections.Generic.HashSet<System.Guid>::Add(!0)
  • Dictionary.Enumerator<System.Guid, Candide.GameModels.Models.TradeRoutes.ClientTradeRoute>::MoveNext()
  • System.IDisposable::Dispose()
Called by

SetToggleCreateNewTradeRoute

public System.Void SetToggleCreateNewTradeRoute(System.Boolean b)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash93AA26BC6B0BAAC9E6ECCFE58C8FEBC261745E7DAEE8FB6181560CE1A055D77B
  • Body hash9E623F83FF0B326532B738FF57C2F72417111C2DB127E142562547ACB767B769
  • IL size33
Referenced calls
  • System.EventHandler::Invoke(System.Object, System.EventArgs)
Called by

UpdateActiveTradeRoutes

private System.Void UpdateActiveTradeRoutes()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashD3A7CC794016ECF5649817A26460359D01765667E4D735DC1514A27520380D6A
  • Body hash84D60E4FEC61001BB41BE0F47457C10061C74795607322D4AE1F12A821B14168
  • IL size152
Referenced calls
Called by
String literals
  • TradingPostContext: Town list count was null

UpdateTownList

private System.Void UpdateTownList()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash6D2E140AB790A2B5CC915AD6EEBDAFC6A9EF07D2BF28933B85159F823BE44FCB
  • Body hash8030E4DD1782FCAAC01621564EAF8F0637A168D2A80612E28C61164041B6A521
  • IL size350
Referenced calls
  • Candide.CandideUI.TradingPost.Contexts.TradingPostContext::get_State()
  • System.Collections.Generic.Dictionary<System.Guid, Candide.CandideUI.TradingPost.DisplayStates.TownListDisplayData>::Clear()
  • System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.ClientTownModel>::GetEnumerator()
  • Dictionary.Enumerator<System.Guid, Candide.GameModels.Models.ClientTownModel>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.Guid, Candide.GameModels.Models.ClientTownModel>::Deconstruct(!0&, !1&)
  • System.Collections.Generic.HashSet<System.Guid>::GetEnumerator()
  • HashSet.Enumerator<System.Guid>::get_Current()
  • System.Nullable<System.Guid>::.ctor(!0)
  • Candide.GameModels.GameState::TryGetBuilding(System.Nullable<System.Guid>, Candide.GameModels.Models.Constructions.Building&)
  • System.Collections.Generic.List<Candide.GameModels.Models.Citizens.CitizenSlot>::get_Count()
  • System.String::op_Equality(System.String, System.String)
  • HashSet.Enumerator<System.Guid>::MoveNext()
  • System.IDisposable::Dispose()
  • System.Collections.Generic.HashSet<System.Guid>::get_Count()
  • Candide.CandideUI.TradingPost.DisplayStates.TownListDisplayData::.ctor(Candide.GameModels.Models.ClientTownModel, System.Int32, System.Int32, System.Nullable<System.Guid>)
  • System.Collections.Generic.Dictionary<System.Guid, Candide.CandideUI.TradingPost.DisplayStates.TownListDisplayData>::set_Item(!0, !1)
  • Dictionary.Enumerator<System.Guid, Candide.GameModels.Models.ClientTownModel>::MoveNext()
  • System.Collections.Generic.Dictionary<System.Guid, Candide.CandideUI.TradingPost.DisplayStates.TownListDisplayData>::ContainsKey(!0)
  • Candide.CandideUI.TradingPost.Contexts.TradingPostContext::SetSelectedTown(System.Nullable<System.Guid>, System.Guid, System.Boolean)
  • System.EventHandler::Invoke(System.Object, System.EventArgs)
Called by
String literals
  • trading_post