Skip to content

Commit 318169b

Browse files
committed
Minimum package support 0A15 (PACKET_ZC_GOLDPCCAFE_POINT)
1 parent ac5dd5f commit 318169b

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

src/Network/Receive.pm

+7
Original file line numberDiff line numberDiff line change
@@ -12329,4 +12329,11 @@ sub repute_info {
1232912329
}
1233012330
}
1233112331

12332+
# 0A15 - PACKET_ZC_GOLDPCCAFE_POINT
12333+
# TODO: this package is not supported yet.
12334+
sub gold_pc_cafe_point {
12335+
my ($self, $args) = @_;
12336+
debug TF("[gold_pc_cafe_point] isActive=%d, mode=%d, point=%d, playedTime=%d\n", $args->{isActive}, $args->{mode}, $args->{point}, $args->{playedTime});
12337+
}
12338+
1233212339
1;

src/Network/Receive/ServerType0.pm

+1
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,7 @@ sub new {
635635
'0A10' => ['storage_items_nonstackable', 'v Z24 a*', [qw(len title itemInfo)]],
636636
'0A12' => ['rodex_open_write', 'Z24 C', [qw(name result)]], # 27
637637
'0A14' => ['rodex_check_player', 'V v2', [qw(char_id class base_level)]],
638+
'0A15' => ['gold_pc_cafe_point', 'C2 V2', [qw(isActive mode point playedTime)]], # 12
638639
'0A18' => ['map_loaded', 'V a3 C2 v C', [qw(syncMapSync coords xSize ySize font sex)]], # 14
639640
'0A1A' => ['roulette_window', 'C V C2 v V3', [qw(result serial stage price additional_item gold silver bronze)]],
640641
'0A1C' => ['roulette_info', 'v V a*', [qw(len serial roulette_info)]],

src/Network/Receive/kRO/Sakexe_0.pm

+1
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@ sub new {
627627
'0A10' => ['storage_items_nonstackable', 'v Z24 a*', [qw(len title itemInfo)]],
628628
'0A12' => ['rodex_open_write', 'Z24 C', [qw(name result)]], # 27
629629
'0A14' => ['rodex_check_player', 'V v2', [qw(char_id class base_level)]],
630+
'0A15' => ['gold_pc_cafe_point', 'C2 V2', [qw(isActive mode point playedTime)]], # 12
630631
'0A18' => ['map_loaded', 'V a3 C2 v C', [qw(syncMapSync coords xSize ySize font sex)]], # 14
631632
'0A1A' => ['roulette_window', 'C V C2 v V3', [qw(result serial stage price additional_item gold silver bronze)]],
632633
'0A1C' => ['roulette_info', 'v V a*', [qw(len serial roulette_info)]],

0 commit comments

Comments
 (0)