예제 #1
0
 public ParcelDataLandBitmap(byte[,] landBitmap, int bitmapWidth, int bitmapHeight, ReaderWriterLock landBitmapRwLock, ParcelInfo parcelInfo)
 {
     m_LandBitmap       = landBitmap;
     BitmapWidth        = bitmapWidth;
     BitmapHeight       = bitmapHeight;
     m_LandBitmapRwLock = landBitmapRwLock;
     m_ParcelInfo       = parcelInfo;
 }
예제 #2
0
 public ParcelInfo(ParcelInfo src, bool noCopyBitmap = false)
 {
     m_LandBitmap      = new byte[src.m_BitmapHeight, src.m_BitmapWidth / 8];
     m_BitmapWidth     = src.m_BitmapWidth;
     m_BitmapHeight    = src.m_BitmapHeight;
     LandBitmap        = new ParcelDataLandBitmap(m_LandBitmap, m_BitmapWidth, m_BitmapHeight, m_LandBitmapRwLock, this);
     Area              = src.Area;
     AuctionID         = src.AuctionID;
     AuthBuyer         = new UGUI(src.AuthBuyer);
     Category          = src.Category;
     ClaimDate         = src.ClaimDate;
     ClaimPrice        = src.ClaimPrice;
     ID                = src.ID;
     Group             = new UGI(src.Group);
     GroupOwned        = src.GroupOwned;
     Description       = src.Description;
     Flags             = src.Flags;
     LandingType       = src.LandingType;
     LandingPosition   = src.LandingPosition;
     LandingLookAt     = src.LandingLookAt;
     Name              = src.Name;
     Status            = src.Status;
     LocalID           = src.LocalID;
     MusicURI          = src.MusicURI;
     MediaURI          = src.MediaURI;
     MediaID           = src.MediaID;
     MediaType         = src.MediaType;
     Owner             = new UGUI(src.Owner);
     SnapshotID        = src.SnapshotID;
     SalePrice         = src.SalePrice;
     OtherCleanTime    = src.OtherCleanTime;
     MediaAutoScale    = src.MediaAutoScale;
     MediaWidth        = src.MediaWidth;
     MediaHeight       = src.MediaHeight;
     MediaLoop         = src.MediaLoop;
     MediaDescription  = src.MediaDescription;
     RentPrice         = src.RentPrice;
     AABBMin           = src.AABBMin;
     AABBMax           = src.AABBMax;
     ParcelPrimBonus   = src.ParcelPrimBonus;
     PassPrice         = src.PassPrice;
     PassHours         = src.PassHours;
     ActualArea        = src.ActualArea;
     BillableArea      = src.BillableArea;
     Dwell             = src.Dwell;
     ObscureMedia      = src.ObscureMedia;
     ObscureMusic      = src.ObscureMusic;
     SeeAvatars        = src.SeeAvatars;
     AnyAvatarSounds   = src.AnyAvatarSounds;
     GroupAvatarSounds = src.GroupAvatarSounds;
     IsPrivate         = src.IsPrivate;
     if (!noCopyBitmap)
     {
         LandBitmap.DataNoAABBUpdate = src.LandBitmap.Data;
     }
 }