22 lines
470 B
C#
22 lines
470 B
C#
using System;
|
|
using NitroxModel.DataStructures.Unity;
|
|
|
|
namespace NitroxModel.MultiplayerSession
|
|
{
|
|
[Serializable]
|
|
public class PlayerSettings
|
|
{
|
|
public NitroxColor PlayerColor { get; }
|
|
|
|
public PlayerSettings(NitroxColor playerColor)
|
|
{
|
|
PlayerColor = playerColor;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"[{nameof(PlayerSettings)}: PlayerColor: {PlayerColor}]";
|
|
}
|
|
}
|
|
}
|