Skip to content

Feat/replay merged#3

Merged
ArikSquad merged 33 commits into
feat/replayfrom
feat/replay-merged
May 15, 2026
Merged

Feat/replay merged#3
ArikSquad merged 33 commits into
feat/replayfrom
feat/replay-merged

Conversation

@ArikSquad
Copy link
Copy Markdown
Owner

No description provided.

Swofty-Developments and others added 30 commits April 19, 2026 19:16
Drops the abstract PartyEvent hierarchy (29 subclasses, hand-rolled
JSONObject serializers per class, findFromType reflection switch with
dummy instances) in favour of two sealed interfaces of records:
PartyAction for server->service commands and PartyBroadcast for
service->server notifications. Wire format is plain Jackson polymorphism
via @JsonSubTypes, so the push protocol carries the typed event itself
instead of (eventType, eventData) strings.

Endpoint and broadcast handler dispatch via exhaustive sealed-switch -
adding a new variant is a compile error in two places, not a silent
runtime failure.

Collapses the 8 near-identical Typed*PartyEventHandler files (~2700
lines, 95% duplication) into a single PartyBroadcastHandler in
type.generic, auto-registered for every server type. SkyBlock-specific
warp branding is preserved via HypixelConst.getTypeLoader().getType().isSkyBlock().

Net: -5199 / +236 lines.

BREAKING CHANGE: removes net.swofty.commons.party.PartyEvent,
PartyResponseEvent and the events/ + events/response/ subpackages,
PartyEventPushProtocol, SendPartyEventToServiceProtocolObject. Replaced
by PartyAction, PartyBroadcast, PartyBroadcastPushProtocol,
SendPartyActionProtocolObject. PartyManager public API unchanged.
- Drop SanityTest (per ArikSquad: no value over what JUnit's own
  smoke tests cover).
- Rename AreFriendsMessage(player1, player2) to (player, other) for
  readability.
…r clash

The record component named 'success' auto-generates a boolean success()
accessor, which conflicts with a zero-arg static factory of the same
name. CI caught it; renamed the factory to ok().
Same record-accessor clash as the Response fix - 'handled' is a
record component so the auto-generated handled() accessor collides
with a zero-arg static factory of the same name.
ItzKatze and others added 3 commits May 2, 2026 16:36
…denlocation

fix: location of spider's den hologram
…ervice-revamp

Typed service communication refactor
@ArikSquad ArikSquad merged commit 97e247c into feat/replay May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants