コード例 #1
0
        public void PartPhysicsProperties(uint localID, byte physhapetype,
                                          float density, float friction, float bounce, float gravmod, UUID avatarID)
        {
            OSD item = EventQueueHelper.PartPhysicsProperties(localID, physhapetype,
                                                              density, friction, bounce, gravmod);

            Enqueue(item, avatarID);
        }
コード例 #2
0
        public virtual bool CrossRegion(ulong handle, Vector3 pos, Vector3 lookAt,
                                        IPEndPoint newRegionExternalEndPoint,
                                        string capsURL, UUID avatarID, UUID sessionID)
        {
            OSD item = EventQueueHelper.CrossRegion(handle, pos, lookAt, newRegionExternalEndPoint,
                                                    capsURL, avatarID, sessionID);

            return(EnqueueWithPriority(item, avatarID, true));
        }
コード例 #3
0
        public void ChatterBoxSessionAgentListUpdates(UUID sessionID, UUID fromAgent, UUID toAgent, bool canVoiceChat,
                                                      bool isModerator, bool textMute, byte dialog)
        {
            OSD item = EventQueueHelper.ChatterBoxSessionAgentListUpdates(sessionID, fromAgent, canVoiceChat,
                                                                          isModerator, textMute, dialog);

            Enqueue(item, toAgent);
            //m_log.InfoFormat("########### eq ChatterBoxSessionAgentListUpdates #############\n{0}", item);
        }
コード例 #4
0
        public void SendConsoleOutput(UUID agentID, string message)
        {
            OSD         osd = OSD.FromString(message);
            IEventQueue eq  = m_scene.RequestModuleInterface <IEventQueue>();

            if (eq != null)
            {
                eq.Enqueue(EventQueueHelper.BuildEvent("SimConsoleResponse", osd), agentID);
            }
        }
コード例 #5
0
        public virtual bool TeleportFinishEvent(ulong regionHandle, byte simAccess,
                                                IPEndPoint regionExternalEndPoint,
                                                uint locationID, uint flags, string capsURL,
                                                UUID avatarID)
        {
            OSD item = EventQueueHelper.TeleportFinishEvent(regionHandle, simAccess, regionExternalEndPoint,
                                                            locationID, flags, capsURL, avatarID);

            return(EnqueueWithPriority(item, avatarID, true));
        }
コード例 #6
0
        public void ChatterboxInvitation(UUID sessionID, string sessionName,
                                         UUID fromAgent, string message, UUID toAgent, string fromName, byte dialog,
                                         uint timeStamp, bool offline, int parentEstateID, Vector3 position,
                                         uint ttl, UUID transactionID, bool fromGroup, byte[] binaryBucket)
        {
            OSD item = EventQueueHelper.ChatterboxInvitation(sessionID, sessionName, fromAgent, message, toAgent, fromName, dialog,
                                                             timeStamp, offline, parentEstateID, position, ttl, transactionID,
                                                             fromGroup, binaryBucket);

            Enqueue(item, toAgent);
            //m_log.InfoFormat("########### eq ChatterboxInvitation #############\n{0}", item);
        }
コード例 #7
0
 public OSD BuildEvent(string eventName, OSD eventBody)
 {
     return(EventQueueHelper.BuildEvent(eventName, eventBody));
 }
コード例 #8
0
        public void QueryReply(PlacesReplyPacket groupUpdate, UUID avatarID)
        {
            OSD item = EventQueueHelper.PlacesQuery(groupUpdate);

            Enqueue(item, avatarID);
        }
コード例 #9
0
        public void ScriptRunning(UUID objectID, UUID itemID, bool running, bool mono, UUID avatarID)
        {
            OSD item = EventQueueHelper.ScriptRunningReplyEvent(objectID, itemID, running, mono);

            Enqueue(item, avatarID);
        }
コード例 #10
0
        public void GroupMembership(AgentGroupDataUpdatePacket groupUpdate, UUID avatarID)
        {
            OSD item = EventQueueHelper.GroupMembership(groupUpdate);

            Enqueue(item, avatarID);
        }
コード例 #11
0
        public void ParcelProperties(ParcelPropertiesMessage parcelPropertiesMessage, UUID avatarID)
        {
            OSD item = EventQueueHelper.ParcelProperties(parcelPropertiesMessage);

            Enqueue(item, avatarID);
        }
コード例 #12
0
        public virtual bool EstablishAgentCommunication(UUID avatarID, IPEndPoint endPoint, string capsPath)
        {
            OSD item = EventQueueHelper.EstablishAgentCommunication(avatarID, endPoint.ToString(), capsPath);

            return(EnqueueWithPriority(item, avatarID, true));
        }
コード例 #13
0
        public virtual bool EnableSimulator(ulong handle, IPEndPoint endPoint, UUID avatarID)
        {
            OSD item = EventQueueHelper.EnableSimulator(handle, endPoint);

            return(EnqueueWithPriority(item, avatarID, true));
        }
コード例 #14
0
        public void DisableSimulator(ulong handle, UUID avatarID)
        {
            OSD item = EventQueueHelper.DisableSimulator(handle);

            Enqueue(item, avatarID);
        }