H7Resource¶
Class in MMH7Game · MMH7Game.H7Resource · native, perobjectconfig
Object › H7Resource
Implements: H7IAliasable, H7ILocaParamizable
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
mAiTradeThresholdGreed | int | protected |
mAiTradeThresholdNeed | int | protected |
mCustomTooltipKey | string | protected |
mDynamicLightEnv | DynamicLightEnvironmentComponent | protected |
mFX | ParticleSystemComponent | protected |
mGUIPriority | int | protected |
mMesh | StaticMeshComponent | protected |
mNameInst | string | transient, protected |
mOnGainXPSound | AkEvent | protected |
mOnPickUpSound | AkEvent | protected |
mPopUpRequestSound | AkEvent | protected |
mRank | H7StructsAndEnumsNative.EResourceRank | |
mResourceIcon | Texture2D | protected |
mResourceName | string | const, localized |
mResourceTypeIdentifier | string |
Functions¶
| Name | Declaration |
|---|---|
CostResourceCompareGUI | static function int CostResourceCompareGUI(H7ResourceQuantity A, H7ResourceQuantity B) |
GetCustomTooltipKey | function string GetCustomTooltipKey() |
GetEditorName | function string GetEditorName() |
GetGUIPriority | function int GetGUIPriority() |
GetIcon | function Texture2D GetIcon() |
GetIconPath | function string GetIconPath() |
GetIDString | function string GetIDString() |
GetName | function string GetName() |
GetRank | function H7StructsAndEnumsNative.EResourceRank GetRank() |
GetTradeThreshold | function int GetTradeThreshold(bool isNeed) |
GetTypeIdentifier | function string GetTypeIdentifier() |
IsEqual | native function bool IsEqual(H7Resource Resource) |
LocalizeName | function LocalizeName() |
Inherited¶
| From | Members |
|---|---|
| Object | 13 properties, 308 functions |