node-minecraft-protocol/src/index.js

23 lines
725 B
JavaScript
Raw Normal View History

var Client = require('./client');
var Server = require('./server');
var Yggdrasil = require('./yggdrasil.js');
var serializer = require("./transforms/serializer");
var utils = require("./utils");
var readPackets = require("./packets").readPackets;
var createClient = require("./createClient");
var createServer = require("./createServer");
module.exports = {
createClient: createClient,
createServer: createServer,
Client: Client,
Server: Server,
states: serializer.states,
createSerializer:serializer.createSerializer,
createDeserializer:serializer.createDeserializer,
readPackets:readPackets,
2015-03-07 00:00:32 -05:00
ping: require('./ping'),
yggdrasil: Yggdrasil,
supportedVersions:require("./version").supportedVersions
};