Romestead Assembly Reference

CandideServer.ServerManagers.ShopServerManager

Type JSON

public class in CandideServer.ServerManagers

Methods2
Properties0
Fields0
Events0
Type metadata
  • AssemblyCandideServer
  • NamespaceCandideServer.ServerManagers
  • Base typeSystem.Object
  • Hash7CB9B8CEFFE216B55A3D0E853E34A617C02A8B02DB8E2EC0A6CFD73F6A4915FE

Relationships

Base type

System.Object

Methods

TryBuyItem

public System.Boolean TryBuyItem(System.Nullable<System.Guid> jobId, System.String storeId, System.String itemId, System.Int32 amount, System.Guid targetInventoryId, System.Nullable<System.Int32> targetSlotIndex, System.Nullable<System.Guid> moneyInventoryId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash6483DF163F782293E3FB1EB3C1941E517D8D5F3EB27A43909BDC49C09DA643F0
  • Body hash6BE7F325901FAA7BBE58908D98A26744561BC1BDC671653D15A986C0F5E30E08
  • IL size449
Referenced calls
Called by
String literals
  • TryBuyItem: Can't find a store with id
  • TryBuyItem: Store doesn't have item
  • TryBuyItem: Item id doesn't exist
  • TryBuyItem: Item id is not tradable
  • WorldStats_VendorPriceFactor
  • TryBuyItem: Failed removing money but we already added the items to target inventory
  • job:merchant

TrySellItem

public System.Boolean TrySellItem(System.Guid sourceInventoryId, System.Int32 slotIndex, System.Guid itemInstanceId, System.Nullable<System.Int32> amount, System.Guid moneyInventoryId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticTrue
  • VirtualFalse
  • Hash691C90AD4C7DC9AE8650D1C34F3057B948F581142D7BD3B14072882D735F03C3
  • Body hash2FCBED8908B46BC221E9B47522199256509B09CE60E30BC5A036CB57F43A9CB9
  • IL size482
Referenced calls
Called by
String literals
  • TrySellItem: Slot index was out of range
  • TrySellItem: Tried selling a null item
  • TrySellItem
  • : Provided item instance ID does not coincide with the actual item in the slot
  • TrySellItem: Amount was bigger than Stack count
  • WorldStats_SellingFactor
  • Unhandled when money goes beyond max money
  • Add coins for amount.