OpenSim.Region.Framework.Scenes.Scene.SetHomeRezPoint C# (CSharp) Method

SetHomeRezPoint() public method

Sets the Home Point. The LoginService uses this to know where to put a user when they log-in
public SetHomeRezPoint ( IClientAPI remoteClient, ulong regionHandle, Vector3 position, Vector3 lookAt, uint flags ) : void
remoteClient IClientAPI
regionHandle ulong
position Vector3
lookAt Vector3
flags uint
return void
        public virtual void SetHomeRezPoint(IClientAPI remoteClient, ulong regionHandle, Vector3 position, Vector3 lookAt, uint flags)
        {
            if (GridUserService != null && GridUserService.SetHome(remoteClient.AgentId.ToString(), RegionInfo.RegionID, position, lookAt))
                // FUBAR ALERT: this needs to be "Home position set." so the viewer saves a home-screenshot.
                m_dialogModule.SendAlertToUser(remoteClient, "Home position set.");
            else
                m_dialogModule.SendAlertToUser(remoteClient, "Set Home request Failed.");
        }
Scene