2024-09-11 16:37:46 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package data;
|
|
|
|
|
|
|
|
message VectorData {
|
2024-10-24 11:15:50 +00:00
|
|
|
float x = 1;
|
|
|
|
float y = 2;
|
|
|
|
float z = 3;
|
2024-09-11 16:37:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message TransformData {
|
2024-10-24 11:15:50 +00:00
|
|
|
VectorData position = 1;
|
|
|
|
VectorData rotation = 2;
|
2024-09-11 16:37:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message PlayerBasicData {
|
2024-10-24 11:15:50 +00:00
|
|
|
int32 id = 1;
|
|
|
|
string name = 2;
|
|
|
|
int32 sex = 3;
|
|
|
|
int32 level = 4;
|
|
|
|
int32 exp = 5;
|
|
|
|
int32 head_photo = 6;
|
|
|
|
int32 head_frame = 7;
|
|
|
|
int32 cur_map_id = 8;
|
|
|
|
repeated int32 role_show_list = 9;
|
2024-09-11 16:37:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message RoleSkillNodeData {
|
2024-10-24 11:15:50 +00:00
|
|
|
int32 node_id = 1;
|
|
|
|
bool is_active = 2;
|
|
|
|
int32 skill_id = 3;
|
2024-09-11 16:37:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message RoleData {
|
2024-10-24 11:15:50 +00:00
|
|
|
int32 role_id = 1;
|
|
|
|
string name = 2;
|
|
|
|
int32 level = 3;
|
|
|
|
int32 exp = 4;
|
|
|
|
int32 breakthrough = 5;
|
|
|
|
map<int32, int32> skill_map = 6;
|
|
|
|
map<int32, int32> phantom_map = 7;
|
|
|
|
int32 star = 8;
|
|
|
|
int32 favor = 9;
|
|
|
|
uint32 create_time = 10;
|
|
|
|
int32 cur_model = 11;
|
|
|
|
repeated int32 models = 12;
|
|
|
|
repeated RoleSkillNodeData skill_node_state = 13;
|
|
|
|
int32 resonant_chain_group_index = 14;
|
|
|
|
int32 equip_weapon = 15;
|
2025-01-22 02:12:44 +00:00
|
|
|
int32 skin_id = 16;
|
2024-09-11 16:37:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message RoleFormationData {
|
2024-10-24 11:15:50 +00:00
|
|
|
int32 formation_id = 1;
|
|
|
|
int32 cur_role = 2;
|
|
|
|
repeated int32 role_id_list = 3;
|
|
|
|
bool is_current = 4;
|
2024-09-11 16:37:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message PlayerRoleData {
|
2024-10-24 11:15:50 +00:00
|
|
|
repeated RoleData role_list = 1;
|
|
|
|
map<int32, RoleFormationData> role_formation_list = 2;
|
|
|
|
int32 cur_formation_id = 3;
|
2024-09-11 16:37:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message PlayerLocationData {
|
2024-10-24 11:15:50 +00:00
|
|
|
int32 instance_id = 1;
|
|
|
|
TransformData position = 2;
|
2024-09-11 16:37:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message PlayerFuncData {
|
2024-10-24 11:15:50 +00:00
|
|
|
map<int32, int32> func_map = 1;
|
2024-09-11 16:37:46 +00:00
|
|
|
}
|
|
|
|
|
2024-09-16 00:09:26 +00:00
|
|
|
message PlayerExploreToolsData {
|
2024-10-24 11:15:50 +00:00
|
|
|
repeated int32 unlocked_skill_list = 1;
|
|
|
|
int32 active_skill_id = 2;
|
|
|
|
repeated int32 roulette = 3;
|
2024-09-16 00:09:26 +00:00
|
|
|
}
|
|
|
|
|
2025-01-22 02:12:44 +00:00
|
|
|
message PlayerChatHistoryData {
|
|
|
|
int32 sender = 1;
|
|
|
|
int32 receiver = 2;
|
|
|
|
int32 content_type = 3;
|
|
|
|
string msg_id = 4;
|
|
|
|
string original_message = 5;
|
|
|
|
string filtered_message = 6;
|
|
|
|
bool offline_message = 7;
|
|
|
|
int64 utc_time = 8;
|
|
|
|
string psn_account_id = 9;
|
|
|
|
}
|
|
|
|
|
|
|
|
message PlayerChatRoomData {
|
|
|
|
repeated PlayerChatHistoryData history = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message PlayerChatData {
|
|
|
|
map<int32, PlayerChatRoomData> rooms = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message PlayerGuides {
|
|
|
|
repeated int32 finished_guides = 1;
|
|
|
|
}
|
|
|
|
|
2024-09-11 16:37:46 +00:00
|
|
|
message PlayerSaveData {
|
2024-10-24 11:15:50 +00:00
|
|
|
PlayerBasicData basic_data = 1;
|
|
|
|
PlayerRoleData role_data = 2;
|
|
|
|
PlayerLocationData location_data = 3;
|
|
|
|
PlayerFuncData func_data = 4;
|
|
|
|
PlayerExploreToolsData explore_tools_data = 5;
|
2025-01-22 02:12:44 +00:00
|
|
|
PlayerChatData chat_data = 6;
|
|
|
|
PlayerGuides guides = 7;
|
2024-09-11 16:37:46 +00:00
|
|
|
}
|