MCPcopy Create free account
hub / github.com/20tab/UnrealEnginePython / APyCharacter

Class APyCharacter

Source/UnrealEnginePython/Public/PyCharacter.h:10–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9UCLASS()
10class APyCharacter : public ACharacter
11{
12 GENERATED_BODY()
13
14public:
15 // Sets default values for this component's properties
16 APyCharacter();
17 ~APyCharacter();
18
19 // Called when the game starts
20 virtual void BeginPlay() override;
21
22 // Called every frame
23 virtual void Tick(float DeltaSeconds) override;
24
25 // Called to bind functionality to input
26 virtual void SetupPlayerInputComponent(class UInputComponent* input) override;
27
28 UPROPERTY(EditAnywhere , Category = "Python")
29 FString PythonModule;
30
31 UPROPERTY(EditAnywhere, Category = "Python")
32 FString PythonClass;
33
34 UPROPERTY(EditAnywhere, Category = "Python")
35 bool PythonTickForceDisabled;
36
37 UPROPERTY(EditAnywhere, Category = "Python")
38 bool PythonDisableAutoBinding;
39
40 UFUNCTION(BlueprintCallable, Category = "Python")
41 void CallPyCharacterMethod(FString method_name, FString args);
42
43 UFUNCTION(BlueprintCallable, Category = "Python")
44 bool CallPyCharacterMethodBool(FString method_name, FString args);
45
46 UFUNCTION(BlueprintCallable, Category = "Python")
47 FString CallPyCharacterMethodString(FString method_name, FString args);
48
49 UFUNCTION(BlueprintCallable, Category = "Python")
50 float CallPyCharacterMethodFloat(FString method_name, FString args);
51
52 UFUNCTION(BlueprintCallable, Category = "Python")
53 void SetPythonAttrInt(FString attr, int Integer);
54
55 UFUNCTION(BlueprintCallable, Category = "Python")
56 void SetPythonAttrFloat(FString attr, float Float);
57
58 UFUNCTION(BlueprintCallable, Category = "Python")
59 void SetPythonAttrString(FString attr, FString String);
60
61 UFUNCTION(BlueprintCallable, Category = "Python")
62 void SetPythonAttrBool(FString attr, bool Boolean);
63
64 UFUNCTION(BlueprintCallable, Category = "Python")
65 void SetPythonAttrVector(FString attr, FVector Vector);
66
67 UFUNCTION(BlueprintCallable, Category = "Python")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected