feat: Add support for version 2.6.5x

This commit is contained in:
amizing25
2024-10-23 05:06:28 +07:00
parent f77bcb04f7
commit e02ef8abbb
8 changed files with 13909 additions and 48184 deletions
+6 -5
View File
@@ -1,3 +1,5 @@
use std::collections::HashMap;
use lazy_static::lazy_static;
use scene_entity_info::Entity;
use tokio::sync::Mutex;
@@ -50,12 +52,12 @@ pub async fn on_enter_scene_cs_req(
.await
.is_err()
{
res.retcode = Nbbhhpnhond::RetSceneEntryIdNotMatch as u32;
res.retcode = Retcode::RetSceneEntryIdNotMatch as u32;
return;
};
res.alckpiobhlb = req.alckpiobhlb;
res.gpjeedfjhaj = player.scene.entry_id != req.entry_id;
res.gfkihhopjdg = req.gfkihhopjdg;
res.ihoaaecihik = player.scene.entry_id != req.entry_id;
}
pub async fn on_get_scene_map_info_cs_req(
@@ -350,8 +352,6 @@ async fn load_scene(
scene_info.entity_group_list.push(group_info);
scene_info.group_id_list.push(*group_id);
scene_info.group_state_list.push(SceneGroupState {
group_id: *group_id,
is_default: true,
@@ -363,6 +363,7 @@ async fn load_scene(
scene_info.entity_group_list.push(SceneEntityGroupInfo {
state: 0,
group_id: 0,
fjhodibbaan: HashMap::new(),
entity_list: json
.lineups
.iter()