Merge pull request #4 from Asnxthaony/main
Added some proto related to mail stuff
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message ChangeMailStarNotify {
|
||||
repeated uint32 mailIdList = 1;
|
||||
bool isStar = 2;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message DelMailReq {
|
||||
repeated uint32 mailIdList = 1;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message DelMailRsp {
|
||||
int32 retcode = 1;
|
||||
repeated uint32 mailIdList = 2;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message EquipParam {
|
||||
uint32 itemId = 1;
|
||||
uint32 itemNum = 2;
|
||||
uint32 itemLevel = 3;
|
||||
uint32 PromoteLevel = 4;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message GetAllMailReq {
|
||||
bool isGiftMail = 1;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "MailData.proto";
|
||||
|
||||
message GetAllMailRsp {
|
||||
int32 retcode = 1;
|
||||
repeated MailData mailList = 2;
|
||||
bool isTruncated = 3;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message GetMailItemReq {
|
||||
repeated uint32 mailIdList = 1;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "EquipParam.proto";
|
||||
|
||||
message GetMailItemRsp {
|
||||
int32 retcode = 1;
|
||||
repeated uint32 mailIdList = 2;
|
||||
repeated EquipParam itemList = 3;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "MailData.proto";
|
||||
|
||||
message MailChangeNotify {
|
||||
repeated MailData mailList = 1;
|
||||
repeated uint32 delMailIdList = 2;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "MailTextContent.proto";
|
||||
import "MailItem.proto";
|
||||
|
||||
message MailData {
|
||||
uint32 mailId = 1;
|
||||
MailTextContent mailTextContent = 4;
|
||||
repeated MailItem itemList = 7;
|
||||
uint32 sendTime = 8;
|
||||
uint32 expireTime = 9;
|
||||
uint32 importance = 10;
|
||||
bool isRead = 11;
|
||||
bool isAttachmentGot = 12;
|
||||
uint32 configId = 13;
|
||||
repeated string argumentList = 14;
|
||||
uint32 stateValue = 15;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
import "ItemParam.proto";
|
||||
import "MaterialDeleteInfo.proto";
|
||||
|
||||
message MailItem {
|
||||
ItemParam itemParam = 1;
|
||||
MaterialDeleteInfo deleteInfo = 2;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message MailTextContent {
|
||||
string title = 1;
|
||||
string content = 2;
|
||||
string sender = 3;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
syntax = "proto3";
|
||||
|
||||
option java_package = "emu.grasscutter.net.proto";
|
||||
|
||||
message ReadMailNotify {
|
||||
repeated uint32 mailIdList = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user