Пример #1
0
        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);
        }
Пример #2
0
 public MapRecord Map(MapRecord map, MapPositionRecord position)
 {
     map.Position = position;
     position.Map = map;
     return(map);
 }