mirror of
https://git.neonteam.dev/amizing/robinsr.git
synced 2025-03-12 03:28:30 -04:00
chore: Some changes
This commit is contained in:
parent
68caed75eb
commit
6d2981e4cf
@ -14,7 +14,7 @@ const SERVER_CHAT_BUBBLE_ID: u32 = 220005;
|
|||||||
const SERVER_CHAT_HISTORY: [&str; 5] = [
|
const SERVER_CHAT_HISTORY: [&str; 5] = [
|
||||||
"'dvd' render a dvd bouncing effect. you need to put the image into your game folder, with name \"image.png\"",
|
"'dvd' render a dvd bouncing effect. you need to put the image into your game folder, with name \"image.png\"",
|
||||||
"'sync'",
|
"'sync'",
|
||||||
"'mc {mc_id}' mc_id can be set from 8001 to 8006",
|
"'mc {mc_id}' mc_id can be set from 8001 to 8008",
|
||||||
"'march {march_id}' march_id can be set 1001 or 1224",
|
"'march {march_id}' march_id can be set 1001 or 1224",
|
||||||
"available command:",
|
"available command:",
|
||||||
];
|
];
|
||||||
|
|||||||
@ -135,5 +135,5 @@ dummy! {
|
|||||||
// PlayerLoginFinish,
|
// PlayerLoginFinish,
|
||||||
InteractProp,
|
InteractProp,
|
||||||
FinishTalkMission,
|
FinishTalkMission,
|
||||||
RelicRecommend
|
// RelicRecommend
|
||||||
}
|
}
|
||||||
|
|||||||
@ -23,7 +23,7 @@ pub async fn on_player_heart_beat_cs_req(
|
|||||||
res: &mut PlayerHeartBeatScRsp,
|
res: &mut PlayerHeartBeatScRsp,
|
||||||
) {
|
) {
|
||||||
res.client_time_ms = body.client_time_ms;
|
res.client_time_ms = body.client_time_ms;
|
||||||
res.server_time_ms = cur_timestamp_ms();
|
res.server_time_ms = body.client_time_ms;
|
||||||
res.download_data = Some(ClientDownloadData {
|
res.download_data = Some(ClientDownloadData {
|
||||||
version: 51,
|
version: 51,
|
||||||
time: res.server_time_ms as i64,
|
time: res.server_time_ms as i64,
|
||||||
|
|||||||
@ -18,12 +18,13 @@ use proto::{
|
|||||||
CmdMuseumType::*, CmdOfferingType::*, CmdPamMissionType::*, CmdPhoneType::*,
|
CmdMuseumType::*, CmdOfferingType::*, CmdPamMissionType::*, CmdPhoneType::*,
|
||||||
CmdPlayerBoardType::*, CmdPlayerReturnType::*, CmdPlayerSync::*, CmdPlayerType::*,
|
CmdPlayerBoardType::*, CmdPlayerReturnType::*, CmdPlayerSync::*, CmdPlayerType::*,
|
||||||
CmdPlotType::*, CmdPunkLordType::*, CmdQuestType::*, CmdRaidCollectionType::*, CmdRaidType::*,
|
CmdPlotType::*, CmdPunkLordType::*, CmdQuestType::*, CmdRaidCollectionType::*, CmdRaidType::*,
|
||||||
CmdRedDotType::*, CmdReplayType::*, CmdRndOptionType::*, CmdRogueCommonType::*,
|
CmdRecommendType::*, CmdRedDotType::*, CmdReplayType::*, CmdRndOptionType::*,
|
||||||
CmdRogueEndless::*, CmdRogueModifierType::*, CmdRogueTournType::*, CmdRogueType::*,
|
CmdRogueCommonType::*, CmdRogueEndless::*, CmdRogueModifierType::*, CmdRogueTournType::*,
|
||||||
CmdRollShopType::*, CmdSceneType::*, CmdServerPrefsType::*, CmdShopType::*, CmdSpaceZooType::*,
|
CmdRogueType::*, CmdRollShopType::*, CmdSceneType::*, CmdServerPrefsType::*, CmdShopType::*,
|
||||||
CmdStarFightType::*, CmdStoryLineType::*, CmdStrongChallengeActivityType::*,
|
CmdSpaceZooType::*, CmdStarFightType::*, CmdStoryLineType::*,
|
||||||
CmdTalkRewardType::*, CmdTelevisionActivityType::*, CmdTextJoinType::*, CmdTrainVisitorType::*,
|
CmdStrongChallengeActivityType::*, CmdTalkRewardType::*, CmdTelevisionActivityType::*,
|
||||||
CmdTreasureDungeonType::*, CmdTutorialType::*, CmdWaypointType::*, CmdWolfBroType::*,
|
CmdTextJoinType::*, CmdTrainVisitorType::*, CmdTreasureDungeonType::*, CmdTutorialType::*,
|
||||||
|
CmdWaypointType::*, CmdWolfBroType::*,
|
||||||
};
|
};
|
||||||
|
|
||||||
use super::handlers::*;
|
use super::handlers::*;
|
||||||
@ -217,4 +218,5 @@ trait_handler! {
|
|||||||
GetGachaInfo;
|
GetGachaInfo;
|
||||||
DoGacha;
|
DoGacha;
|
||||||
PlayerLoginFinish;
|
PlayerLoginFinish;
|
||||||
|
RelicRecommend;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user