remove 2 api calls that are technically useless and shouldnt be used
This commit is contained in:
parent
7c00835b1e
commit
7f87d066d3
3 changed files with 0 additions and 20 deletions
|
@ -100,10 +100,6 @@ class Tavern {
|
|||
if (!this.connected || this.loggedIn) { return false; }
|
||||
this.socket.send(JSON.stringify({ get_chat_history: { from: from, amount: amount } }))
|
||||
}
|
||||
get_last_msgs = (amount) => {
|
||||
if (!this.connected || this.loggedIn) { return false; }
|
||||
this.socket.send(JSON.stringify({ get_last_messages: { amount: amount } }))
|
||||
}
|
||||
get_tokens = (mapId) => {
|
||||
if (!this.connected || this.loggedIn) { return false; }
|
||||
this.socket.send(JSON.stringify({ get_tokens: { scene: mapId } }));
|
||||
|
@ -120,10 +116,6 @@ class Tavern {
|
|||
if (!this.connected || this.loggedIn) { return; }
|
||||
this.socket.send(JSON.stringify({ get_scene: { scene: id } }))
|
||||
}
|
||||
get_scene_list = () => {
|
||||
if (!this.connected || this.loggedIn) { return; }
|
||||
this.socket.send(JSON.stringify('get_scene_list'))
|
||||
}
|
||||
spawn_token = (scene, character, x, y, img_path, visible_to_players) => {
|
||||
if (!this.connected || this.loggedIn) { return; }
|
||||
this.socket.send(JSON.stringify({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue