vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
net_spawn.h
1#pragma once
2
3#include <cstdint>
4#include <map>
5#include <string>
6
7#include "ecs/component/core/transform.h"
8
9namespace Vkm::Engine {
10
19struct NetSpawn {
20 std::string prefab;
22
25 std::map<uint32_t, uint32_t> slots;
26};
27
28} // namespace Vkm::Engine
What a server built at this root after the scene loaded, so every client can build the same.
Definition net_spawn.h:19
std::string prefab
Project-relative prefab path.
Definition net_spawn.h:20
Transform at
Build pose, exact: a static body is never described again.
Definition net_spawn.h:21
std::map< uint32_t, uint32_t > slots
Definition net_spawn.h:25
Local position, rotation and scale of an entity.
Definition transform.h:17