CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
MonoEnvironment.hpp
Go to the documentation of this file.
1//
2// CeresEngine - A game development framework
3//
4// Created by Rogiel Sulzbach.
5// Copyright (c) 2018-2022 Rogiel Sulzbach. All rights reserved.
6//
7
8#pragma once
9
12
13#include <string_view>
14
15using MonoDomain = struct _MonoDomain;
16using MonoAssembly = struct _MonoAssembly;
17using MonoImage = struct _MonoImage;
18
19namespace CeresEngine {
20
52
53} // namespace CeresEngine
_MonoAssembly MonoAssembly
Definition MonoEnvironment.hpp:16
_MonoDomain MonoDomain
Definition MonoEnvironment.hpp:15
_MonoImage MonoImage
Definition MonoEnvironment.hpp:17
Path to file or directory.
Definition FilePath.hpp:37
Definition MonoEnvironment.hpp:21
int run() const noexcept
Runs the application assembly entry point method.
MonoDomain * domain
The environment mono domain.
Definition MonoEnvironment.hpp:24
~MonoEnvironment() noexcept
Destroys the MonoEnvironment.
MonoAssembly * engineAssembly
The main engine runtime assembly.
Definition MonoEnvironment.hpp:27
MonoEnvironment(const FilePath &runtimeDirectory, const FilePath &applicationAssembly)
Creates a new MonoEnvironment.
MonoImage * engineImage
The image corresponding to the engine assembly.
Definition MonoEnvironment.hpp:30
MonoAssembly * applicationAssembly
The application assembly.
Definition MonoEnvironment.hpp:33
MonoImage * applicationImage
The application assembly image.
Definition MonoEnvironment.hpp:36
Definition Application.hpp:19
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25