new load wip

This commit is contained in:
minjaesong
2021-10-11 17:46:46 +09:00
parent 198237dee2
commit ef603ec5d5
26 changed files with 250 additions and 285 deletions

View File

@@ -24,14 +24,16 @@ class HashedWiringGraph: HashMap<BlockAddress, WiringGraphMap>()
class MetaModuleCSVPair: HashMap<String, ZipCodedStr>()
class PlayersLastStatus: HashMap<UUID, PlayerLastStatus>()
class PlayerLastStatus() {
var physics = PhysicalStatus(); private set
var inventory = ActorInventory(); private set
var actorValue = ActorValue(); private set
var physics = PhysicalStatus(); private set // mandatory
var inventory: ActorInventory? = null; private set // optional (multiplayer only)
var actorValue: ActorValue? = null; private set // optional (multiplayer only)
constructor(player: IngamePlayer) : this() {
constructor(player: IngamePlayer, isMultiplayer: Boolean) : this() {
physics = PhysicalStatus(player)
inventory = player.inventory
actorValue = player.actorValue
if (isMultiplayer) {
inventory = player.inventory
actorValue = player.actorValue
}
}
}
/**