Package zombie.network
Class ServerMap
java.lang.Object
zombie.network.ServerMap
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanbooleanstatic final intstatic final intstatic ServerMaplongstatic OnceEverystatic OnceEveryfinal IsoObjectID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacterIn(int int1, int int2, int int3) voidcharacterIn(IsoPlayer player) voidclearSoftResetChunk(IsoChunk chunk) getCell(int int1, int int2) getChunk(int int1, int int2) getGridSquare(int int1, int int2, int int3) intgetMaxX()intgetMaxY()intgetMinX()intgetMinY()getStartLocation(ServerWorldDatabase.LogonResult logonResult) shortvoidinit(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) voidvoidvoidvoidvoidSaveAll()voidsaveZoneInsidePlayerInfluence(short short1) voidsetGridSquare(int int1, int int2, int int3, IsoGridSquare square) voidsetSoftResetChunk(IsoChunk chunk) inttoServerCellX(int int1) inttoServerCellY(int int1) inttoWorldCellX(int int1) inttoWorldCellY(int int1)
-
Field Details
-
bUpdateLOSThisFrame
public boolean bUpdateLOSThisFrame -
LOSTick
-
TimeTick
-
CellSize
public static final int CellSize- See Also:
-
ChunksPerCellWidth
public static final int ChunksPerCellWidth- See Also:
-
LastSaved
public long LastSaved -
ZombieMap
-
bQueuedSaveAll
public boolean bQueuedSaveAll -
bQueuedQuit
public boolean bQueuedQuit -
instance
-
cellMap
-
LoadedCells
-
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
-
setSoftResetChunk
-
clearSoftResetChunk
-