Files
opengenesislinkserver/OpenSim/Region/Framework/Interfaces/IExperienceModule.cs
T
OpenGenesis (MPL 2.0) 89d569abdc 0.9.3.7: Implement NexGroups parity layer and native NexExperiences
Complete Roadmap Chapter 11 with NexGroups parity/management, persistent moderation, native NexExperiences, Experience LSL, OpenAPI/docs/configuration and regression coverage.
2026-10-06 02:10:27 +02:00

76 lines
2.0 KiB
C#

// SPDX-License-Identifier: BSD-3-Clause
using OpenMetaverse;
namespace OpenSim.Region.Framework.Interfaces
{
/// <summary>
/// Region-facing adapter for the authoritative OpenGenesisLINK Experience service.
/// Implementations must not keep an independent money-/permission-like authority
/// in the simulator; they proxy the central service.
/// </summary>
public interface IExperienceModule
{
UUID ResolveExperience(UUID scriptItemId);
bool TryGetExperienceDetails(
UUID experienceId,
out string name,
out UUID ownerId,
out UUID groupId,
out int maturity,
out bool enabled);
bool HasExperiencePermission(
UUID scriptItemId,
UUID residentId,
UUID parcelId,
out UUID experienceId,
out string reason);
bool AgentInExperience(
UUID scriptItemId,
UUID residentId);
bool CreateKeyValue(
UUID scriptItemId,
string key,
string value,
out string error);
bool ReadKeyValue(
UUID scriptItemId,
string key,
out string value,
out string error);
bool UpdateKeyValue(
UUID scriptItemId,
string key,
string value,
bool checkOriginal,
string originalValue,
out bool retryMismatch,
out string error);
bool DeleteKeyValue(
UUID scriptItemId,
string key,
out string error);
bool GetKeyValueStats(
UUID scriptItemId,
out long usedBytes,
out long quotaBytes,
out int keyCount,
out string error);
bool ListKeyValueKeys(
UUID scriptItemId,
int start,
int count,
out string[] keys,
out string error);
}
}