Skip to content

H7Resource

Class in MMH7Game · MMH7Game.H7Resource · native, perobjectconfig

Object › H7Resource

Implements: H7IAliasable, H7ILocaParamizable

Using it from Lua
h7.find_all("H7Resource")            -- live instances
h7.find_class("MMH7Game.H7Resource")   -- the class
h7.hook("MMH7Game.H7Resource.CostResourceCompareGUI", fn)

Properties

NameTypeNotes
mAiTradeThresholdGreedintprotected
mAiTradeThresholdNeedintprotected
mCustomTooltipKeystringprotected
mDynamicLightEnvDynamicLightEnvironmentComponentprotected
mFXParticleSystemComponentprotected
mGUIPriorityintprotected
mMeshStaticMeshComponentprotected
mNameInststringtransient, protected
mOnGainXPSoundAkEventprotected
mOnPickUpSoundAkEventprotected
mPopUpRequestSoundAkEventprotected
mRankH7StructsAndEnumsNative.EResourceRank
mResourceIconTexture2Dprotected
mResourceNamestringconst, localized
mResourceTypeIdentifierstring

Functions

NameDeclaration
CostResourceCompareGUIstatic function int CostResourceCompareGUI(H7ResourceQuantity A, H7ResourceQuantity B)
GetCustomTooltipKeyfunction string GetCustomTooltipKey()
GetEditorNamefunction string GetEditorName()
GetGUIPriorityfunction int GetGUIPriority()
GetIconfunction Texture2D GetIcon()
GetIconPathfunction string GetIconPath()
GetIDStringfunction string GetIDString()
GetNamefunction string GetName()
GetRankfunction H7StructsAndEnumsNative.EResourceRank GetRank()
GetTradeThresholdfunction int GetTradeThreshold(bool isNeed)
GetTypeIdentifierfunction string GetTypeIdentifier()
IsEqualnative function bool IsEqual(H7Resource Resource)
LocalizeNamefunction LocalizeName()

Inherited

FromMembers
Object13 properties, 308 functions