OpenSim.Region.ScriptEngine.Shared.Api.LSL_Api.llGetLandOwnerAt C# (CSharp) Method

llGetLandOwnerAt() public method

public llGetLandOwnerAt ( OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3 pos ) : OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString
pos OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3
return OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString
        public LSL_String llGetLandOwnerAt(LSL_Vector pos)
        {
            m_host.AddScriptLPS(1);
            ILandObject land = World.LandChannel.GetLandObject((float)pos.x, (float)pos.y);
            if (land == null)
                return UUID.Zero.ToString();
            return land.LandData.OwnerID.ToString();
        }
LSL_Api