示例#1
0
        /// <summary>Raises the RegionHandleReply event</summary>
        /// <param name="e">A RegionHandleReplyEventArgs object containing the
        /// data sent by simulator</param>
        protected virtual void OnRegionHandleReply(RegionHandleReplyEventArgs e)
        {
            EventHandler <RegionHandleReplyEventArgs> handler = m_RegionHandleReply;

            if (handler != null)
            {
                handler(this, e);
            }
        }
示例#2
0
 /// <summary>Raises the RegionHandleReply event</summary>
 /// <param name="e">A RegionHandleReplyEventArgs object containing the
 /// data sent by simulator</param>
 protected virtual void OnRegionHandleReply(RegionHandleReplyEventArgs e)
 {
     EventHandler<RegionHandleReplyEventArgs> handler = m_RegionHandleReply;
     if (handler != null)
         handler(this, e);
 }
示例#3
0
 public virtual void Grid_OnRegionHandleReply(object sender, RegionHandleReplyEventArgs e) { OnEvent("On-Region-Handle-Reply", paramNamesOnRegionHandleReply, paramTypesOnRegionHandleReply, e); }
示例#4
0
        void Grid_RegionHandleReply(object sender, RegionHandleReplyEventArgs e)
        {
            if (decodedLandmark == null || decodedLandmark.RegionID != e.RegionID) return;

            parcelID = client.Parcels.RequestRemoteParcelID(decodedLandmark.Position, e.RegionHandle, e.RegionID);
            if (parcelID != UUID.Zero)
            {
                client.Parcels.RequestParcelInfo(parcelID);
            }
        }
 public override void Grid_OnRegionHandleReply(object sender, RegionHandleReplyEventArgs e)
 {
     var regionHandle = e.RegionHandle;
     var regionID = e.RegionID;
     if (regionHandle == 0) return;
     RegisterUUID(regionID, GetRegion(regionHandle));
     base.Grid_OnRegionHandleReply(sender, e);
 }