# Conflicts: # Content/Shaders/GI/DDGI.flax # Content/Shaders/GI/GlobalSurfaceAtlas.flax # Content/Shaders/TAA.flax # Content/Shaders/VolumetricFog.flax # Source/Editor/CustomEditors/Editors/ActorTagEditor.cs # Source/Engine/Core/Config/GraphicsSettings.cpp # Source/Engine/Engine/PostProcessEffect.cs # Source/Engine/Graphics/GPUResourcesCollection.cpp # Source/Engine/Graphics/GPUResourcesCollection.h # Source/Engine/Graphics/PostProcessBase.h # Source/FlaxEngine.Gen.cs
31 lines
695 B
C++
31 lines
695 B
C++
// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Engine/Core/Types/String.h"
|
|
#include "Engine/Scripting/ScriptingObject.h"
|
|
|
|
API_INJECT_CODE(cpp, "#include \"Engine/Platform/User.h\"");
|
|
|
|
/// <summary>
|
|
/// Native platform user object.
|
|
/// </summary>
|
|
API_CLASS(NoSpawn, NoConstructor, Sealed, Name="User")
|
|
class FLAXENGINE_API UserBase : public ScriptingObject
|
|
{
|
|
DECLARE_SCRIPTING_TYPE_NO_SPAWN(UserBase);
|
|
protected:
|
|
|
|
const String _name;
|
|
|
|
public:
|
|
|
|
UserBase(const String& name);
|
|
UserBase(const SpawnParams& params, const String& name);
|
|
|
|
/// <summary>
|
|
/// Gets the username.
|
|
/// </summary>
|
|
API_PROPERTY() String GetName() const;
|
|
};
|