0x00x02D3
Members 7
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | UberGraphFrame | FPointerToUberGraphFrame | Transient+2 flags | {} | |
| 0x08 | ParentBox | UHorizontalBox* | 9 flags | nullptr | |
| 0x10 | Resources | TArray<UResourceData*> | 3 flags | [6 items] | |
| 0x50 | ResourceWidgets | TMap<UResourceData*, UITM_TopBar_ResourceCounter_C*> | 4 flags | <TMap> | |
| 0x01 | IsDesignTime | bool | 6 flags | false | |
| 0x01 | HideWhenZero | bool | 6 flags | true | |
| 0x01 | DoCountAnim | bool | 6 flags | false |
Inherited from UUserWidget 20
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x10 | ColorAndOpacity | FLinearColor | 8 flags | {R=1, G=1, B=1, A=1} | |
| 0x10 | ColorAndOpacityDelegate | FScriptDelegate | 4 flags | <delegate> | |
| 0x28 | ForegroundColor | FSlateColor | 4 flags | {SpecifiedColor={R=1, G=0, B=1, A=1}, ColorUseRule=2} | |
| 0x10 | ForegroundColorDelegate | FScriptDelegate | 4 flags | <delegate> | |
| 0x10 | OnVisibilityChanged | FMulticastScriptDelegate | 4 flags | <delegate> | |
| 0x0178 | 0x18 | padding / unreflected | |||
| 0x10 | Padding | FMargin | 7 flags | {Left=0, Top=0, Right=0, Bottom=0} | |
| 0x10 | ActiveSequencePlayers | TArray<UUMGSequencePlayer*> | Transient+2 flags | [] | |
| 0x08 | AnimationTickManager | UUMGSequenceTickManager* | Transient+5 flags | nullptr | |
| 0x10 | StoppedSequencePlayers | TArray<UUMGSequencePlayer*> | Transient+2 flags | [] | |
| 0x10 | NamedSlotBindings | TArray<FNamedSlotBinding> | 3 flags | [] | |
| 0x08 | WidgetTree | UWidgetTree* | Transient+7 flags | nullptr | |
| 0x04 | Priority | int32 | 8 flags | 0 | |
| 0x01 | bSupportsKeyboardFocus : 1bit 0 | bool | Deprecated+3 flags | true | |
| 0x01 | bIsFocusable : 1bit 1 | bool | 5 flags | false | |
| 0x01 | bStopAction : 1bit 2 | bool | 5 flags | false | |
| 0x01 | bHasScriptImplementedTick : 1bit 3 | bool | 3 flags | true | |
| 0x01 | bHasScriptImplementedPaint : 1bit 4 | bool | 3 flags | true | |
| 0x01E5 | 0x0B | padding / unreflected | |||
| 0x01 | TickFrequency | EWidgetTickFrequency | 9 flags | Auto | |
| 0x01F1 | 0x07 | padding / unreflected | |||
| 0x08 | InputComponent | UInputComponent* | TransientProtected+8 flags | nullptr | |
| 0x10 | AnimationCallbacks | TArray<FAnimationEventBinding> | TransientProtected+4 flags | [] | |
Inherited from UWidget 22
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | Slot | UPanelSlot* | 12 flags | nullptr | |
| 0x10 | bIsEnabledDelegate | FScriptDelegate | 4 flags | <delegate> | |
| 0x18 | ToolTipText | FText | 4 flags | <FText> | |
| 0x10 | ToolTipTextDelegate | FScriptDelegate | 4 flags | <delegate> | |
| 0x08 | ToolTipWidget | UWidget* | 12 flags | nullptr | |
| 0x10 | ToolTipWidgetDelegate | FScriptDelegate | 4 flags | <delegate> | |
| 0x10 | VisibilityDelegate | FScriptDelegate | 4 flags | <delegate> | |
| 0x1C | RenderTransform | FWidgetTransform | 5 flags | {Translation={X=0, Y=0}, Scale={X=1, Y=1}, Shear={X=0, Y=0}… | |
| 0x08 | RenderTransformPivot | FVector2D | 8 flags | {X=0.5, Y=0.5} | |
| 0x01 | bIsVariable : 1bit 0 | bool | 3 flags | true | |
| 0x01 | bCreatedByConstructionScript : 1bit 1 | bool | Transient+3 flags | false | |
| 0x01 | bIsEnabled : 1bit 2 | bool | 6 flags | true | |
| 0x01 | bOverride_Cursor : 1bit 3 | bool | 4 flags | false | |
| 0x00B5 | 0x03 | padding / unreflected | |||
| 0x08 | AccessibleWidgetData | USlateAccessibleWidgetData* | 8 flags | nullptr | |
| 0x01 | bIsVolatile : 1bit 0 | bool | Protected+6 flags | false | |
| 0x01 | Cursor | uint8 | 9 flags | 1 | |
| 0x01 | Clipping | EWidgetClipping | 6 flags | Inherit | |
| 0x01 | Visibility | ESlateVisibility | 6 flags | Visible | |
| 0x04 | RenderOpacity | float | 6 flags | 1 | |
| 0x08 | Navigation | UWidgetNavigation* | 11 flags | nullptr | |
| 0x01 | FlowDirectionPreference | EFlowDirectionPreference | 6 flags | Inherit | |
| 0x00D1 | 0x27 | padding / unreflected | |||
| 0x10 | NativeBindings | TArray<UPropertyBinding*> | TransientProtected+2 flags | [] | |
Functions 6
| Signature | Flags | Native | Params |
|---|---|---|---|
void GetResourceAmount(UResourceData* Resource, const float& amount)Script10 statements · 152 bytes of bytecode0x0000if (!(IsDesignTime)) goto Label_002A;0x000Eamount = 100f;0x0025goto Label_0095;0x002ALabel_002A:0x002ACallFunc_GetFSDSaveGame_ReturnValue = GetFSDSaveGame(this);0x003FCallFunc_GetResourceAmount_ReturnValue = CallFunc_GetFSDSaveGame_ReturnValue.GetResourceAmount(Resource);0x007Aamount = CallFunc_GetResourceAmount_ReturnValue;0x0095Label_0095:0x0095return;0x0097// end of script | Public | 0x0C | |
void AddResource(UResourceData* InResource, bool InHideWhenZero)Script19 statements · 626 bytes of bytecode0x0000CallFunc_Map_Contains_ReturnValue = /Script/Engine.Default__BlueprintMapLibrary.Map_Contains(ResourceWidgets, InResource);0x003CCallFunc_Not_PreBool_ReturnValue = Not_PreBool(CallFunc_Map_Contains_ReturnValue);0x0059if (!(CallFunc_Not_PreBool_ReturnValue)) goto Label_026F;0x0067CallFunc_GetOwningPlayer_ReturnValue = GetOwningPlayer();0x007FCallFunc_Create_ReturnValue = /Script/UMG.Default__WidgetBlueprintLibrary.Create(this, /Game/UI/Menu_TopBar/ITM_TopBar_ResourceCounter.ITM_TopBar_ResourceCounter_C, CallFunc_GetOwningPlayer_ReturnValue);0x00BCSetObjectPropertyByName(CallFunc_Create_ReturnValue, FName(Resource), InResource);0x00E5GetResourceAmount(InResource, CallFunc_GetResourceAmount_Amount);0x0105SetFloatPropertyByName(CallFunc_Create_ReturnValue, FName(amount), CallFunc_GetResourceAmount_Amount);0x012ESetBoolPropertyByName(CallFunc_Create_ReturnValue, FName(HideWhenZero), InHideWhenZero);0x0157ResourceWidget = CallFunc_Create_ReturnValue;0x016A/Script/Engine.Default__BlueprintMapLibrary.Map_Add(ResourceWidgets, InResource, ResourceWidget);0x01A5K2Node_MakeStruct_Margin.Left = 0f;0x01C5K2Node_MakeStruct_Margin.Top = 0f;0x01E5K2Node_MakeStruct_Margin.Right = 25f;0x0205K2Node_MakeStruct_Margin.Bottom = 0f;0x0225CallFunc_AddChildToHorizontalBoxEx_ReturnValue = AddChildToHorizontalBoxEx(ParentBox, ResourceWidget, 0, 0, 0f, K2Node_MakeStruct_Margin, CallFunc_AddChildToHorizontalBoxEx_OutSlot, CallFunc_AddChildToHorizontalBoxEx_OutHorizontalBox);0x026FLabel_026F:0x026Freturn;0x0271// end of script | Public | 0x09 | |
void SetResources(TArray<UResourceData*>& InResources)Script22 statements · 463 bytes of bytecode0x0000PushFlow(Label_01CC);0x0005Resources = InResources;0x0020/Script/Engine.Default__BlueprintMapLibrary.Map_Clear(ResourceWidgets);0x0049ParentBox.ClearChildren();0x006DTemp_int_Loop_Counter_Variable = 0;0x0084Temp_int_Array_Index_Variable = 0;0x009BLabel_009B:0x009BCallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Resources);0x00D6CallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x00FCif (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x0106Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x0121PushFlow(Label_0182);0x0126/Script/Engine.Default__KismetArrayLibrary.Array_Get(Resources, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0161AddResource(CallFunc_Array_Get_Item, HideWhenZero);0x0181PopFlow();0x0182Label_0182:0x0182CallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x01ACTemp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x01C7goto Label_009B;0x01CCLabel_01CC:0x01CCreturn;0x01CE// end of script | Public | 0x10 | |
void PreConstruct(bool IsDesignTime)Script4 statements · 36 bytes of bytecode0x0000PersistentFrame.K2Node_Event_IsDesignTime = IsDesignTime;0x0012ExecuteUbergraph_ITM_TopBar_Resources(398);0x0021return;0x0023// end of script | EventPublic | 0x01 | |
void UpdateResourceBehavior(bool HideWhenZero, bool DoCountAnim)Script5 statements · 54 bytes of bytecode0x0000PersistentFrame.K2Node_CustomEvent_HideWhenZero = HideWhenZero;0x0012PersistentFrame.K2Node_CustomEvent_DoCountAnim = DoCountAnim;0x0024ExecuteUbergraph_ITM_TopBar_Resources(441);0x0033return;0x0035// end of script | 0x02 | ||
void ExecuteUbergraph_ITM_TopBar_Resources(int32 EntryPoint)Script33 statements · 548 bytes of bytecode0x0000PushFlow(Label_0221);0x0005goto [EntryPoint];0x000FLabel_000F:0x000FPushFlow(Label_0086);0x0014/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_Map_Values_Values, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x004FCallFunc_Array_Get_Item.UpdateResourceBehavior(HideWhenZero, DoCountAnim);0x0085PopFlow();0x0086Label_0086:0x0086CallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x00B0Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x00CBLabel_00CB:0x00CBCallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_Map_Values_Values);0x0106CallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x012Cif (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x0136Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x0151goto Label_000F;0x0156Label_0156:0x0156Temp_int_Array_Index_Variable = 0;0x016Dgoto Label_00CB;0x0172Label_0172:0x0172Temp_int_Loop_Counter_Variable = 0;0x0189goto Label_0156;0x018EIsDesignTime = K2Node_Event_IsDesignTime;0x01A1SetResources(Resources);0x01B8PopFlow();0x01B9HideWhenZero = K2Node_CustomEvent_HideWhenZero;0x01CCDoCountAnim = K2Node_CustomEvent_DoCountAnim;0x01DFCallFunc_Map_Values_Values = {};0x01EA/Script/Engine.Default__BlueprintMapLibrary.Map_Values(ResourceWidgets, CallFunc_Map_Values_Values);0x021Cgoto Label_0172;0x0221Label_0221:0x0221return;0x0223// end of script | Final | 0x04 |