寻宝:抽象队长匹配队友的逻辑;抽象 channel 中的用户

This commit is contained in:
liangtongchuan
2021-02-19 17:58:00 +08:00
parent ea5d507983
commit 45ce962709
4 changed files with 73 additions and 37 deletions

View File

@@ -0,0 +1,21 @@
export class ChannelUser {
private _roleId: string;
private _sid: string;
constructor(uid: string, sid: string) {
this._roleId = uid;
this._sid = sid;
}
get uid() {
return this._roleId;
}
get roleId() {
return this._roleId;
}
get sid() {
return this._sid;
}
}