voidSave Inventory to Game instance()Script6 statements · 95 bytes of bytecode
0x0000CallFunc_IsValid_ReturnValue = IsValid(CT Game Instance);0x001Dif (!(CallFunc_IsValid_ReturnValue)) goto Label_005C;0x002BCT Game Instance.Player Inventory = Active Inventory;0x005CLabel_005C:0x005Creturn;0x005E// end of script
Public
0x00
voidLoad Inventory from Game Instance()Script6 statements · 108 bytes of bytecode
0x0000Active Inventory = CT Game Instance.Player Inventory;0x0031K2Node_CreateDelegate_OutputDelegate.Bind(this, Save Inventory to Game instance);0x0048Update Inventory += K2Node_CreateDelegate_OutputDelegate;0x005BGolden Gun Update();0x0069return;0x006B// end of script
Public
0x00
voidUpdate Data on Inventory Item component(const FST_Item& Item to update)Script22 statements · 519 bytes of bytecode
0x0000PushFlow(Label_0204);0x0005Temp_int_Loop_Counter_Variable = 0;0x001CTemp_int_Array_Index_Variable = 0;0x0033Label_0033:0x0033CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Item Carousel Active 3D Components);0x006ECallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x0094if (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x009ETemp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x00B9PushFlow(Label_01BA);0x00BE/Script/Engine.Default__KismetArrayLibrary.Array_Get(Item Carousel Active 3D Components, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x00F9CallFunc_EqualEqual_ClassClass_ReturnValue = EqualEqual_ClassClass(CallFunc_Array_Get_Item.My Item.ItemClass_2_CD9CCF264C0DB16FB0FA5ABFB0E2B5C6, Item to update.ItemClass_2_CD9CCF264C0DB16FB0FA5ABFB0E2B5C6);0x0147if (!(CallFunc_EqualEqual_ClassClass_ReturnValue)) PopFlow();0x0151/Script/Engine.Default__KismetArrayLibrary.Array_Get(Item Carousel Active 3D Components, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x018CCallFunc_Array_Get_Item.Update Item Data(Item to update);0x01B9PopFlow();0x01BALabel_01BA:0x01BACallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x01E4Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x01FFgoto Label_0033;0x0204Label_0204:0x0204return;0x0206// end of script
Public
0x10
voidUpdate Active Item(int32Index)Script8 statements · 242 bytes of bytecode
0x0000CallFunc_Abs_Int_ReturnValue = Abs_Int(Index);0x0025CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Item Carousel Base);0x0060CallFunc_Percent_IntInt_ReturnValue = Percent_IntInt(CallFunc_Abs_Int_ReturnValue, CallFunc_Array_Length_ReturnValue);0x008E/Script/Engine.Default__KismetArrayLibrary.Array_Get(Item Carousel Base, CallFunc_Percent_IntInt_ReturnValue, CallFunc_Array_Get_Item);0x00C9Active Carousel Item = CallFunc_Array_Get_Item;0x00DCUpdated Active Item.Broadcast();0x00EFreturn;0x00F1// end of script
Public
0x04
voidGet Current Carousel Item(FST_Item& ?)Script3 statements · 41 bytes of bytecode
0x0000? = ST_Item{nullptr, 1};0x0026return;0x0028// end of script
Public
0x10
voidGet Scaled Base Distance(const double& Scaled)Script5 statements · 122 bytes of bytecode
0x0000BreakVector(RelativeScale3D, CallFunc_BreakVector_X, CallFunc_BreakVector_Y, CallFunc_BreakVector_Z);0x002ECallFunc_Multiply_DoubleDouble_ReturnValue = Multiply_DoubleDouble(Item Carousel Base Distance, CallFunc_BreakVector_X);0x005CScaled = CallFunc_Multiply_DoubleDouble_ReturnValue;0x0077return;0x0079// end of script
Public
0x08
voidGet Quantity Of Item(TSubclassOf<UItem_Master_C>Item, const int32& Quantity)Script27 statements · 584 bytes of bytecode
0x0000Get Scaled Base Distance(CallFunc_Get_Scaled_Base_Distance_Scaled);0x0017CallFunc_Get_Carousel_Base_Size_ReturnValue = Get Carousel Base Size();0x0037CallFunc_Multiply_DoubleDouble_ReturnValue = Multiply_DoubleDouble(CallFunc_Get_Scaled_Base_Distance_Scaled, -1);0x0065CallFunc_Conv_IntToDouble_ReturnValue = Conv_IntToDouble(CallFunc_Get_Carousel_Base_Size_ReturnValue);0x008ACallFunc_Multiply_DoubleDouble_ReturnValue_1 = Multiply_DoubleDouble(CallFunc_Conv_IntToDouble_ReturnValue, CallFunc_Multiply_DoubleDouble_ReturnValue);0x00B8Left = 0;0x00D3Right = CallFunc_Multiply_DoubleDouble_ReturnValue_1;0x00EEreturn;0x00F0// end of script
Public
0x10
voidNext Item(boolNext/Previous)Script35 statements · 963 bytes of bytecode
0x0000if (!(Carousel Move Cooldown)) goto Label_0013;0x000Egoto Label_03C0;0x0013Label_0013:0x0013Trigger Carousel Move Cooldown();0x0021CallFunc_Get_Carousel_Next_Target_ReturnValue_1 = Get Carousel Next Target(Next/Previous);0x004ADesired Target = CallFunc_Get_Carousel_Next_Target_ReturnValue_1;0x0065CallFunc_Get_Carousel_Base_Size_ReturnValue = Get Carousel Base Size();0x0085CallFunc_Subtract_IntInt_ReturnValue = Subtract_IntInt(CallFunc_Get_Carousel_Base_Size_ReturnValue, 1);0x00AFCallFunc_SelectInt_ReturnValue = SelectInt(-1, 1, Next/Previous);0x00DECallFunc_Add_IntInt_ReturnValue = Add_IntInt(Active Carousel Item Index, CallFunc_SelectInt_ReturnValue);0x010CCallFunc_Less_IntInt_ReturnValue = Less_IntInt(CallFunc_Add_IntInt_ReturnValue, 0);0x012ECallFunc_SelectInt_ReturnValue_1 = SelectInt(CallFunc_Subtract_IntInt_ReturnValue, CallFunc_Add_IntInt_ReturnValue, CallFunc_Less_IntInt_ReturnValue);0x0165Active Carousel Item Index = CallFunc_SelectInt_ReturnValue_1;0x0180Update Active Item(Active Carousel Item Index);0x0197Get Carousel Limits(CallFunc_Get_Carousel_Limits_Left, CallFunc_Get_Carousel_Limits_Right);0x01B7CallFunc_LessEqual_DoubleDouble_ReturnValue = LessEqual_DoubleDouble(Carousel Target, CallFunc_Get_Carousel_Limits_Right);0x01DDCallFunc_GreaterEqual_DoubleDouble_ReturnValue = GreaterEqual_DoubleDouble(Carousel Target, CallFunc_Get_Carousel_Limits_Left);0x0203CallFunc_BooleanOR_ReturnValue = BooleanOR(CallFunc_GreaterEqual_DoubleDouble_ReturnValue, CallFunc_LessEqual_DoubleDouble_ReturnValue);0x0229if (!(CallFunc_BooleanOR_ReturnValue)) goto Label_03A5;0x0237Get Scaled Base Distance(CallFunc_Get_Scaled_Base_Distance_Scaled);0x024ECallFunc_Get_Carousel_Base_Size_ReturnValue_1 = Get Carousel Base Size();0x026ECallFunc_Conv_IntToDouble_ReturnValue = Conv_IntToDouble(CallFunc_Get_Carousel_Base_Size_ReturnValue_1);0x0293CallFunc_Multiply_DoubleDouble_ReturnValue = Multiply_DoubleDouble(CallFunc_Conv_IntToDouble_ReturnValue, CallFunc_Get_Scaled_Base_Distance_Scaled);0x02C1CallFunc_Multiply_DoubleDouble_ReturnValue_1 = Multiply_DoubleDouble(CallFunc_Multiply_DoubleDouble_ReturnValue, -1);0x02EFCallFunc_SelectFloat_ReturnValue = SelectFloat(CallFunc_Multiply_DoubleDouble_ReturnValue_1, 0, Next/Previous);0x0326Carousel Target = CallFunc_SelectFloat_ReturnValue;0x0341Carousel Current = Carousel Target;0x035CCallFunc_Get_Carousel_Next_Target_ReturnValue = Get Carousel Next Target(Next/Previous);0x0385Carousel Target = CallFunc_Get_Carousel_Next_Target_ReturnValue;0x03A0goto Label_03C0;0x03A5Label_03A5:0x03A5Carousel Target = Desired Target;0x03C0Label_03C0:0x03C0return;0x03C2// end of script
Public
0x01
voidUpdate Carousel Position()Script9 statements · 291 bytes of bytecode
0x0000CallFunc_GetWorldDeltaSeconds_ReturnValue = GetWorldDeltaSeconds(this);0x001DCallFunc_Multiply_DoubleDouble_ReturnValue = Multiply_DoubleDouble(CallFunc_GetWorldDeltaSeconds_ReturnValue, Carousel Speed);0x004BCallFunc_Lerp_ReturnValue = Lerp(Carousel Current, Carousel Target, CallFunc_Multiply_DoubleDouble_ReturnValue);0x0082Carousel Current = CallFunc_Lerp_ReturnValue;0x009DBreakVector(RelativeLocation, CallFunc_BreakVector_X, CallFunc_BreakVector_Y, CallFunc_BreakVector_Z);0x00CBCallFunc_MakeVector_ReturnValue = MakeVector(CallFunc_BreakVector_X, Carousel Current, CallFunc_BreakVector_Z);0x0102K2_SetRelativeLocation(CallFunc_MakeVector_ReturnValue, false, CallFunc_K2_SetRelativeLocation_SweepHitResult, false);0x0120return;0x0122// end of script
Public
0x00
voidUpdate Carousel()Script57 statements · 1,508 bytes of bytecode
0x0000PushFlow(Label_05E1);0x0005Current Index Looping = 0;0x001CCallFunc_Array_IsValidIndex_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_IsValidIndex(Active Inventory, 0);0x0054if (!(CallFunc_Array_IsValidIndex_ReturnValue)) PopFlow();0x005EPushFlow(Label_0189);0x0063Temp_int_Loop_Counter_Variable = 0;0x007ATemp_int_Array_Index_Variable = 0;0x0091Label_0091:0x0091CallFunc_Array_Length_ReturnValue_2 = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Item Carousel Active 3D Components);0x00CCCallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue_2);0x00F2if (!(CallFunc_Less_IntInt_ReturnValue)) goto Label_056D;0x0100Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x011BPushFlow(Label_0597);0x0120/Script/Engine.Default__KismetArrayLibrary.Array_Get(Item Carousel Active 3D Components, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item_1);0x015BMy Player.Request Component Destruction(CallFunc_Array_Get_Item_1);0x0188PopFlow();0x0189Label_0189:0x0189CallFunc_Multiply_DoubleDouble_ReturnValue = Multiply_DoubleDouble(Item Carousel Base Distance, -1);0x01B7CallFunc_Array_Length_ReturnValue_1 = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Item Carousel Base);0x01F2CallFunc_Subtract_IntInt_ReturnValue_1 = Subtract_IntInt(CallFunc_Array_Length_ReturnValue_1, 1);0x021C/Script/Engine.Default__KismetArrayLibrary.Array_Get(Item Carousel Base, CallFunc_Subtract_IntInt_ReturnValue_1, CallFunc_Array_Get_Item);0x0257Create Item Subclass(CallFunc_Array_Get_Item, CallFunc_Multiply_DoubleDouble_ReturnValue);0x0277Temp_int_Variable = 0;0x028ELabel_028E:0x028ECallFunc_Get_Carousel_Base_Size_ReturnValue = Get Carousel Base Size();0x02AECallFunc_Add_IntInt_ReturnValue_2 = Add_IntInt(CallFunc_Get_Carousel_Base_Size_ReturnValue, 1);0x02D8CallFunc_LessEqual_IntInt_ReturnValue = LessEqual_IntInt(Temp_int_Variable, CallFunc_Add_IntInt_ReturnValue_2);0x02FEif (!(CallFunc_LessEqual_IntInt_ReturnValue)) PopFlow();0x0308PushFlow(Label_0523);0x030DCurrent Index = Temp_int_Variable;0x0328CallFunc_Abs_Int_ReturnValue = Abs_Int(Temp_int_Variable);0x034DCallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Item Carousel Base);0x0388CallFunc_Subtract_IntInt_ReturnValue = Subtract_IntInt(CallFunc_Array_Length_ReturnValue, 1);0x03B2CallFunc_EqualEqual_IntInt_ReturnValue = EqualEqual_IntInt(CallFunc_Subtract_IntInt_ReturnValue, 0);0x03D4CallFunc_Get_Carousel_Base_Size_ReturnValue = Get Carousel Base Size();0x03F4CallFunc_SelectInt_ReturnValue = SelectInt(CallFunc_Subtract_IntInt_ReturnValue, CallFunc_Get_Carousel_Base_Size_ReturnValue, CallFunc_EqualEqual_IntInt_ReturnValue);0x042BCallFunc_Percent_IntInt_ReturnValue = Percent_IntInt(CallFunc_Abs_Int_ReturnValue, CallFunc_SelectInt_ReturnValue);0x0459Current Index Looping = CallFunc_Percent_IntInt_ReturnValue;0x0474CallFunc_Conv_IntToDouble_ReturnValue = Conv_IntToDouble(Current Index);0x0499CallFunc_Multiply_DoubleDouble_ReturnValue_1 = Multiply_DoubleDouble(Item Carousel Base Distance, CallFunc_Conv_IntToDouble_ReturnValue);0x04C7/Script/Engine.Default__KismetArrayLibrary.Array_Get(Item Carousel Base, Current Index Looping, CallFunc_Array_Get_Item_2);0x0502Create Item Subclass(CallFunc_Array_Get_Item_2, CallFunc_Multiply_DoubleDouble_ReturnValue_1);0x0522PopFlow();0x0523Label_0523:0x0523CallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Variable, 1);0x054DTemp_int_Variable = CallFunc_Add_IntInt_ReturnValue;0x0568goto Label_028E;0x056DLabel_056D:0x056D/Script/Engine.Default__KismetArrayLibrary.Array_Clear(Item Carousel Active 3D Components);0x0596PopFlow();0x0597Label_0597:0x0597CallFunc_Add_IntInt_ReturnValue_1 = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x05C1Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue_1;0x05DCgoto Label_0091;0x05E1Label_05E1:0x05E1return;0x05E3// end of script
Public
0x00
voidInstantiate New Item(TSubclassOf<UItem_Master_C>Item Class)Script3 statements · 71 bytes of bytecode
0x0000CallFunc_Array_AddUnique_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_AddUnique(Item Carousel Base, Item Class);0x0044return;0x0046// end of script
Public
0x08
void(Re) Generate Inventory()Script28 statements · 538 bytes of bytecode
0x0000PushFlow(Label_0217);0x0005/Script/Engine.Default__KismetArrayLibrary.Array_Clear(Item Carousel Base);0x002EItem Carousel Active Index = 0;0x0045Active Carousel Item Index = 0;0x005CCarousel Current = 0;0x0077Carousel Target = 0;0x0092Temp_int_Loop_Counter_Variable = 0;0x00A9Temp_int_Array_Index_Variable = 0;0x00C0Label_00C0:0x00C0CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Active Inventory);0x00FBCallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x0121if (!(CallFunc_Less_IntInt_ReturnValue)) goto Label_01AB;0x012FTemp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x014APushFlow(Label_01CD);0x014F/Script/Engine.Default__KismetArrayLibrary.Array_Get(Active Inventory, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x018AInstantiate New Item(CallFunc_Array_Get_Item.ItemClass_2_CD9CCF264C0DB16FB0FA5ABFB0E2B5C6);0x01AAPopFlow();0x01ABLabel_01AB:0x01ABUpdate Carousel();0x01B9Update Active Item(0);0x01CCPopFlow();0x01CDLabel_01CD:0x01CDCallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x01F7Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x0212goto Label_00C0;0x0217Label_0217:0x0217return;0x0219// end of script
Public
0x00
voidReceiveBeginPlay()Script3 statements · 18 bytes of bytecode
0x0000ExecuteUbergraph_InventoryComponent(237);0x000Freturn;0x0011// end of script
EventPublic
0x00
voidReceiveTick(floatDeltaSeconds)Script4 statements · 36 bytes of bytecode
0x0000PersistentFrame.K2Node_Event_DeltaSeconds = DeltaSeconds;0x0012ExecuteUbergraph_InventoryComponent(422);0x0021return;0x0023// end of script
EventPublic
0x04
voidTrigger Carousel Move Cooldown()Script3 statements · 18 bytes of bytecode
0x0000ExecuteUbergraph_InventoryComponent(437);0x000Freturn;0x0011// end of script
0x00
voidExecuteUbergraph_InventoryComponent(int32EntryPoint)Script37 statements · 506 bytes of bytecode
0x0000PushFlow(Label_01F7);0x0005goto [EntryPoint];0x000FCarousel Move Cooldown = false;0x001APopFlow();0x001BLabel_001B:0x001BCallFunc_GetGameInstance_ReturnValue = GetGameInstance(this);0x0030K2Node_DynamicCast_AsBPI_Comatose_Retriever = Cast<BPI_ComatoseRetriever_C>(CallFunc_GetGameInstance_ReturnValue);0x0054K2Node_DynamicCast_bSuccess = Cast<2>(K2Node_DynamicCast_AsBPI_Comatose_Retriever);0x0071if (!(K2Node_DynamicCast_bSuccess)) goto Label_00DD;0x007FK2Node_DynamicCast_AsBPI_Comatose_Retriever.Retrieve Comatose Game Instance(CallFunc_Retrieve_Comatose_Game_Instance_CT_Game_Instance);0x00ADLabel_00AD:0x00ADCT Game Instance = CallFunc_Retrieve_Comatose_Game_Instance_CT_Game_Instance;0x00C0Load Inventory from Game Instance();0x00CE(Re) Generate Inventory();0x00DCPopFlow();0x00DDLabel_00DD:0x00DDCallFunc_Retrieve_Comatose_Game_Instance_CT_Game_Instance = nullptr;0x00E8goto Label_00AD;0x00EDCallFunc_GetOwner_ReturnValue = GetOwner();0x0101K2Node_DynamicCast_AsBPI_Comatose_Retriever_1 = Cast<BPI_ComatoseRetriever_C>(CallFunc_GetOwner_ReturnValue);0x0125K2Node_DynamicCast_bSuccess_1 = Cast<2>(K2Node_DynamicCast_AsBPI_Comatose_Retriever_1);0x0142if (!(K2Node_DynamicCast_bSuccess_1)) goto Label_0196;0x0150K2Node_DynamicCast_AsBPI_Comatose_Retriever_1.Retrieve Comatose Character(CallFunc_Retrieve_Comatose_Character_Player);0x017ELabel_017E:0x017EMy Player = CallFunc_Retrieve_Comatose_Character_Player;0x0191goto Label_001B;0x0196Label_0196:0x0196CallFunc_Retrieve_Comatose_Character_Player = nullptr;0x01A1goto Label_017E;0x01A6Update Carousel Position();0x01B4PopFlow();0x01B5Carousel Move Cooldown = true;0x01C0Delay(this, 0.1f, LatentActionInfo{0xF, 657472973, FName(ExecuteUbergraph_InventoryComponent), this});0x01F6PopFlow();0x01F7Label_01F7:0x01F7return;0x01F9// end of script