19 lines
454 B
C#
19 lines
454 B
C#
using System;
|
|
using NitroxModel.DataStructures.Util;
|
|
|
|
namespace NitroxModel.MultiplayerSession
|
|
{
|
|
[Serializable]
|
|
public class AuthenticationContext
|
|
{
|
|
public string Username { get; }
|
|
public Optional<string> ServerPassword { get; }
|
|
|
|
public AuthenticationContext(string username, Optional<string> serverPassword)
|
|
{
|
|
Username = username;
|
|
ServerPassword = serverPassword;
|
|
}
|
|
}
|
|
}
|