Stage 248

This commit is contained in:
Abdussamed ULUTAŞ 2022-12-23 00:34:41 +03:00
parent eec83450ff
commit eaf3100ef1
1 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,10 @@ export default class Peer extends EventTarget
return await this.mwse.request(this.socketId as string, pack);
}
};
equalTo(peer : Peer | {socketId: string})
{
return this.socketId == peer.socketId;
}
async isReachable()
{
return await this.mwse.EventPooling.request({