mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-28 07:55:49 +00:00
Added tick & player handlers to the server to keep track of players and send updates when required.
Client can request a chunk status update (Packet0x02) OverlayLoadedchunk is now a singleton and will send a request packet when activated. Player status is saved in the server proxy. ChunkData is a "static" class to gather chunk related data (loaded chunks for now).
This commit is contained in:
1 parent
a04e7bb8fb
commit
e676b8dc23
11 files changed
+198
-6
No files matched your search
@@ -1,5 +1,13 @@
|
||||
package mcp.mobius.opis.proxy;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
import cpw.mods.fml.common.network.Player;
|
||||
import mcp.mobius.opis.constants.OverlayStatus;
|
||||
|
||||
public class ProxyServer {
|
||||
public HashMap<Player, OverlayStatus> playerOverlayStatus = new HashMap<Player, OverlayStatus>();
|
||||
public HashMap<Player, Integer> playerDimension = new HashMap<Player, Integer>();
|
||||
|
||||
public void init(){}
|
||||
}
|
||||
Reference in new issue
Block a user