public void RemoveFromByteStream(VRage.ByteStream stream) { EntityId = stream.getLong(); Type = (EntityType)stream.getUShort(); Position = stream.getVector3D(); Transparent = stream.getBoolean(); IsStatic = stream.getBoolean(); Revealability = (EntityRevealability)stream.getUShort(); Concealability = (EntityConcealability)stream.getUShort(); Status = (ConcealStatus)stream.getUShort(); }
public void RefreshConcealability() { if (Status == ConcealStatus.Concealed) return; // TODO: check for revealment conditionals Concealability = EntityConcealability.Concealable; }