|
Space Plunder
|
#include <InteractableBox.h>
Public Member Functions | |
| AInteractableBox () | |
| void | OnBoxOpened () |
| void | Server_CalculateRandomNumber () |
| void | Server_OpenBox (const FVector &Force) |
Public Member Functions inherited from AInteractableActor | |
| AInteractableActor () | |
| virtual void | ReceiveOnEndInteract (AActor *Caller) |
| virtual void | ReceiveOnOverlap (AActor *Caller) |
| virtual void | ReceiveOnEndOverlap (AActor *Caller) |
Public Member Functions inherited from AActorBase | |
| AActorBase () | |
| virtual bool | SaveGame () override |
| virtual bool | LoadGame () override |
| void | SetGravityEnabledEvent (const bool bValue) |
Protected Member Functions | |
| virtual void | BeginPlay () override |
| virtual void | ReceiveOnInteract (AActor *Caller, const EInteractionType InteractionType) override |
| virtual void | ReceiveToggleSwitch (AActor *Caller, const bool bOn) override |
| virtual void | ReceiveStartFocus (AActor *Caller) override |
| virtual void | ReceiveEndFocus (AActor *Caller) override |
| void | SetMesh () |
| void | OpenBox (const FVector &Force) |
| bool | IsValid () const |
| FVector | CalculateImpulse (const AActor *Caller) const |
| void | OnMeshTypeReplicated () |
| void | OnOpenedReplicated () |
| void | OnBoxDataReplicated () |
Protected Member Functions inherited from AInteractableActor | |
| virtual void | Tick (float DeltaTime) override |
| virtual void | SetMeshOutline (const bool bValue) |
Protected Member Functions inherited from AActorBase | |
| void | LogDebugError (const FString &Message) const |
| void | LogDebugError (const FString &Message, const int32 Value) const |
| void | LogDebugError (const FString &Message, const float Value) const |
| void | LogDebugWarning (const FString &Message) const |
| void | LogDebugWarning (const FString &Message, const int32 Value) const |
| void | LogDebugWarning (const FString &Message, const float Value) const |
| void | LogDebugMessage (const FString &Message, const bool bWarning=false, const bool bError=false) const |
| void | LogDebugMessage (const FString &Message, const int32 Value, const bool bWarning=false, const bool bError=false) const |
| void | LogDebugMessage (const FString &Message, const float Value, const bool bWarning=false, const bool bError=false) const |
| void | LogDebugMessage (const FString &Message, const bool bValue, const bool bWarning, const bool bError) const |
| void | LogOnScreenMessage (const int32 Key, const FString &Message, FColor Color=FColor::Green) const |
| void | SetCategoryName (const FLogCategoryBase &Category) |
Protected Attributes | |
| UStaticMeshComponent * | BaseMeshComponent |
| UStaticMeshComponent * | LidMeshComponent |
| class USphereComponent * | SphereComponent |
| bool | bOpened = false |
| bool | bUseBoxData = false |
| bool | bUseRandom = false |
| int32 | MeshType = 0 |
| TArray< UStaticMesh * > | BaseMeshes |
| TArray< UStaticMesh * > | LidMeshes |
| int32 | Credits = 0 |
| int32 | XP = 0 |
| float | DirectionalForce = 5200.0f |
| float | UpForce = 12500.0f |
| class USoundBase * | OpenSound |
| FBoxReplicationData | BoxReplicationData |
Protected Attributes inherited from AInteractableActor | |
| class UInteractableActorComponent * | InteractableActorComponent |
| class UAudioReactionComponent * | AudioReactionComponent |
| class UAIPerceptionStimuliSourceComponent * | PerceptionStimuliComponent |
Protected Attributes inherited from AActorBase | |
| FString | DisplayName = "Display Name" |
| bool | bDebuggingMode = false |
Private Member Functions | |
| void | DestroyLid () |
Private Attributes | |
| bool | bLidDestroyed = false |
| float | LidDestroyTime = 20.0f |
| FTimerHandle | LidDestroyTimerHandle |
|
explicit |
|
overrideprotectedvirtual |
Reimplemented from AInteractableActor.
|
protected |
|
private |
|
protected |
|
protected |
| void AInteractableBox::OnBoxOpened | ( | ) |
|
protected |
|
protected |
|
protected |
|
overrideprotectedvirtual |
Reimplemented from AInteractableActor.
|
overrideprotectedvirtual |
Reimplemented from AInteractableActor.
|
overrideprotectedvirtual |
Reimplemented from AInteractableActor.
|
overrideprotectedvirtual |
Reimplemented from AInteractableActor.
| void AInteractableBox::Server_CalculateRandomNumber | ( | ) |
| void AInteractableBox::Server_OpenBox | ( | const FVector & | Force | ) |
|
protected |
|
protected |
|
protected |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
How much force in the direction from the Character Interacting
|
private |
How Long After opened does the lid last
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
How much force UP when opened
|
protected |