using Unity.Collections;
using Unity.Entities;
namespace Unity.NetCode.Extensions
{
///
/// Stores the player's name
///
public struct PlayerName : IComponentData
{
[GhostField] public FixedString64Bytes Name;
}
///
/// Stores bot's name
///
public struct BotNameElement : IBufferElementData
{
public FixedString64Bytes Name;
}
public struct MultiversePlayerID : IComponentData
{
[GhostField] public FixedString64Bytes PlayerId;
}
///
/// Create an element to link the name and ID of the player online.
///
public struct PlayerConnectedElement : IBufferElementData
{
public FixedString64Bytes Name;
public FixedString64Bytes PlayerId;
public Entity Value;
}
}