聊天频道相关
This commit is contained in:
@@ -54,6 +54,7 @@ namespace Fantasy
|
||||
{
|
||||
ErrorCode = default;
|
||||
RoleRouteId = default;
|
||||
RoleInfo = default;
|
||||
#if FANTASY_NET || FANTASY_UNITY
|
||||
GetScene().MessagePoolComponent.Return<Game2G_EnterResponse>(this);
|
||||
#endif
|
||||
@@ -62,6 +63,8 @@ namespace Fantasy
|
||||
[ProtoMember(1)]
|
||||
public long RoleRouteId { get; set; }
|
||||
[ProtoMember(2)]
|
||||
public RoleSimpleInfo RoleInfo { get; set; }
|
||||
[ProtoMember(3)]
|
||||
public uint ErrorCode { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
@@ -76,7 +79,7 @@ namespace Fantasy
|
||||
}
|
||||
public override void Dispose()
|
||||
{
|
||||
AccountId = default;
|
||||
Role = default;
|
||||
GateRouteId = default;
|
||||
#if FANTASY_NET || FANTASY_UNITY
|
||||
GetScene().MessagePoolComponent.Return<G2Chat_EnterRequest>(this);
|
||||
@@ -86,7 +89,7 @@ namespace Fantasy
|
||||
public Game2G_EnterResponse ResponseType { get; set; }
|
||||
public uint OpCode() { return InnerOpcode.G2Chat_EnterRequest; }
|
||||
[ProtoMember(1)]
|
||||
public long AccountId { get; set; }
|
||||
public RoleSimpleInfo Role { get; set; }
|
||||
[ProtoMember(2)]
|
||||
public long GateRouteId { get; set; }
|
||||
}
|
||||
@@ -127,6 +130,6 @@ namespace Fantasy
|
||||
}
|
||||
public uint OpCode() { return InnerOpcode.Chat2G_ChatMessage; }
|
||||
[ProtoMember(1)]
|
||||
public string Message { get; set; }
|
||||
public ChatMessageInfo Message { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user