// SPDX-License-Identifier: BSD-3-Clause using OpenMetaverse; namespace OpenSim.Region.Framework.Interfaces { /// /// 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. /// 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); } }