How do i code server rpc in 4.7 ?

The problem then occurs, when I add the _Implementation function, that the compiler says that it already exists. And it doesn’t warn me at all about the lacking _Validation function declaration, which it should be?


	UFUNCTION( Category = "Barrage | Game | Player Controller", Reliable, Server, WithValidation )
	virtual void SetTurretFireGroupServer( int8 iFireGroup );

Generates warning


	UFUNCTION( Category = "Barrage | Game | Player Controller", Reliable, Server, WithValidation )
	virtual void SetTurretFireGroupServer( int8 iFireGroup );
	virtual void SetTurretFireGroupServer_Implementation( int8 iFireGroup );

Generates error saying it already exists. “error C2535: ‘void ABCPlayerController::SetTurretFireGroupServer_Implementation(int8)’ : member function already defined or declared”

I have the latest code in the 4.7 branch of the engine repo.

Something is pretty broken… unless I’m misunderstanding what I should be doing? I’ve “fixed” this by just disabling the warning in the codegenerator.cpp file and not declaring the function.