mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Lower .NET requirement for Session Token
Changing constructs that weren't .NET 4.0 compliant. Also fix \n to \r\n line returns in ProtocolHandler.cs
This commit is contained in:
parent
0fbefb5068
commit
578a6170ef
2 changed files with 434 additions and 427 deletions
|
|
@ -1,14 +1,21 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
|
|
||||||
namespace MinecraftClient.Protocol
|
namespace MinecraftClient.Protocol
|
||||||
{
|
{
|
||||||
[Serializable]
|
[Serializable]
|
||||||
public class SessionToken
|
public class SessionToken
|
||||||
{
|
{
|
||||||
public string ID { get; set; } = string.Empty;
|
public string ID { get; set; }
|
||||||
public string PlayerName { get; set; } = string.Empty;
|
public string PlayerName { get; set; }
|
||||||
public string PlayerID { get; set; } = string.Empty;
|
public string PlayerID { get; set; }
|
||||||
public string ClientID { get; set; } = string.Empty;
|
public string ClientID { get; set; }
|
||||||
|
|
||||||
|
public SessionToken()
|
||||||
|
{
|
||||||
|
ID = String.Empty;
|
||||||
|
PlayerName = String.Empty;
|
||||||
|
PlayerID = String.Empty;
|
||||||
|
ClientID = String.Empty;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue