@colyseus/core
Advanced tools
Comparing version 0.15.51 to 0.15.52
@@ -582,2 +582,3 @@ var __create = Object.create; | ||
async _onLeave(client, code) { | ||
console.log("_onLeave", client.sessionId); | ||
client.state = import_Transport.ClientState.LEAVING; | ||
@@ -584,0 +585,0 @@ if (!this.clients.delete(client)) { |
@@ -0,4 +1,6 @@ | ||
var __create = Object.create; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __getProtoOf = Object.getPrototypeOf; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
@@ -17,2 +19,6 @@ var __export = (target, all) => { | ||
}; | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | ||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | ||
mod | ||
)); | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
@@ -34,2 +40,7 @@ var Stats_exports = {}; | ||
}; | ||
import("@pm2/io").then((io) => { | ||
io.default.metric({ id: "app/stats/ccu", name: "ccu", value: () => local.ccu }); | ||
io.default.metric({ id: "app/stats/roomcount", name: "roomcount", value: () => local.roomCount }); | ||
}).catch(() => { | ||
}); | ||
async function fetchAll() { | ||
@@ -36,0 +47,0 @@ const allStats = []; |
{ | ||
"name": "@colyseus/core", | ||
"version": "0.15.51", | ||
"version": "0.15.52", | ||
"description": "Multiplayer Framework for Node.js.", | ||
@@ -5,0 +5,0 @@ "input": "./src/index.ts", |
@@ -10,8 +10,8 @@ <div align="center"> | ||
</a> | ||
<a href="http://chat.colyseus.io"> | ||
<img src="https://img.shields.io/discord/525739117951320081.svg?style=for-the-badge&colorB=7581dc&logo=discord&logoColor=white"> | ||
</a> | ||
<a href="https://github.com/colyseus/colyseus/discussions" title="Discuss on Forum"> | ||
<img src="https://img.shields.io/badge/discuss-on%20forum-brightgreen.svg?style=for-the-badge&colorB=0069b8&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAHdElNRQfjAgETDROxCNUzAAABB0lEQVQoz4WRvyvEARjGP193CnWRH+dHQmGwKZtFGcSmxHAL400GN95ktIpV2dzlLzDJgsGgGNRdDAzoQueS/PgY3HXHyT3T+/Y87/s89UANBKXBdoZo5J6L4K1K5ZxHfnjnlQUf3bKvkgy57a0r9hS3cXfMO1kWJMza++tj3Ac7/LY343x1NA9cNmYMwnSS/SP8JVFuSJmr44iFqvtmpjhmhBCrOOazCesq6H4P3bPBjFoIBydOk2bUA17I080Es+wSZ51B4DIA2zgjSpYcEe44Js01G0XjRcCU+y4ZMrDeLmfc9EnVd5M/o0VMeu6nJZxWJivLmhyw1WHTvrr2b4+2OFqra+ALwouTMDcqmjMAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTktMDItMDFUMTg6MTM6MTkrMDE6MDAC9f6fAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE5LTAyLTAxVDE4OjEzOjE5KzAxOjAwc6hGIwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAASUVORK5CYII=" alt="Discussion forum" /> | ||
</a> | ||
<a href="http://chat.colyseus.io"> | ||
<img src="https://img.shields.io/discord/525739117951320081.svg?style=for-the-badge&colorB=7581dc&logo=discord&logoColor=white"> | ||
</a> | ||
<h3> | ||
@@ -22,4 +22,4 @@ Multiplayer Framework for Node.js. <br /><a href="https://docs.colyseus.io/">View documentation</a> | ||
Colyseus is an Authoritative Multiplayer Framework for Node.js, with clients | ||
available for the Web, Unity3d, Defold, Haxe, and Cocos. ([See official clients](#%EF%B8%8F-official-client-integration)) | ||
Colyseus is an Authoritative Multiplayer Framework for Node.js, with SDKs | ||
available for the Web, Unity, Defold, Haxe, Cocos and Construct3. ([See official SDKs](https://docs.colyseus.io/client/)) | ||
@@ -26,0 +26,0 @@ The project focuses on providing synchronizable data structures for realtime and |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
707877
173
7955