Hi,
My code can’t find EU_LOG I must be doing something wrong.
void ACollectableKey::OnRep_IsCollected()
{
if (HasAuthority())
{
EU_LOG(LogTemp, Display, TEXT("OnRep_IsCollected called from the Server!"));
}
else
{
EU_LOG(LogTemp, Display, TEXT("OnRep_IsCollected called from the Client!"));
}
Mesh->SetVisibility(!IsCollected);
}
Debug
F:-- Project --\CoopAdventure\Source\CoopAdventure\CollectableKey.cpp(76): error C2065: ‘Display’: undeclared identifier
F:-- Project --\CoopAdventure\Source\CoopAdventure\CollectableKey.cpp(76): error C3861: ‘EU_LOG’: identifier not found
F:-- Project --\CoopAdventure\Source\CoopAdventure\CollectableKey.cpp(80): error C2065: ‘Display’: undeclared identifier
F:-- Project --\CoopAdventure\Source\CoopAdventure\CollectableKey.cpp(80): error C3861: ‘EU_LOG’: identifier not found
These are my include files at the top of CollectableKey.cpp
#include “Net/UnrealNetwork.h”
#include “CoopAdventureCharacter.h”
#include “CollectableKey.h”