1.1.0 • Published 1 year ago

@serenityjs/raknet-protocol v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Raknet Protocol

About

Raknet protocol contains all the basic Raknet native packets. It also contains some basic constants that are uses with the implemtation. Documentation can be found on the Raknet protocol wiki.

Usage

import { UnconnectedPing } from '@serenityjs/raknet-protocol';

// Creates a new Ping packet
const ping = new UnconnectedPing();

ping.clientGuid = 123456789n;
ping.magic = Buffer.from('Magic!');
ping.timestamp = BigInt(Date.now());

// Serializes the packet into a buffer
const buffer = ping.serialize();
1.1.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.0

2 years ago

0.0.5

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago