Hello, from a bug that i can’t post in my another post here i got :
Here are my code :
// Fill out your copyright notice in the Description page of Project Settings.
#include "Etherion.h"
#include "ItemData.h"
UItemData::UItemData(const class FPostConstructInitializeProperties& PCIP)
: Super(PCIP)
{
Name = GetName(); //make the human-readable name the same as the asset name
}
void UItemData::PostRename(UObject* OldOuter, const FName OldName)
{
Name = GetName(); //make the human-readable name the same as the asset name
}
And my errors :
- Erreur 1 error C2059: erreur de syntaxe : ‘chaîne’ E:\Etherion\Etherion\Source\Etherion\ItemData.cpp 7 1 Etherion
- Erreur 2 error C2143: erreur de syntaxe : absence de ‘,’ avant ‘&’ E:\Etherion\Etherion\Source\Etherion\ItemData.cpp 7 1 Etherion
- Erreur 3 error C2059: erreur de syntaxe : ‘&’ E:\Etherion\Etherion\Source\Etherion\ItemData.cpp 7 1 Etherion
- Erreur 4 error C2511: ‘UItemData::UItemData(const FObjectInitializer (__cdecl *)(void))’ : impossible de trouver la fonction membre surchargée dans ‘UItemData’ E:\Etherion\Etherion\Source\Etherion\ItemData.cpp 8 1 Etherion
- Erreur 5 error C2065: ‘PCIP’ : identificateur non déclaré E:\Etherion\Etherion\Source\Etherion\ItemData.cpp 8 1 Etherion
- Erreur 6 error C2550: ‘UItemData::{ctor}’ : les listes d’initialiseurs de constructeur ne sont autorisées que dans la définition d’un constructeur E:\Etherion\Etherion\Source\Etherion\ItemData.cpp 9 1 Etherion
- Erreur 7 error C2352: ‘UObjectBaseUtility::GetName’ : appel non conforme d’une fonction membre non static E:\Etherion\Etherion\Source\Etherion\ItemData.cpp 10 1 Etherion