C# Class ShowItemQuality.ModEntry.FarmerPatch

Mostra file Open project: Pathoschild/smapi-mod-dump

Public Methods

Method Description
FixedHUDMessage_Hook ( string displayName, int number, bool add, Color color, Item item ) : HUDMessage

Insertable, altered HUDMessage constructor that uses a single-stack clone of the original object.

addItemToInventoryBool_Transpiler ( IEnumerable instructions ) : IEnumerable

Adds a hook that calls FixedHUDMessage_Hook inside the game's addItemToInventoryBool method.

Method Details

FixedHUDMessage_Hook() public static method

Insertable, altered HUDMessage constructor that uses a single-stack clone of the original object.
public static FixedHUDMessage_Hook ( string displayName, int number, bool add, Color color, Item item ) : HUDMessage
displayName string
number int
add bool
color Color
item Item
return HUDMessage

addItemToInventoryBool_Transpiler() public static method

Adds a hook that calls FixedHUDMessage_Hook inside the game's addItemToInventoryBool method.
public static addItemToInventoryBool_Transpiler ( IEnumerable instructions ) : IEnumerable
instructions IEnumerable
return IEnumerable