Files
RobustToolbox/Robust.Server/Player/IPlayerData.cs
T
AcruidandGitHub 2183cd7ca1 Massive Namespace Cleanup (#1544)
* Removed the Interfaces folder.
* All objects inside the GameObjects subfolders are now in the GameObjects namespace.
* Added a Resharper DotSettings file to mark the GameObjects subfolders as not providing namespaces.
* Simplified Robust.client.Graphics namespace.
* Automated remove redundant using statements.
2021-02-10 23:27:19 -08:00

22 lines
550 B
C#

using Robust.Shared.Network;
namespace Robust.Server.Player
{
/// <summary>
/// Stores player-specific data that is not lost upon reconnect.
/// </summary>
public interface IPlayerData
{
/// <summary>
/// The session ID of the player owning this data.
/// </summary>
NetUserId UserId { get; }
/// <summary>
/// Custom field that content can assign anything to.
/// Go wild.
/// </summary>
object? ContentDataUncast { get; set; }
}
}