Generating headers

hm I’m successfully working with interfaces… please show some code so that we can help you.

Basically it’s like this:



//this is in 	MyInterface.h

#include "MyInterface.generated.h"
 
UINTERFACE()
class UMyInterface : public UInterface
{
	GENERATED_UINTERFACE_BODY()
};
 
class IMyInterface
{
	GENERATED_IINTERFACE_BODY()
 	[function declarations]
};




//this is in 	MyInterface.cpp

#include "MyInterface.h"
 
IMyInterface::MyFunction(){}
// function bodies if needed





//this is in 	SomeClass.h

#include "SomeClass.generated.h"
 
UCLASS()
class USomeClass : public UObject, public IMyInterface