refactor: Refactor json loading mechanism & more
- Move json loading into separate crate `common` - Add new http route for handling SRTools API - Listen to `freesr-data.json` file change, and sync with client immediately - Move json loading into `PlayerSession`, instead of load it everytime - Implement global buff for Castorice - Implement `GetBigDataAllRecommendCsReq`
This commit is contained in:
@@ -27,8 +27,8 @@ use proto::{
|
||||
CmdWaypointType::*, CmdWolfBroType::*,
|
||||
};
|
||||
|
||||
use super::handlers::*;
|
||||
use super::PlayerSession;
|
||||
use super::handlers::*;
|
||||
|
||||
const HEAD_MAGIC: u32 = 0x9D74C714;
|
||||
const TAIL_MAGIC: u32 = 0xD7A152C8;
|
||||
@@ -219,6 +219,6 @@ trait_handler! {
|
||||
GetGachaInfo;
|
||||
DoGacha;
|
||||
PlayerLoginFinish;
|
||||
// RelicRecommend;
|
||||
GetBigDataAllRecommend;
|
||||
// SetClientPaused;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user