Class
UBPC_SN2AdaptationsPlayerStateComponent_C
: USN2AdaptationsPlayerStateComponent : UActorComponent : UObject0x00x0168
Members 3
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | UberGraphFrame | FPointerToUberGraphFrame | Transient+2 flags | {} | |
| 0x08 | MPC_SN2 | UMaterialParameterCollection* | 6 flags | /Game/Materials/MPC_SN2.MPC_SN2 | |
| 0x08 | MPC_AxumAdaptationParam | FName | 7 flags | Adapted_AxumVisibility |
Inherited from USN2AdaptationsPlayerStateComponent 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x10 | OnAdaptationInstalled | FMulticastScriptDelegate | 4 flags | <delegate> | |
| 0x10 | OnAdaptationRemoved | FMulticastScriptDelegate | 4 flags | <delegate> | |
| 0x10 | OnAdaptationsInitialized | FMulticastScriptDelegate | 4 flags | <delegate> | |
| 0x10 | Adaptations | TArray<FUWEPlayerAdaptation> | Protected+5 flags | [] |
Inherited from UActorComponent 15
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x30 | PrimaryComponentTick | FActorComponentTickFunction | 3 flags | {} | |
| 0x10 | ComponentTags | TArray<FName> | 4 flags | [] | |
| 0x10 | AssetUserData | TArray<UAssetUserData*> | Protected+8 flags | [] | |
| 0x0090 | 0x04 | padding / unreflected | |||
| 0x04 | UCSSerializationIndex | int32 | 5 flags | -1 | |
| 0x0098 | 0x04 | padding / unreflected | |||
| 0x01 | bNetAddressable : 1bit 5 | bool | Protected+3 flags | false | |
| 0x01 | bReplicateUsingRegisteredSubObjectList : 1bit 6 | bool | Protected+9 flags | false | |
| 0x01 | bReplicates : 1bit 7 | bool | Net+7 flags | false | |
| 0x009D | 0x01 | padding / unreflected | |||
| 0x01 | bAutoActivate : 1bit 3 | bool | 6 flags | false | |
| 0x01 | bIsActive : 1bit 4 | bool | NetTransient+4 flags | false | |
| 0x01 | bEditableWhenInherited : 1bit 5 | bool | 5 flags | true | |
| 0x01 | bCanEverAffectNavigation : 1bit 7 | bool | Protected+6 flags | false | |
| 0x01 | bIsEditorOnly : 1bit 1 | bool | 6 flags | false | |
| 0x00A0 | 0x19 | padding / unreflected | |||
| 0x01 | CreationMethod | EComponentCreationMethod | 5 flags | Native | |
| 0x01 | OnComponentActivated | FMulticastScriptDelegate | 4 flags | <delegate> | |
| 0x01 | OnComponentDeactivated | FMulticastScriptDelegate | 4 flags | <delegate> | |
Functions 5
| Signature | Flags | Native | Params |
|---|---|---|---|
void IsLocallyControlled(const bool& Value)Script8 statements · 195 bytes of bytecode0x0000CallFunc_GetOwner_ReturnValue = GetOwner();0x0014K2Node_DynamicCast_AsPlayer_State = Cast<PlayerState>(CallFunc_GetOwner_ReturnValue);0x0038K2Node_DynamicCast_bSuccess = Cast<1>(K2Node_DynamicCast_AsPlayer_State);0x0055CallFunc_GetPawn_ReturnValue = K2Node_DynamicCast_AsPlayer_State.GetPawn();0x007FCallFunc_IsLocallyControlled_ReturnValue = CallFunc_GetPawn_ReturnValue.IsLocallyControlled();0x00ADValue = CallFunc_IsLocallyControlled_ReturnValue;0x00C0return;0x00C2// end of script | Public | 0x01 | |
void OnTagCountChanged_245D21FB46F57D297C924E84B95B19E7(int32 Count)Script4 statements · 36 bytes of bytecode0x0000PersistentFrame.K2Node_CustomEvent_Count = Count;0x0012ExecuteUbergraph_BPC_SN2AdaptationsPlayerStateComponent(15);0x0021return;0x0023// end of script | 0x04 | ||
void ReceiveBeginPlay()Script3 statements · 18 bytes of bytecode0x0000ExecuteUbergraph_BPC_SN2AdaptationsPlayerStateComponent(526);0x000Freturn;0x0011// end of script | EventPublic | 0x00 | |
void OnSettingsChanged(FUWEGameConfigSettings& ChangedSettings)Script4 statements · 36 bytes of bytecode0x0000PersistentFrame.K2Node_CustomEvent_ChangedSettings = ChangedSettings;0x0012ExecuteUbergraph_BPC_SN2AdaptationsPlayerStateComponent(990);0x0021return;0x0023// end of script | 0x2C | ||
void ExecuteUbergraph_BPC_SN2AdaptationsPlayerStateComponent(int32 EntryPoint)Script44 statements · 1,026 bytes of bytecode0x0000PushFlow(Label_03FF);0x0005goto [EntryPoint];0x000FTemp_int_Variable = K2Node_CustomEvent_Count;0x002ACallFunc_Greater_IntInt_ReturnValue = Greater_IntInt(Temp_int_Variable, 0);0x004CCallFunc_SelectFloat_ReturnValue = SelectFloat(1, 0, CallFunc_Greater_IntInt_ReturnValue);0x0083CallFunc_SetScalarParameterValue_ParameterValue_ImplicitCast = Cast<3>(CallFunc_SelectFloat_ReturnValue);0x00A0SetScalarParameterValue(this, MPC_SN2, MPC_AxumAdaptationParam, CallFunc_SetScalarParameterValue_ParameterValue_ImplicitCast);0x00C6PopFlow();0x00C7Label_00C7:0x00C7CallFunc_GetOwner_ReturnValue = GetOwner();0x00DBK2Node_DynamicCast_AsPlayer_State = Cast<PlayerState>(CallFunc_GetOwner_ReturnValue);0x00FFK2Node_DynamicCast_bSuccess = Cast<1>(K2Node_DynamicCast_AsPlayer_State);0x011Cif (!(K2Node_DynamicCast_bSuccess)) PopFlow();0x0126UnlockPlayerStoryGoal(this, /Game/Data/StoryGoal/CoralGardens/VO/DA_Adaptation_BreathingAdaptation_StoryGoal.DA_Adaptation_BreathingAdaptation_StoryGoal, K2Node_DynamicCast_AsPlayer_State);0x0143PopFlow();0x0144Label_0144:0x0144CallFunc_WaitForLocalPlayerGameplayTagCount_ReturnValue = WaitForLocalPlayerGameplayTagCount(this, GameplayTag{FName(Adaptations.AxumGlyphs)});0x0174CallFunc_IsValid_ReturnValue = IsValid(CallFunc_WaitForLocalPlayerGameplayTagCount_ReturnValue);0x0191if (!(CallFunc_IsValid_ReturnValue)) goto Label_0203;0x019FK2Node_CreateDelegate_OutputDelegate_1.Bind(this, OnTagCountChanged_245D21FB46F57D297C924E84B95B19E7);0x01B6CallFunc_WaitForLocalPlayerGameplayTagCount_ReturnValue.OnTagCountChanged += K2Node_CreateDelegate_OutputDelegate_1;0x01DFCallFunc_WaitForLocalPlayerGameplayTagCount_ReturnValue.Activate();0x0203Label_0203:0x0203ReceiveBeginPlay();0x020DPopFlow();0x020EPushFlow(Label_0144);0x0213CallFunc_GetGameState_ReturnValue = /Script/Subnautica2.Default__SN2Statics.GetGameState(this);0x023ECallFunc_GetComponentByClass_ReturnValue = CallFunc_GetGameState_ReturnValue.GetComponentByClass(/Script/UWEGameConfiguration.UWEGameConfigComponent);0x0271CallFunc_IsValid_ReturnValue_1 = IsValid(CallFunc_GetComponentByClass_ReturnValue);0x028Eif (!(CallFunc_IsValid_ReturnValue_1)) PopFlow();0x0298K2Node_CreateDelegate_OutputDelegate.Bind(this, OnSettingsChanged);0x02AFCallFunc_GetGameState_ReturnValue = /Script/Subnautica2.Default__SN2Statics.GetGameState(this);0x02DACallFunc_GetComponentByClass_ReturnValue = CallFunc_GetGameState_ReturnValue.GetComponentByClass(/Script/UWEGameConfiguration.UWEGameConfigComponent);0x030DCallFunc_GetComponentByClass_ReturnValue.OnSettingsChanged += K2Node_CreateDelegate_OutputDelegate;0x0336CallFunc_GetGameState_ReturnValue = /Script/Subnautica2.Default__SN2Statics.GetGameState(this);0x0361CallFunc_GetComponentByClass_ReturnValue = CallFunc_GetGameState_ReturnValue.GetComponentByClass(/Script/UWEGameConfiguration.UWEGameConfigComponent);0x0394CallFunc_GetGameSettings_ReturnValue = CallFunc_GetComponentByClass_ReturnValue.GetGameSettings();0x03C6OnSettingsChanged(CallFunc_GetGameSettings_ReturnValue);0x03DDPopFlow();0x03DEif (!(K2Node_CustomEvent_ChangedSettings.BiomodSettings.bUnlockAdaptations)) PopFlow();0x03FAgoto Label_00C7;0x03FFLabel_03FF:0x03FFreturn;0x0401// end of script | Final | 0x04 |