Add objects spawning to networking

This commit is contained in:
Wojciech Figat
2022-10-24 12:06:52 +02:00
parent ef77cdfe3f
commit 771f8ad02b
6 changed files with 333 additions and 47 deletions

View File

@@ -74,6 +74,16 @@ public:
/// </summary>
API_FIELD(ReadOnly) static uint32 Frame;
/// <summary>
/// Server client identifier. Constant value of 0.
/// </summary>
API_FIELD(ReadOnly) static constexpr uint32 ServerClientId = 0;
/// <summary>
/// Local client identifier. Valid even on server that doesn't have LocalClient.
/// </summary>
API_FIELD(ReadOnly) static uint32 LocalClientId;
/// <summary>
/// Local client, valid only when Network Manager is running in client or host mode (server doesn't have a client).
/// </summary>