Skip to content

Rewrite netcode#320

Merged
serenibyss merged 4 commits intomasterfrom
net-rewrite
Dec 11, 2021
Merged

Rewrite netcode#320
serenibyss merged 4 commits intomasterfrom
net-rewrite

Conversation

@serenibyss
Copy link
Copy Markdown
Member

Rewrite NetworkHandler and surrounding classes to have a consistent networking API and cleanup a lot of bad code

Copy link
Copy Markdown
Contributor

@Rongmario Rongmario left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, some packets are a bit :concern: but at least its all on the new and cleaner packet system.

@NoArgsConstructor
public class PacketUIOpen implements IPacket {

private int uiFactoryId;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be a short. Since the registry only allows Short.MAX_VALUE!

@serenibyss serenibyss merged commit 4faa830 into master Dec 11, 2021
@serenibyss serenibyss deleted the net-rewrite branch December 11, 2021 22:02
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