forked from NewEriduPubSec/JaneDoe-ZS
NewsStand interaction
This commit is contained in:
parent
55b7ed3beb
commit
285fc0b6fa
4 changed files with 25 additions and 3 deletions
|
@ -200,5 +200,16 @@
|
|||
"store_template_id": 1191
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"event_id": 15000301,
|
||||
"actions": [
|
||||
{
|
||||
"$type": "OpenUi",
|
||||
"ui": "UINewsStandPageController",
|
||||
"args": 0,
|
||||
"store_template_id": 1061
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
|
@ -54,6 +54,16 @@ pub async fn on_get_news_stand_data(
|
|||
})
|
||||
}
|
||||
|
||||
pub async fn on_news_stand_seen(
|
||||
_session: &NetSession,
|
||||
_player: &mut Player,
|
||||
_req: NewsStandSeenCsReq,
|
||||
) -> NetResult<NewsStandSeenScRsp> {
|
||||
Ok(NewsStandSeenScRsp {
|
||||
retcode: Retcode::RetSucc.into(),
|
||||
})
|
||||
}
|
||||
|
||||
pub async fn on_get_trashbin_hermit_data(
|
||||
_session: &NetSession,
|
||||
_player: &mut Player,
|
||||
|
|
|
@ -107,6 +107,7 @@ req_handlers! {
|
|||
client_systems::ReportSystemSettingsChange;
|
||||
client_systems::InteractWithSceneObject;
|
||||
client_systems::PlayerSystemParameterChange;
|
||||
client_systems::NewsStandSeen;
|
||||
perform::PerformTrigger;
|
||||
perform::PerformEnd;
|
||||
perform::PerformJump;
|
||||
|
|
|
@ -14738,9 +14738,9 @@ pub struct UpdateEventGraphScNotify {
|
|||
#[derive(proto_gen::XorFields)]
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Kckdjohckaf {
|
||||
pub struct NewsStandSeenCsReq {
|
||||
#[prost(int32, repeated, tag = "9")]
|
||||
pub kijpafaibda: ::prost::alloc::vec::Vec<i32>,
|
||||
pub seen_news_id_list: ::prost::alloc::vec::Vec<i32>,
|
||||
}
|
||||
#[derive(proto_gen::CmdID)]
|
||||
#[derive(proto_gen::XorFields)]
|
||||
|
@ -21580,7 +21580,7 @@ pub struct Jiebkihfhpb {
|
|||
#[derive(proto_gen::XorFields)]
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct Ffnabokpijm {
|
||||
pub struct NewsStandSeenScRsp {
|
||||
#[xor(12369)]
|
||||
#[prost(int32, tag = "7")]
|
||||
pub retcode: i32,
|
||||
|
|
Loading…
Reference in a new issue