提交修改
This commit is contained in:
@@ -678,4 +678,89 @@ namespace Fantasy
|
||||
[ProtoMember(1)]
|
||||
public ChatInfoTree ChatInfoTree { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 其他服务器发送邮件
|
||||
/// </summary>
|
||||
////////// ******** 邮件 *******/////////////
|
||||
public partial class Other2Mail_SendMailRequest : AMessage, IAddressRequest
|
||||
{
|
||||
public static Other2Mail_SendMailRequest Create(bool autoReturn = true)
|
||||
{
|
||||
var other2Mail_SendMailRequest = MessageObjectPool<Other2Mail_SendMailRequest>.Rent();
|
||||
other2Mail_SendMailRequest.AutoReturn = autoReturn;
|
||||
|
||||
if (!autoReturn)
|
||||
{
|
||||
other2Mail_SendMailRequest.SetIsPool(false);
|
||||
}
|
||||
|
||||
return other2Mail_SendMailRequest;
|
||||
}
|
||||
|
||||
public void Return()
|
||||
{
|
||||
if (!AutoReturn)
|
||||
{
|
||||
SetIsPool(true);
|
||||
AutoReturn = true;
|
||||
}
|
||||
else if (!IsPool())
|
||||
{
|
||||
return;
|
||||
}
|
||||
Dispose();
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
if (!IsPool()) return;
|
||||
MailBox = default;
|
||||
MessageObjectPool<Other2Mail_SendMailRequest>.Return(this);
|
||||
}
|
||||
public uint OpCode() { return InnerOpcode.Other2Mail_SendMailRequest; }
|
||||
[BsonIgnore]
|
||||
public Mail2Other_SendMailResponse ResponseType { get; set; }
|
||||
public MailBox MailBox { get; set; }
|
||||
}
|
||||
[Serializable]
|
||||
[ProtoContract]
|
||||
public partial class Mail2Other_SendMailResponse : AMessage, IAddressResponse
|
||||
{
|
||||
public static Mail2Other_SendMailResponse Create(bool autoReturn = true)
|
||||
{
|
||||
var mail2Other_SendMailResponse = MessageObjectPool<Mail2Other_SendMailResponse>.Rent();
|
||||
mail2Other_SendMailResponse.AutoReturn = autoReturn;
|
||||
|
||||
if (!autoReturn)
|
||||
{
|
||||
mail2Other_SendMailResponse.SetIsPool(false);
|
||||
}
|
||||
|
||||
return mail2Other_SendMailResponse;
|
||||
}
|
||||
|
||||
public void Return()
|
||||
{
|
||||
if (!AutoReturn)
|
||||
{
|
||||
SetIsPool(true);
|
||||
AutoReturn = true;
|
||||
}
|
||||
else if (!IsPool())
|
||||
{
|
||||
return;
|
||||
}
|
||||
Dispose();
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
if (!IsPool()) return;
|
||||
ErrorCode = 0;
|
||||
MessageObjectPool<Mail2Other_SendMailResponse>.Return(this);
|
||||
}
|
||||
public uint OpCode() { return InnerOpcode.Mail2Other_SendMailResponse; }
|
||||
[ProtoMember(1)]
|
||||
public uint ErrorCode { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -20,5 +20,7 @@ namespace Fantasy
|
||||
public const uint Map2G_ExiRoomResponse = 1207969557;
|
||||
public const uint Chat2G_ChatMessage = 939534099;
|
||||
public const uint Other2Chat_ChatMessage = 939534100;
|
||||
public const uint Other2Mail_SendMailRequest = 1082140438;
|
||||
public const uint Mail2Other_SendMailResponse = 1207969558;
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -27,63 +27,69 @@ namespace Fantasy
|
||||
public const uint Game2C_RewardNotify = 2147493651;
|
||||
public const uint C2Game_GMRequest = 2281711385;
|
||||
public const uint Game2C_GMResponse = 2415929113;
|
||||
public const uint C2Game_CreateRoomRequest = 2281711386;
|
||||
public const uint Game2C_CreateRoomResponse = 2415929114;
|
||||
public const uint C2Mail_TestRequest = 2281711386;
|
||||
public const uint Mail2C_TestResponse = 2415929114;
|
||||
public const uint Mail2C_HaveMail = 2147493652;
|
||||
public const uint Mail2C_MailState = 2147493653;
|
||||
public const uint C2Mail_GetHaveMailRequest = 2281711387;
|
||||
public const uint Mail2C_GetHaveMailResposne = 2415929115;
|
||||
public const uint C2Mail_OpenMailRequest = 2281711388;
|
||||
public const uint Mail2C_OpenMailResposne = 2415929116;
|
||||
public const uint C2Mail_ReceiveMailRequest = 2281711389;
|
||||
public const uint Mail2C_ReceiveMailResponse = 2415929117;
|
||||
public const uint C2Mail_RemoveMailRequest = 2281711390;
|
||||
public const uint Mail2C_RemoveMailResponse = 2415929118;
|
||||
public const uint C2Mail_SendMailRequest = 2281711391;
|
||||
public const uint Mail2C_SendMailResponse = 2415929119;
|
||||
public const uint C2Game_CreateRoomRequest = 2281711392;
|
||||
public const uint Game2C_CreateRoomResponse = 2415929120;
|
||||
public const uint C2G_ExitRoomRequest = 268445457;
|
||||
public const uint G2C_ExitRoomResponse = 402663185;
|
||||
public const uint C2G_EnterMapRequest = 268445458;
|
||||
public const uint G2C_EnterMapResponse = 402663186;
|
||||
public const uint Game2C_ChangeMap = 2147493652;
|
||||
public const uint Game2C_ChangeMap = 2147493654;
|
||||
public const uint C2A_LoginRequest = 268445459;
|
||||
public const uint A2C_LoginResponse = 402663187;
|
||||
public const uint C2G_LoginRequest = 268445460;
|
||||
public const uint G2C_LoginResponse = 402663188;
|
||||
public const uint G2C_RepeatLogin = 134227729;
|
||||
public const uint C2Game_GetRoleInfoRequest = 2281711387;
|
||||
public const uint Game2C_GetRoleInfoResponse = 2415929115;
|
||||
public const uint Game2C_RoleEnterRoomNotify = 2147493653;
|
||||
public const uint Game2C_RoleExitRoomNotify = 2147493654;
|
||||
public const uint C2Game_TakeItemRequest = 2281711388;
|
||||
public const uint Game2C_TakeItemResponse = 2415929116;
|
||||
public const uint C2Game_RolePropertyChange = 2147493655;
|
||||
public const uint Game2C_RoleStateNotify = 2147493656;
|
||||
public const uint Game2C_RoleGearChangeNotify = 2147493657;
|
||||
public const uint Game2C_RolePropertyChangeNotify = 2147493658;
|
||||
public const uint C2Game_Move = 2147493659;
|
||||
public const uint C2Game_Look = 2147493660;
|
||||
public const uint Game2C_MoveNotify = 2147493661;
|
||||
public const uint Game2C_LookeNotify = 2147493662;
|
||||
public const uint C2Game_GetConversationsRequest = 2281711389;
|
||||
public const uint Game2C_GetConversationsResponse = 2415929117;
|
||||
public const uint C2Game_SendMailRequest = 2281711390;
|
||||
public const uint Game2C_SendMailResponse = 2415929118;
|
||||
public const uint C2Game_DeleteMailRequest = 2281711391;
|
||||
public const uint Game2C_DeleteMailResponse = 2415929119;
|
||||
public const uint Game2C_HaveMail = 2147493663;
|
||||
public const uint Game2C_MailState = 2147493664;
|
||||
public const uint C2Game_SendMessageRequest = 2281711392;
|
||||
public const uint Game2C_SendMessageResponse = 2415929120;
|
||||
public const uint C2Game_GetRoleInfoRequest = 2281711393;
|
||||
public const uint Game2C_GetRoleInfoResponse = 2415929121;
|
||||
public const uint Game2C_RoleEnterRoomNotify = 2147493655;
|
||||
public const uint Game2C_RoleExitRoomNotify = 2147493656;
|
||||
public const uint C2Game_TakeItemRequest = 2281711394;
|
||||
public const uint Game2C_TakeItemResponse = 2415929122;
|
||||
public const uint C2Game_RolePropertyChange = 2147493657;
|
||||
public const uint Game2C_RoleStateNotify = 2147493658;
|
||||
public const uint Game2C_RoleGearChangeNotify = 2147493659;
|
||||
public const uint Game2C_RolePropertyChangeNotify = 2147493660;
|
||||
public const uint C2Game_Move = 2147493661;
|
||||
public const uint C2Game_Look = 2147493662;
|
||||
public const uint Game2C_MoveNotify = 2147493663;
|
||||
public const uint Game2C_LookeNotify = 2147493664;
|
||||
public const uint C2Game_SendMessageRequest = 2281711395;
|
||||
public const uint Game2C_SendMessageResponse = 2415929123;
|
||||
public const uint Game2C_Message = 2147493665;
|
||||
public const uint C2Game_CreateChannelRequest = 2281711393;
|
||||
public const uint Game2C_CreateChannelResponse = 2415929121;
|
||||
public const uint C2Game_JoinChannelRequest = 2281711394;
|
||||
public const uint Game2C_JoinChannelResponse = 2415929122;
|
||||
public const uint C2Game_CreateClubRequest = 2281711395;
|
||||
public const uint Game2C_CreateClubResponse = 2415929123;
|
||||
public const uint C2Game_GetClubInfoRequest = 2281711396;
|
||||
public const uint Game2C_GetClubInfoResponse = 2415929124;
|
||||
public const uint C2Game_GetMemberListRequest = 2281711397;
|
||||
public const uint Game2C_GetMemberListResponse = 2415929125;
|
||||
public const uint C2Game_GetClubListRequest = 2281711398;
|
||||
public const uint Game2C_GetClubListResponse = 2415929126;
|
||||
public const uint C2Game_JoinClubRequest = 2281711399;
|
||||
public const uint Game2C_JoinClubResponse = 2415929127;
|
||||
public const uint C2Game_LeaveClubRequest = 2281711400;
|
||||
public const uint Game2C_LeaveClubResponse = 2415929128;
|
||||
public const uint C2Game_DissolveClubRequest = 2281711401;
|
||||
public const uint Game2C_DissolveClubResponse = 2415929129;
|
||||
public const uint C2Game_DisposeJoinRequest = 2281711402;
|
||||
public const uint Game2C_DisposeJoinResponse = 2415929130;
|
||||
public const uint C2Game_CreateChannelRequest = 2281711396;
|
||||
public const uint Game2C_CreateChannelResponse = 2415929124;
|
||||
public const uint C2Game_JoinChannelRequest = 2281711397;
|
||||
public const uint Game2C_JoinChannelResponse = 2415929125;
|
||||
public const uint C2Game_CreateClubRequest = 2281711398;
|
||||
public const uint Game2C_CreateClubResponse = 2415929126;
|
||||
public const uint C2Game_GetClubInfoRequest = 2281711399;
|
||||
public const uint Game2C_GetClubInfoResponse = 2415929127;
|
||||
public const uint C2Game_GetMemberListRequest = 2281711400;
|
||||
public const uint Game2C_GetMemberListResponse = 2415929128;
|
||||
public const uint C2Game_GetClubListRequest = 2281711401;
|
||||
public const uint Game2C_GetClubListResponse = 2415929129;
|
||||
public const uint C2Game_JoinClubRequest = 2281711402;
|
||||
public const uint Game2C_JoinClubResponse = 2415929130;
|
||||
public const uint C2Game_LeaveClubRequest = 2281711403;
|
||||
public const uint Game2C_LeaveClubResponse = 2415929131;
|
||||
public const uint C2Game_DissolveClubRequest = 2281711404;
|
||||
public const uint Game2C_DissolveClubResponse = 2415929132;
|
||||
public const uint C2Game_DisposeJoinRequest = 2281711405;
|
||||
public const uint Game2C_DisposeJoinResponse = 2415929133;
|
||||
public const uint Game2C_ClubChange = 2147493666;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user