mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
cppkore uses string/wstring as StringBase while we use std::string/std::wstring as string/wstring. Changed all types in cppkore to String/WString instead.
17 lines
351 B
C++
17 lines
351 B
C++
#include "stdafx.h"
|
|
#include "Material.h"
|
|
#include "XXHash.h"
|
|
|
|
namespace Assets
|
|
{
|
|
Material::Material()
|
|
: Material("default_material", Hashing::XXHash::ComputeHash((uint8_t*)"default_material", 0, 16))
|
|
{
|
|
}
|
|
|
|
Material::Material(const String& Name, const uint64_t Hash)
|
|
: Name(Name), Hash(Hash), SourceHash((uint64_t)-1), SourceString("")
|
|
{
|
|
}
|
|
}
|