|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinevirtualinherited |
Allows you to modify the contents of a shop whenever player opens it.
If possible, use M:Terraria.ModLoader.GlobalNPC.ModifyShop(Terraria.ModLoader.NPCShop) instead, to reduce mod conflicts and improve compatibility. Note that for special shops like travelling merchant, the shopName may not correspond to a T:Terraria.ModLoader.NPCShop in the T:Terraria.ModLoader.NPCShopDatabase
| npc | An instance of
|
| shopName | The full name of the shop being opened. See M:Terraria.ModLoader.NPCShopDatabase.GetShopName(System.Int32,System.String) for the format. |
| items | Items in the shop including 'air' items in empty slots. |
Reimplemented in Terraria.ModLoader.Default.PylonShopNPC.
Definition at line 651 of file GlobalNPC.cs.