Dear Community,
Here is a thread where we can all compare our notes as we upgrade projects to 4.7!
Please post the compile errors you encountered and then resolved to help others along!
Also you are welcome to post questions here about compile errors you cant resolve.
Again this is a thread where everyone is welcome to contribute!
~~~
Generated Body
Time to switch over every .h file you have to use GENERATED_BODY !
Also note you will probably want to add public: if you put your BP vars at the top of the class.
Also note you need to include your class constructor now as well.
this
becomes this
~~~
RPCs in 4.7
You will likely encounter errors with your function calls like
Please see this note from Epic Ryan G.
Full details in this thread
~~~
Code Sample
this
becomes this
♥
Rama
Here is a thread where we can all compare our notes as we upgrade projects to 4.7!
Please post the compile errors you encountered and then resolved to help others along!
Also you are welcome to post questions here about compile errors you cant resolve.
Again this is a thread where everyone is welcome to contribute!
~~~
Generated Body
Time to switch over every .h file you have to use GENERATED_BODY !
Also note you will probably want to add public: if you put your BP vars at the top of the class.
Also note you need to include your class constructor now as well.
this
Code:
UCLASS() class AJoyMechPower : public AJoyMechFire { GENERATED_UCLASS_BODY()
Code:
UCLASS() class AJoyMechPower : public AJoyMechFire { GENERATED_BODY() public: AJoyMechPower(const FObjectInitializer& ObjectInitializer);
RPCs in 4.7
You will likely encounter errors with your function calls like
Code:
UFUNCTION(Server,Reliable,WithValidation) void YourServerFunc(); UFUNCTION(Client,Reliable,WithValidation) void YourClientFunc();
Originally posted by Ryan Gerleve
View Post
~~~
Code Sample
this
Code:
UFUNCTION(Reliable,Server,WithValidation) void SERVER_UpdateArmorMorph(FName Name, float Value);
Code:
UFUNCTION(Reliable,Server,WithValidation) void SERVER_UpdateArmorMorph(FName Name, float Value); bool SERVER_UpdateArmorMorph_Validate(FName Name, float Value); void SERVER_UpdateArmorMorph_Implementation(FName Name, float Value);
Rama
Comment