Stage 248
This commit is contained in:
parent
eec83450ff
commit
eaf3100ef1
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue