|
@@ -85,8 +85,8 @@ namespace GFGGame
|
|
|
}
|
|
|
public static async ETTask<bool> ReqMailReward(long mailId)
|
|
|
{
|
|
|
- Mail2C_GetMailItems response = null;
|
|
|
- response = (Mail2C_GetMailItems)await MessageHelper.SendToServer(new C2Mail_GetMailItems() { MailId = mailId });
|
|
|
+ M2C_GetMailItems response = null;
|
|
|
+ response = (M2C_GetMailItems)await MessageHelper.SendToServer(new C2M_GetMailItems() { MailId = mailId });
|
|
|
if (response != null)
|
|
|
{
|
|
|
if (response.Error == ErrorCode.ERR_Success)
|
|
@@ -119,8 +119,8 @@ namespace GFGGame
|
|
|
}
|
|
|
public static async ETTask<bool> ReqAllMailRewards()
|
|
|
{
|
|
|
- Mail2C_GetAllMailItems response = null;
|
|
|
- response = (Mail2C_GetAllMailItems)await MessageHelper.SendToServer(new C2Mail_GetAllMailItems());
|
|
|
+ M2C_GetAllMailItems response = null;
|
|
|
+ response = (M2C_GetAllMailItems)await MessageHelper.SendToServer(new C2M_GetAllMailItems());
|
|
|
if (response != null)
|
|
|
{
|
|
|
if (response.Error == ErrorCode.ERR_Success)
|