Skip to content

Commit

Permalink
Minimum package support 0A15 (PACKET_ZC_GOLDPCCAFE_POINT) (#3916)
Browse files Browse the repository at this point in the history
  • Loading branch information
ya4ept authored Dec 25, 2024
1 parent ac5dd5f commit b10b2f2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Network/Receive.pm
Original file line number Diff line number Diff line change
Expand Up @@ -12329,4 +12329,11 @@ sub repute_info {
}
}

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

1;
1 change: 1 addition & 0 deletions src/Network/Receive/ServerType0.pm
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@ sub new {
'0A10' => ['storage_items_nonstackable', 'v Z24 a*', [qw(len title itemInfo)]],
'0A12' => ['rodex_open_write', 'Z24 C', [qw(name result)]], # 27
'0A14' => ['rodex_check_player', 'V v2', [qw(char_id class base_level)]],
'0A15' => ['gold_pc_cafe_point', 'C2 V2', [qw(isActive mode point playedTime)]], # 12
'0A18' => ['map_loaded', 'V a3 C2 v C', [qw(syncMapSync coords xSize ySize font sex)]], # 14
'0A1A' => ['roulette_window', 'C V C2 v V3', [qw(result serial stage price additional_item gold silver bronze)]],
'0A1C' => ['roulette_info', 'v V a*', [qw(len serial roulette_info)]],
Expand Down
1 change: 1 addition & 0 deletions src/Network/Receive/kRO/Sakexe_0.pm
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ sub new {
'0A10' => ['storage_items_nonstackable', 'v Z24 a*', [qw(len title itemInfo)]],
'0A12' => ['rodex_open_write', 'Z24 C', [qw(name result)]], # 27
'0A14' => ['rodex_check_player', 'V v2', [qw(char_id class base_level)]],
'0A15' => ['gold_pc_cafe_point', 'C2 V2', [qw(isActive mode point playedTime)]], # 12
'0A18' => ['map_loaded', 'V a3 C2 v C', [qw(syncMapSync coords xSize ySize font sex)]], # 14
'0A1A' => ['roulette_window', 'C V C2 v V3', [qw(result serial stage price additional_item gold silver bronze)]],
'0A1C' => ['roulette_info', 'v V a*', [qw(len serial roulette_info)]],
Expand Down

0 comments on commit b10b2f2

Please sign in to comment.