colyseus.js
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -41,2 +41,7 @@ 'use strict'; | ||
} | ||
}, { | ||
key: 'send', | ||
value: function send(data) { | ||
this.client.send([protocol.ROOM_DATA, this.roomId, data]); | ||
} | ||
}]); | ||
@@ -43,0 +48,0 @@ |
{ | ||
"name": "colyseus.js", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "JavaScript client for Colyseus MMO Game Server", | ||
@@ -5,0 +5,0 @@ "keywords": ["mmo", "game", "client", "networking", "websockets"], |
@@ -21,2 +21,6 @@ var EventEmitter = require('events').EventEmitter | ||
send (data) { | ||
this.client.send([protocol.ROOM_DATA, this.roomId, data]) | ||
} | ||
} | ||
@@ -23,0 +27,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1293678
5579