wip
This commit is contained in:
parent
22cc7e8b88
commit
608690c748
7 changed files with 19 additions and 9 deletions
|
|
@ -1,9 +1,9 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<AssemblyName>LibreMetaverse.StructuredData</AssemblyName>
|
||||
<Description>LibreMetaverse structured data library</Description>
|
||||
<PackageId>LibreMetaverse.StructuredData</PackageId>
|
||||
<TargetFrameworks>netstandard2.1</TargetFrameworks>
|
||||
<TargetFrameworks>net48;netstandard2.1;net6.0;net7.0</TargetFrameworks>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>LibreMetaverse.StructuredData</RootNamespace>
|
||||
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<AssemblyName>LibreMetaverse.Types</AssemblyName>
|
||||
<PackageId>LibreMetaverse.Types</PackageId>
|
||||
<Description>LibreMetaverse type library</Description>
|
||||
<TargetFrameworks>netstandard2.1</TargetFrameworks>
|
||||
<TargetFrameworks>net48;netstandard2.1;net6.0;net7.0</TargetFrameworks>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>LibreMetaverse</RootNamespace>
|
||||
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
|
||||
|
|
|
|||
|
|
@ -2160,11 +2160,11 @@ namespace OpenMetaverse
|
|||
public void RequestUploadNotecardAsset(byte[] data, UUID notecardID, InventoryUploadedAssetCallback callback)
|
||||
{
|
||||
if (Client.Network.CurrentSim == null || Client.Network.CurrentSim.Caps == null)
|
||||
throw new Exception("UpdateNotecardAgentInventory capability is not currently available");
|
||||
throw new Exception("Capability system not initialized to send asset");
|
||||
|
||||
Uri cap = Client.Network.CurrentSim.Caps.CapabilityURI("UpdateNotecardAgentInventory");
|
||||
|
||||
if (cap == null)
|
||||
if (cap != null)
|
||||
{
|
||||
OSDMap query = new OSDMap { { "item_id", OSD.FromUUID(notecardID) } };
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<IncludeSymbols>true</IncludeSymbols>
|
||||
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
||||
<NoWarn>0419,1574,1591</NoWarn>
|
||||
<TargetFrameworks>netstandard2.1</TargetFrameworks>
|
||||
<TargetFrameworks>net48;netstandard2.1;net6.0;net7.0</TargetFrameworks>
|
||||
<Platforms>x64;x86;AnyCPU</Platforms>
|
||||
<OutputPath>..\bin\</OutputPath>
|
||||
</PropertyGroup>
|
||||
|
|
|
|||
|
|
@ -606,7 +606,13 @@ namespace OpenMetaverse
|
|||
Media = new ParcelMedia();
|
||||
}
|
||||
|
||||
public void Update(GridClient client, bool wantReply=false)
|
||||
/// <summary>
|
||||
/// Update the parcel (in the current sim)
|
||||
/// </summary>
|
||||
/// <param name="client">Client message originates from</param>
|
||||
/// <param name="wantReply">Whether we want the simulator to confirm
|
||||
/// the update with a reply packet or not [default false]</param>
|
||||
public void Update(GridClient client, bool wantReply = false)
|
||||
{
|
||||
Update(client, client.Network.CurrentSim, wantReply);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -342,7 +342,11 @@ namespace OpenMetaverse
|
|||
/// You will get no output on the console. This behavior can be overriden by creating
|
||||
/// a logger configuration file for log4net
|
||||
/// </summary>
|
||||
#if DEBUG
|
||||
public static Helpers.LogLevel LOG_LEVEL = Helpers.LogLevel.Debug;
|
||||
#else
|
||||
public static Helpers.LogLevel LOG_LEVEL = Helpers.LogLevel.None;
|
||||
#endif
|
||||
|
||||
/// <summary>Attach avatar names to log messages</summary>
|
||||
public bool LOG_NAMES = true;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<StartupObject>SecondBotEvents.Startup</StartupObject>
|
||||
<MSBuildGitHashCommand>git rev-parse --short HEAD</MSBuildGitHashCommand>
|
||||
<MSBuildGitHashValidate>False</MSBuildGitHashValidate>
|
||||
|
|
|
|||
Loading…
Reference in a new issue