More code removal
This commit is contained in:
parent
4e745f20f7
commit
fff0e13a2e
@ -14,14 +14,4 @@ export class Message {
|
|||||||
this.name = data.name;
|
this.name = data.name;
|
||||||
this.character = data.character;
|
this.character = data.character;
|
||||||
}
|
}
|
||||||
|
|
||||||
toJson() {
|
|
||||||
|
|
||||||
return {
|
|
||||||
userId: this.userId,
|
|
||||||
roomId: this.roomId,
|
|
||||||
name: this.name,
|
|
||||||
character: this.character
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user