Romestead Assembly Reference

Shared.Helpers.MoneyHelper

Type JSON

public class in Shared.Helpers

Methods11
Properties0
Fields0
Events0
Type metadata
  • AssemblyShared
  • NamespaceShared.Helpers
  • Base typeSystem.Object
  • Hash8EB023F33E1213F5EC8B6FC07D7516BC576624AD4223115AC5C3801ACFB718A8

Relationships

Base type

System.Object

Methods

CreateCoinsArrayForMoney

public System.Void CreateCoinsArrayForMoney(System.UInt64 money, System.Span<System.Int32> outArray)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash2D4016475C175B00F670202BBFD9C91A6637513C23B81B4AF99CB27415370DFD
  • Body hash8110A3D1872F3D999B72F4F06FA5BEE6D5CBE8C1D8EA9A2407AB62317DDAB01B
  • IL size29
Referenced calls
Called by

GetCoinAmountForMoney

public System.Int32 GetCoinAmountForMoney(System.UInt64 money, System.Int32 coinIndex)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Int32
  • StaticTrue
  • VirtualFalse
  • HashF4C2F261BF74CE0459016B3A8496860B7999467ED6843975065A5C78690BAC61
  • Body hash91F2322789A89D88E9093387076C95EED21B79CC7E04E7828FB8A0C81363278F
  • IL size108
Referenced calls
  • System.Exception::.ctor(System.String)
  • System.ArgumentOutOfRangeException::.ctor()
Called by
String literals
  • This should not be possible.

GetCoinIcon

public System.String GetCoinIcon(System.Int32 coinType)

Method metadata
  • Visibilitypublic
  • Return typeSystem.String
  • StaticTrue
  • VirtualFalse
  • HashDF0A0A2765301B2E6B6D818CE5F7DB86E4BB0F7CC3DAA32F22F986F274AA7C41
  • Body hash1936FA697407EDA2ABC9BEED5A1BBA3F12781FC5D8C7848E68795E51C4FACA4D
  • IL size69
Referenced calls
  • System.ArgumentException::.ctor(System.String)
String literals
  • money
  • money:1
  • money:2
  • money:3
  • GetCoinIcon: Invalid coin type

GetCoinItemId

public System.String GetCoinItemId(System.Int32 coinType)

Method metadata
  • Visibilitypublic
  • Return typeSystem.String
  • StaticTrue
  • VirtualFalse
  • HashB18CABF715B8228E86C01D117E6C4E9A90614264A60D521CC4E4854BE1309DD0
  • Body hashA7E9EB193FCD78AEA878C7902454CEAF557DE3AECC16BA8CA99E10FF72E6AF4C
  • IL size69
Referenced calls
  • System.ArgumentException::.ctor(System.String)
Called by
String literals
  • money
  • money:1
  • money:2
  • money:3
  • GetCoinItemId: Invalid coin type

GetCoinType

public System.Int32 GetCoinType(System.String dataId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Int32
  • StaticTrue
  • VirtualFalse
  • HashC2BAB87F6A8FD7E21CD0673F2E26044CF700CED152880E6443452B7E1D1CD6DA
  • Body hash46095C4D87668CB1CDF1D2AA4BBBB3002D1498F36E4293AE72422F98B0AD6D2B
  • IL size89
Referenced calls
  • System.String::op_Equality(System.String, System.String)
  • System.String::Concat(System.String, System.String)
  • System.ArgumentOutOfRangeException::.ctor(System.String)
Called by
String literals
  • money
  • money:1
  • money:2
  • money:3
  • Unknown money coin ID

GetCoinTypeAndStackSatisfyingMoney

public System.ValueTuple<System.Int32, System.Int32> GetCoinTypeAndStackSatisfyingMoney(System.UInt64 moneyAmount)

Method metadata
  • Visibilitypublic
  • Return typeSystem.ValueTuple<System.Int32, System.Int32>
  • StaticTrue
  • VirtualFalse
  • Hash16746EF1981B01284CA9468AF911FFA18C9A883D28A5D28931C266189C1E9E39
  • Body hashC9BB2AD6B04DA21EBA8918F3560FF57DEC34ACD76343121FE7B41A1A77AC9F53
  • IL size62
Referenced calls
Called by

GetIntValueForCoin

public System.Int32 GetIntValueForCoin(System.UInt64 money, System.Int32 coinType)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Int32
  • StaticTrue
  • VirtualFalse
  • HashC82EEF0ACF387B94ED89631EFBB13E3768CC0C525D397D5F13CAA24EA9BE07DD
  • Body hashEA38D611C0FA76877DB2AFBCF4950D1B980BAE99CBC24E0D2458611916421531
  • IL size97
Referenced calls
Called by
String literals
  • GetIntValueForCoin
  • : Value for coin type
  • was bigger than the int.MaxValue.

GetMaxItemStackForCoinType

public System.Int32 GetMaxItemStackForCoinType(System.Int32 coinType)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Int32
  • StaticTrue
  • VirtualFalse
  • Hash244BF640F98F8A6C403E47C9CC4679F8E38FFBB213F3DE2EE11FE0A73A79E528
  • Body hash1B2BBADCED1F81FEC4316BDDF3C9645401F7684A440D8473DD9817574E7696DE
  • IL size113
Referenced calls
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()
  • System.ArgumentException::.ctor(System.String)
Called by
String literals
  • GetValueForCoin
  • : Invalid coin type

GetModifiedPriceValue

public System.UInt64 GetModifiedPriceValue(System.Int32 amount, System.UInt64 price, System.Double multiplier)

Method metadata
  • Visibilitypublic
  • Return typeSystem.UInt64
  • StaticTrue
  • VirtualFalse
  • Hash5673490C95EEF3A29EC4CE009F5E29F253DAA8D8D84C1F631E4D9AD42A0C8F4A
  • Body hashB16C38F9D645DC2BFB3AD1ACA2D6AB0A435E08409ABB95A59D8C4DD9FF6ED121
  • IL size17
Referenced calls
  • System.Double::Round(System.Double)
Called by

GetMultiplierForCoinType

public System.UInt64 GetMultiplierForCoinType(System.Int32 coinType)

Method metadata
  • Visibilitypublic
  • Return typeSystem.UInt64
  • StaticTrue
  • VirtualFalse
  • Hash9C235B5B322A8A1C9CC404EB5195179F0581B24013DE1A71A6AAA76674CAB19C
  • Body hash26827ACA8D7AFC468FF1A155855F2973570FBD9282E6DE156FBCE0BAFAAE9E64
  • IL size110
Referenced calls
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()
  • System.ArgumentException::.ctor(System.String)
Called by
String literals
  • GetValueForCoin
  • : Invalid coin type

GetValueForCoin

public System.ValueTuple<System.UInt64, System.Boolean> GetValueForCoin(System.UInt64 money, System.Int32 coinType)

Method metadata
  • Visibilitypublic
  • Return typeSystem.ValueTuple<System.UInt64, System.Boolean>
  • StaticTrue
  • VirtualFalse
  • Hash54401BBBFC6DAE4FA51BDE39A6D28BEFBB45D603C9D32570B05FF28D72727E11
  • Body hashC4A1EE0C4F95274D844322B6B89E43CD68014E052D0ACB0117934532C52380DC
  • IL size148
Referenced calls
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)
  • System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()
  • System.ArgumentException::.ctor(System.String)
  • System.ValueTuple<System.UInt64, System.Boolean>::.ctor(!0, !1)
Called by
String literals
  • GetValueForCoin
  • : Invalid coin type