1.1.0 • Published 7 months ago

@serenityjs/raknet-protocol v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months 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

7 months ago

1.0.9

7 months ago

1.0.8

7 months ago

1.0.7

7 months ago

1.0.6

7 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.0

10 months ago

0.0.5

10 months ago

0.0.1

10 months ago

0.0.0

10 months ago