Fix "The data on your client does not match the data on the server" error on zoning (#272)

This commit is contained in:
Mazo 2019-10-06 19:00:00 +01:00 committed by Fate-JH
parent 9e42171ca5
commit c4706134cc
19 changed files with 58 additions and 33 deletions

View file

@ -33,6 +33,7 @@ class ZoneMap(private val name : String) {
private var linkDoorLock : Map[Int, Int] = Map()
private var linkObjectBase : Map[Int, Int] = Map()
private var buildings : Map[(Int, Int), FoundationBuilder] = Map()
private var checksum : Long = 0
def Name : String = name
@ -43,6 +44,13 @@ class ZoneMap(private val name : String) {
Scale
}
def Checksum : Long = checksum
def Checksum_=(value : Long) : Long = {
checksum = value
Checksum
}
/**
* The list of all server object builder wrappers that have been assigned to this `ZoneMap`.
* @return the `List` of all `ServerObjectBuilders` known to this `ZoneMap`