public Stump.Server.WorldServer.Database.World.Maps.MapRecord GetWorldRecord() { var record = new Stump.Server.WorldServer.Database.World.Maps.MapRecord { Id = Id, Version = Version, RelativeId = RelativeId, MapType = MapType, SubAreaId = SubAreaId, TopNeighbourId = TopNeighbourId, BottomNeighbourId = BottomNeighbourId, LeftNeighbourId = LeftNeighbourId, RightNeighbourId = RightNeighbourId, TopNeighbourCellId = TopNeighbourCellId, BottomNeighbourCellId = BottomNeighbourCellId, LeftNeighbourCellId = LeftNeighbourCellId, RightNeighbourCellId = RightNeighbourCellId, ClientTopNeighbourId = ClientTopNeighbourId, ClientBottomNeighbourId = ClientBottomNeighbourId, ClientLeftNeighbourId = ClientLeftNeighbourId, ClientRightNeighbourId = ClientRightNeighbourId, ShadowBonusOnEntities = ShadowBonusOnEntities, UseLowpassFilter = UseLowpassFilter, UseReverb = UseReverb, PresetId = PresetId, BlueFightCells = BlueFightCells, RedFightCells = RedFightCells, CompressedCells = CompressedCells, SpawnDisabled = SpawnDisabled }; return(record); }
public MapRecord Map(MapRecord map, MapPositionRecord position) { map.Position = position; position.Map = map; return(map); }