Romestead Assembly Reference

CandideServer.ServerManagers.TradeRoutesServerManager

Type JSON

public class in CandideServer.ServerManagers

Methods15
Properties0
Fields0
Events0
Type metadata
  • AssemblyCandideServer
  • NamespaceCandideServer.ServerManagers
  • Base typeSystem.Object
  • HashBB817D8430E638BCA4FF29FECBC76CA40BB198EE4AFB0F36E4E5DC46E9852522

Relationships

Base type

System.Object

Methods

Do_CancelledDumpEverythingAtDestination

public System.Void Do_CancelledDumpEverythingAtDestination(CandideServer.SimulationModels.TradeRouteSimulationModel tradeRoute)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash98FE4581E87432E85FEC3860DAE9BEBA543ED726EBD55573B9506B4A84E664C5
  • Body hash713DF87E41799E6ABBFF83EECEACDDE9E70B850D6D454D7A406A5525245302CC
  • IL size274
Referenced calls
Called by
String literals
  • TradeRoute is not set to the right status.
  • Do_CancelledDumpEverythingAtDestination: Trade route is not cancelled

Do_CancelledDumpEverythingAtHome

public System.Void Do_CancelledDumpEverythingAtHome(CandideServer.SimulationModels.TradeRouteSimulationModel tradeRoute)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash515D952473CD295D1F2C0E511431C55ED89FA3B620B877444C783F232306CAFD
  • Body hash83F7391EDA90F5F488CB48FD7C45165DFBF6FA66A358B1F41ECC026A1806B2A0
  • IL size274
Referenced calls
Called by
String literals
  • TradeRoute is not set to the right status.
  • Do_CancelledDumpEverythingAtHome: Trade route is not cancelled

Do_Deleting

public System.Void Do_Deleting(CandideServer.SimulationModels.TradeRouteSimulationModel tradeRoute)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashB39153EB95934A303AD667724951E3194AB1989D28AEBD0A58758841D211BF2C
  • Body hash433723D5411A640A5C6BF7C0C947F413BCD70560E211B3F16710E138B74E596C
  • IL size198
Referenced calls
Called by
String literals
  • TradeRoute is not set to the right status.
  • Do_Deleting: Citizen status was not set to OnTradeRoute at deletion. Skipping citizen update to listeners.

Do_Initialize

public System.Void Do_Initialize(CandideServer.SimulationModels.TradeRouteSimulationModel tradeRoute)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash736E0B4AF84C0FF17D23A4EF62BFC4E820D84A8C5E4192D14FEC8886B99F7854
  • Body hash91FF1743F220E71C0625A173DDB19800CD28957BC2755BBFAC88F7E087E15D8D
  • IL size439
Referenced calls
Called by
String literals
  • TradeRoute is not set to the right status.
  • Object_Storage

Do_TravellingToDestination

public System.Void Do_TravellingToDestination(CandideServer.SimulationModels.TradeRouteSimulationModel tradeRoute)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash30E8E108BB1C2A48C812562AADE0C5FA10AC644F366D73AE127A5D8C05DD5C2A
  • Body hash93243D3E8297356885BD21BF5A810BC22080B7B5F897B84D2B480855B9D6A052
  • IL size178
Referenced calls
Called by
String literals
  • TradeRoute is not set to the right status.

Do_TravellingToHome

public System.Void Do_TravellingToHome(CandideServer.SimulationModels.TradeRouteSimulationModel tradeRoute)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashC5B411564C23F47695760D841A1CF915EC27003C6B624AF51C4D94A8FE12EB13
  • Body hash0C5793AFDBFD421D6D0A8E0A9CDEEB0AE3F4788C82C96BD6D9001D17135C44F0
  • IL size178
Referenced calls
Called by
String literals
  • TradeRoute is not set to the right status.

Do_WaitingToLoadAtDestination

public System.Void Do_WaitingToLoadAtDestination(CandideServer.SimulationModels.TradeRouteSimulationModel tradeRoute)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash933315C8FED2ADB0CAD290491C81AA7981E6579E86B2CBD5636892D5827BBD77
  • Body hash2632C8D3C096DECA019D2FEFB072041247D447C565EF01E42D5B80A965DD2862
  • IL size335
Referenced calls
Called by
String literals
  • TradeRoute is not set to the right status.
  • WorldStats_TradeRouteSpeed

Do_WaitingToLoadAtHome

