Setup user auth packets
This commit is contained in:
1 parent
827b1285a9
commit
a78c040b09
3 files changed
+45
-3
No files matched your search
@@ -13,8 +13,11 @@ namespace Mistox.ResevedPackets {
|
||||
|
||||
[mPacket]
|
||||
public class UserAuthPacket {
|
||||
// Sent to the server
|
||||
public string UserName { get; set; } = "";
|
||||
public string ConnectionKey { get; set; } = "";
|
||||
// Response from the server
|
||||
public string ServerName { get; set; } = "";
|
||||
public int AuthSuccessful { get; set; } = 0; // 0 is standard, -1 is auth failure, 1 is auth success
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user