Use userId
generated by back end in all message
This commit is contained in:
parent
ab32021fc0
commit
0c9cbca765
4 changed files with 19 additions and 19 deletions
|
@ -6,7 +6,7 @@ export interface ExSocketInterface extends Socket, Identificable {
|
|||
token: any;
|
||||
roomId: string;
|
||||
webRtcRoomId: string;
|
||||
//userId: string;
|
||||
userId: string;
|
||||
name: string;
|
||||
character: string;
|
||||
position: PointInterface;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
export interface Identificable {
|
||||
id: string;
|
||||
userId: string;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue