|
terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
|
Collaboration diagram for Terraria.GameContent.ShopHelper:Public Member Functions | |
| ShopHelper () | |
| ShoppingSettings | GetShoppingSettings (Player player, NPC npc) |
| void | LikeBiome (string nameKey) |
| void | LoveBiome (string nameKey) |
| void | DislikeBiome (string nameKey) |
| void | HateBiome (string nameKey) |
| void | LikeNPC (int npcType) |
| void | LoveNPCByTypeName (int npcType) |
| void | LikePrincess () |
| void | LoveNPC (int npcType) |
| void | DislikeNPC (int npcType) |
| void | HateNPC (int npcType) |
Static Public Attributes | |
| const float | LowestPossiblePriceMultiplier = 0.75f |
| const float | MaxHappinessAchievementPriceMultiplier = 0.82f |
| const float | HighestPossiblePriceMultiplier = 1.5f |
Private Member Functions | |
| float | GetSkeletonMerchantPrices (NPC npc) |
| float | GetTravelingMerchantPrices (NPC npc) |
| void | ProcessMood (Player player, NPC npc) |
| float | LimitAndRoundMultiplier (float priceAdjustment) |
| void | AddHappinessReportText (string textKeyInCategory, object substitutes=null) |
| List< NPC > | GetNearbyResidentNPCs (NPC npc, out int npcsWithinHouse, out int npcsWithinVillage) |
| bool | RuinMoodIfHomeless (NPC npc) |
| bool | IsFarFromHome (NPC npc) |
| bool | IsPlayerInEvilBiomes (Player player) |
| bool | IsNotReallyTownNPC (NPC npc) |
Static Private Member Functions | |
| static string | BiomeNameByKey (string biomeNameKey) |
Private Attributes | |
| string | _currentHappiness |
| float | _currentPriceAdjustment |
| NPC | _currentNPCBeingTalkedTo |
| Player | _currentPlayerTalking |
| PersonalityDatabase | _database |
| AShoppingBiome[] | _dangerousBiomes |
Static Private Attributes | |
| const float | likeValue = 0.94f |
| const float | dislikeValue = 1.06f |
| const float | loveValue = 0.88f |
| const float | hateValue = 1.12f |
Definition at line 13 of file ShopHelper.cs.