Skip to content

IRulesetEngine — what a cartridge implements

Source: modules/Descent.Vtt.Sdk/IRulesetEngine.cs at build time. No member of this contract was withheld.

Signatures only. Every comment is stripped by ADR-115 clause 4, so this page carries the contract and none of the reasoning around it.

public interface IRulesetEngine
{
string RulesetId { get; }
int SdkMajor { get; }
IReadOnlyCollection<string> SupportedActions { get; }
IAttributeSchema Schema { get; }
RulesetOutcome Execute(string action, IActor target, GameActionContext context);
}