public System.Void Do_WaitingToLoadAtHome(CandideServer.SimulationModels.TradeRouteSimulationModel tradeRoute)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashD1EAB2D5E31AE9149CD6B8A530C78345412E17A4866EE3776E1D87BE6CFFF723
  • Body hashBFD1ED8F28D029345CF3698C7E4C090E6854531E8E7AE36A44C94F71C2E875B4
  • IL size402
Referenced calls
Called by
String literals
  • TradeRoute is not set to the right status.
  • WorldStats_TradeRouteSpeed

Do_WaitingToUnloadAtDestination

public System.Void Do_WaitingToUnloadAtDestination(CandideServer.SimulationModels.TradeRouteSimulationModel tradeRoute)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashE9448578C2C2B6A777DA235B8CB8121547044038752230DB618126482A31EB24
  • Body hash046F9ECA1A1EDFCACE2F1E6000F69410BEF33AB85E4F1C33F80C3068314928A3
  • IL size208
Referenced calls
Called by
String literals
  • TradeRoute is not set to the right status.

Do_WaitingToUnloadAtHome

public System.Void Do_WaitingToUnloadAtHome(CandideServer.SimulationModels.TradeRouteSimulationModel tradeRoute)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash51022DB792B5B3ADFC263A7F555B62FC34AA62019388AAB1C2EA6AAB5083C000
  • Body hash5C0933AA23A556C8970550690215A4B04B031D4CCBB9423B18A57FFAC4F7EC8E
  • IL size273
Referenced calls
Called by
String literals
  • TradeRoute is not set to the right status.

ERROR

public System.Void ERROR(CandideServer.SimulationModels.TradeRouteSimulationModel tradeRoute, CandideServer.SimulationModels.TradeRouteCancelStatus cancelStatus)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • HashF04BF63485DF040AF15EDBBA58221640129D53AC10837DA4CDB6791EDB45FD6F
  • Body hash6E8337F0DE2A772377D4DBD6E09677410FBE67F26EF7342BB3065C7CC2BF1927
  • IL size8
Referenced calls
Called by

HandleCancellation

public System.Void HandleCancellation(CandideServer.SimulationModels.TradeRouteSimulationModel tradeRoute, CandideServer.SimulationModels.TradeRouteCancelStatus cancelStatus)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash1A60C4CBF338A8E63A1BE0EC18E7C02F1E3753F90998FF809570247EEB60E659
  • Body hash54774229C21631CA99C83C9C909ED41BA4223F58408DF610A54DBE58239DA558
  • IL size778
Referenced calls
Called by
String literals
  • Status is set to Not Cancelled
  • ErrorInitializing should never be thrown outside Initializing
  • Status was
  • which should have already been handled.

TryCreateNewTradeRoute

public System.ValueTuple<CandideServer.ServerManagers.TradeRouteResult, CandideServer.SimulationModels.TradeRouteSimulationModel> TryCreateNewTradeRoute(Shared.Models.TradeRoutes.TradeRouteArgs args)

Method metadata
Referenced calls
Called by
String literals
  • TryCreateNewTradeRoute: Home trading post doesn't have a town ID
  • trading_post
  • TryCreateNewTradeRoute: Destination building is not a trading post
  • TryCreateNewTradeRoute: Home building is not a trading post
  • TryCreateNewTradeRoute: Destination trading post doesn't have a town ID
  • job:carrier
  • TryCreateNewTradeRoute: The given citizen is not set as a carrier.
  • TryCreateNewTradeRoute: The given citizen is not available.
  • TryCreateNewTradeRoute: The given citizen does not have its home to the home trading post nor destination trading post.
  • TryCreateNewTradeRoute: Invalid UnitAmount

UserCancelTradeRoute

public System.Void UserCancelTradeRoute(System.Guid tradeRouteId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash871C9EB486F7BB8B98515E2D186C942DD75C66AAEC722B1312BB1B1929DED4E0
  • Body hash1B05F716DDBFC095ECF0B05FA363DAB3D6B8AFF93EDD68D4038B588D6AB18D80
  • IL size182
Referenced calls
Called by
String literals
  • UserCancelTradeRoute
  • : Trade route
  • is already cancelled
  • is not cancellable

VerifyCarrierCitizen

public System.Boolean VerifyCarrierCitizen(CandideServer.SimulationModels.TradeRouteSimulationModel tradeRoute, out CandideServer.Models.Citizen.CitizenModel& citizen)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • HashAF2584839B26048619EFFC8FDD9B37BB8AA015E465816E634C9783F9B7E90997
  • Body hashDD4ED2E917AA8A457088D78A4B7C5DF884C533F49A586B3906122278FEC1C178
  • IL size149
Referenced calls
Called by
String literals
  • job:carrier