mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
合理化框架
合理化框架
This commit is contained in:
@@ -34,7 +34,7 @@ namespace GameLogic
|
||||
}
|
||||
|
||||
//Remark 这里图方便注册错误码文本,正常应该走文本配置表。
|
||||
public static Dictionary<int, string> ErrCodeTextMap = new Dictionary<int, string>
|
||||
public static Dictionary<uint, string> ErrCodeTextMap = new Dictionary<uint, string>
|
||||
{
|
||||
{
|
||||
ErrorCode.ERR_AccountAlreadyRegisted, "账户已经被注册了"
|
||||
|
@@ -33,7 +33,7 @@ namespace TEngine
|
||||
{
|
||||
public uint OpCode() { return OuterOpcode.H_G2C_MessageResponse; }
|
||||
[ProtoMember(91, IsRequired = true)]
|
||||
public int ErrorCode { get; set; }
|
||||
public uint ErrorCode { get; set; }
|
||||
[ProtoMember(1)]
|
||||
public string Message { get; set; }
|
||||
}
|
||||
@@ -74,7 +74,7 @@ namespace TEngine
|
||||
{
|
||||
public uint OpCode() { return OuterOpcode.H_G2C_LoginAddressResponse; }
|
||||
[ProtoMember(91, IsRequired = true)]
|
||||
public int ErrorCode { get; set; }
|
||||
public uint ErrorCode { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 发送一个Address消息给Map
|
||||
@@ -105,7 +105,7 @@ namespace TEngine
|
||||
{
|
||||
public uint OpCode() { return OuterOpcode.H_M2C_MessageResponse; }
|
||||
[ProtoMember(91, IsRequired = true)]
|
||||
public int ErrorCode { get; set; }
|
||||
public uint ErrorCode { get; set; }
|
||||
[ProtoMember(1)]
|
||||
public string Message { get; set; }
|
||||
}
|
||||
@@ -150,7 +150,7 @@ namespace TEngine
|
||||
{
|
||||
public uint OpCode() { return OuterOpcode.H_G2C_LoginResponse; }
|
||||
[ProtoMember(91, IsRequired = true)]
|
||||
public int ErrorCode { get; set; }
|
||||
public uint ErrorCode { get; set; }
|
||||
[ProtoMember(1)]
|
||||
public uint UID { get; set; }
|
||||
[ProtoMember(2)]
|
||||
@@ -177,7 +177,7 @@ namespace TEngine
|
||||
{
|
||||
public uint OpCode() { return OuterOpcode.H_G2C_RegisterResponse; }
|
||||
[ProtoMember(91, IsRequired = true)]
|
||||
public int ErrorCode { get; set; }
|
||||
public uint ErrorCode { get; set; }
|
||||
[ProtoMember(1)]
|
||||
public uint UID { get; set; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user