mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 03:58:27 +00:00
Cleanup of various things, made writing method handlers in web_interface easier now you just have to check args
This commit is contained in:
@@ -43,7 +43,8 @@
|
||||
}
|
||||
else if(obj.id == 'get_zone_info_id') {
|
||||
socket.send(JSON.stringify({id: 'subscribe_id', method: 'Zone.Subscribe', params: [obj.result["zone_id"], obj.result["instance_id"], 'NPCPosition']}));
|
||||
} else if(obj.method = "On.NPCPosition") {
|
||||
socket.send(JSON.stringify({id: 'on_entity_pos_id', method: 'Zone.GetInitialEntityPositions', params: [obj.result["zone_id"], obj.result["instance_id"]]}));
|
||||
} else if(obj.method == "On.NPCPosition") {
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user