Transfered client-updates to two components (jsonfile and internal).
This commit is contained in:
parent
9fa46597d1
commit
d5b4f6c8c4
11 changed files with 271 additions and 245 deletions
15
src/main/java/org/dynmap/ClientUpdateEvent.java
Normal file
15
src/main/java/org/dynmap/ClientUpdateEvent.java
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package org.dynmap;
|
||||
|
||||
import org.json.simple.JSONObject;
|
||||
|
||||
public class ClientUpdateEvent {
|
||||
public long timestamp;
|
||||
public DynmapWorld world;
|
||||
public JSONObject update;
|
||||
|
||||
public ClientUpdateEvent(long timestamp, DynmapWorld world, JSONObject update) {
|
||||
this.timestamp = timestamp;
|
||||
this.world = world;
|
||||
this.update = update;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue