feat: Add support for 3.6.5x
This commit is contained in:
@@ -46,6 +46,7 @@ pub enum BattleType {
|
|||||||
PF = 2,
|
PF = 2,
|
||||||
SU = 3,
|
SU = 3,
|
||||||
AS = 4,
|
AS = 4,
|
||||||
|
AA = 5,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for BattleType {
|
impl Default for BattleType {
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ impl_from!(Monster, SceneMonster, |value| {
|
|||||||
monster_id: value.monster_id,
|
monster_id: value.monster_id,
|
||||||
max_hp: value.max_hp,
|
max_hp: value.max_hp,
|
||||||
cur_hp: value.max_hp,
|
cur_hp: value.max_hp,
|
||||||
|
extra_info: None,
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
+27658
-20569
File diff suppressed because it is too large
Load Diff
@@ -2,12 +2,12 @@ use std::collections::HashMap;
|
|||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
pub static UNLOCKED_AVATARS: [u32; 72] = [
|
pub static UNLOCKED_AVATARS: [u32; 73] = [
|
||||||
1002, 1003, 1004, 1005, 1006, 1008, 1009, 1013, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108,
|
1002, 1003, 1004, 1005, 1006, 1008, 1009, 1013, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108,
|
||||||
1109, 1110, 1111, 1112, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1210, 1211, 1212,
|
1109, 1110, 1111, 1112, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1209, 1210, 1211, 1212,
|
||||||
1213, 1214, 1215, 1217, 1301, 1302, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1312, 1315, 1310,
|
1213, 1214, 1215, 1217, 1301, 1302, 1303, 1304, 1305, 1306, 1307, 1308, 1309, 1312, 1315, 1310,
|
||||||
1314, 1218, 1221, 1220, 1222, 1223, 1317, 1313, 1225, 1402, 1401, 1404, 1403, 1405, 1407, 1406,
|
1314, 1218, 1221, 1220, 1222, 1223, 1317, 1313, 1225, 1402, 1401, 1404, 1403, 1405, 1407, 1406,
|
||||||
1409, 1014, 1015, 1408, 1410, 1412, 1413, 1414,
|
1409, 1014, 1015, 1408, 1410, 1412, 1413, 1414, 1415
|
||||||
];
|
];
|
||||||
|
|
||||||
pub async fn on_get_avatar_data_cs_req(
|
pub async fn on_get_avatar_data_cs_req(
|
||||||
|
|||||||
@@ -30,12 +30,12 @@ pub async fn on_get_friend_list_info_cs_req(
|
|||||||
) {
|
) {
|
||||||
res.friend_list = vec![FriendListInfo {
|
res.friend_list = vec![FriendListInfo {
|
||||||
friend_name: String::from("RobinSR"),
|
friend_name: String::from("RobinSR"),
|
||||||
simple_info: Some(SimpleInfo {
|
simple_info: Some(PlayerSimpleInfo {
|
||||||
uid: SERVER_UID,
|
uid: SERVER_UID,
|
||||||
platform_type: PlatformType::Pc.into(),
|
platform: PlatformType::Pc.into(),
|
||||||
online_status: FriendOnlineStatus::Online.into(),
|
online_status: FriendOnlineStatus::Online.into(),
|
||||||
head_icon: SERVER_HEAD_ICON,
|
head_icon: SERVER_HEAD_ICON,
|
||||||
chat_bubble_id: SERVER_CHAT_BUBBLE_ID,
|
chat_bubble: SERVER_CHAT_BUBBLE_ID,
|
||||||
level: 70,
|
level: 70,
|
||||||
nickname: String::from("Server"),
|
nickname: String::from("Server"),
|
||||||
signature: String::from("omg"),
|
signature: String::from("omg"),
|
||||||
|
|||||||
+11
-11
@@ -1,20 +1,20 @@
|
|||||||
{
|
{
|
||||||
"lineups": {
|
"lineups": {
|
||||||
"0": 1015,
|
"0": 1407,
|
||||||
"1": 1014,
|
"1": 1415,
|
||||||
"2": 1408,
|
"2": 1409,
|
||||||
"3": 1005
|
"3": 1403
|
||||||
},
|
},
|
||||||
"position": {
|
"position": {
|
||||||
"x": 162379,
|
"x": -154080,
|
||||||
"y": 220000,
|
"y": -31188,
|
||||||
"z": 265445,
|
"z": 31160,
|
||||||
"rot_y": 122650
|
"rot_y": 28332
|
||||||
},
|
},
|
||||||
"scene": {
|
"scene": {
|
||||||
"plane_id": 20421,
|
"plane_id": 20432,
|
||||||
"floor_id": 20421001,
|
"floor_id": 20432001,
|
||||||
"entry_id": 2042101
|
"entry_id": 2043201
|
||||||
},
|
},
|
||||||
"main_character": "MaleRememberance",
|
"main_character": "MaleRememberance",
|
||||||
"march_type": "MarchHunt"
|
"march_type": "MarchHunt"
|
||||||
|
|||||||
+34324
-26283
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user