Package zombie.network
Class ServerMap
java.lang.Object
zombie.network.ServerMap
public class ServerMap
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServerMap.ServerCellstatic classServerMap.ZombieIDMap -
Field Summary
Fields Modifier and Type Field Description booleanbQueuedQuitbooleanbQueuedSaveAllbooleanbUpdateLOSThisFrameServerMap.ServerCell[]cellMapstatic intCellSizestatic intChunksPerCellWidthstatic ServerMapinstancelongLastSavedjava.util.ArrayListLoadedCellsstatic OnceEveryLOSTickjava.util.ArrayListReleventNowstatic OnceEveryTimeTickServerMap.ZombieIDMapZombieMap -
Constructor Summary
Constructors Constructor Description ServerMap() -
Method Summary
Modifier and Type Method Description voidcharacterIn(int int1, int int2, int int3)voidcharacterIn(IsoPlayer player)ServerMap.ServerCellgetCell(int int1, int int2)IsoChunkgetChunk(int int1, int int2)IsoGridSquaregetGridSquare(int int1, int int2, int int3)intgetMaxX()intgetMaxY()intgetMinX()intgetMinY()Vector3getStartLocation(ServerWorldDatabase.LogonResult logonResult)shortgetUniqueZombieId()voidinit(IsoMetaGrid metaGrid)booleanisInLoaded(float float1, float float2)booleanisValidCell(int int1, int int2)voidloadMapChunk(int int1, int int2)voidloadOrKeepRelevent(int int1, int int2)voidphysicsCheck(int int1, int int2)voidpostupdate()voidpreupdate()voidQueueQuit()voidQueueSaveAll()voidSaveAll()voidsaveZoneInsidePlayerInfluence(short short1)voidsetGridSquare(int int1, int int2, int int3, IsoGridSquare square)inttoServerCellX(int int1)inttoServerCellY(int int1)inttoWorldCellX(int int1)inttoWorldCellY(int int1)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
bUpdateLOSThisFrame
public boolean bUpdateLOSThisFrame -
LOSTick
-
TimeTick
-
CellSize
public static final int CellSize- See Also:
- Constant Field Values
-
ChunksPerCellWidth
public static final int ChunksPerCellWidth- See Also:
- Constant Field Values
-
LastSaved
public long LastSaved -
ZombieMap
-
bQueuedSaveAll
public boolean bQueuedSaveAll -
bQueuedQuit
public boolean bQueuedQuit -
instance
-
cellMap
-
LoadedCells
public java.util.ArrayList LoadedCells -
ReleventNow
public java.util.ArrayList ReleventNow
-
-
Constructor Details
-
ServerMap
public ServerMap()
-
-
Method Details
-
getUniqueZombieId
public short getUniqueZombieId() -
getStartLocation
-
SaveAll
public void SaveAll() -
QueueSaveAll
public void QueueSaveAll() -
QueueQuit
public void QueueQuit() -
toServerCellX
public int toServerCellX(int int1) -
toServerCellY
public int toServerCellY(int int1) -
toWorldCellX
public int toWorldCellX(int int1) -
toWorldCellY
public int toWorldCellY(int int1) -
getMaxX
public int getMaxX() -
getMaxY
public int getMaxY() -
getMinX
public int getMinX() -
getMinY
public int getMinY() -
init
-
getCell
-
isValidCell
public boolean isValidCell(int int1, int int2) -
loadOrKeepRelevent
public void loadOrKeepRelevent(int int1, int int2) -
characterIn
-
characterIn
public void characterIn(int int1, int int2, int int3) -
loadMapChunk
public void loadMapChunk(int int1, int int2) -
preupdate
public void preupdate() -
postupdate
public void postupdate() -
physicsCheck
public void physicsCheck(int int1, int int2) -
saveZoneInsidePlayerInfluence
public void saveZoneInsidePlayerInfluence(short short1) -
getGridSquare
-
setGridSquare
-
isInLoaded
public boolean isInLoaded(float float1, float float2) -
getChunk
-