Updated Bnet Server.

Port From (https://github.com/TrinityCore/TrinityCore)
This commit is contained in:
hondacrx
2024-02-21 00:05:48 -05:00
parent 7960e7b192
commit 9e3a7df6a7
62 changed files with 2186 additions and 731 deletions
@@ -133,4 +133,16 @@ namespace Framework.Constants
NameTakenByThisAccount = 4,
Unknown = 5
}
public enum SrpVersion
{
v1 = 1,
v2 = 2
}
public enum SrpHashFunction
{
Sha256 = 0,
Sha512 = 1
}
}
@@ -18,4 +18,18 @@ namespace Framework.Constants
ThreadUnsafe, //packet is not thread-safe - process it in World.UpdateSessions()
ThreadSafe //packet is thread-safe - process it in Map.Update()
}
public enum RequestHandlerFlag
{
None = 0x0,
DoNotLogRequestContent = 0x1,
DoNotLogResponseContent = 0x2,
}
public enum RequestHandlerResult
{
Handled,
Error,
Async,
}
}