Guide 16Experimental
Lithium.Core.Event.CallableAttribute
Marks a component or static method as callable by another addon through Call(string, object[]).
This page is generated from the public C# symbols in src/game/sandbox/Code.
CallableAttribute
Status: Experimental
Signature
C#
public sealed class CallableAttribute(string name) : AttributeDescription
Marks a component or static method as callable by another addon through Call(string, object[]).
Example
C#
[Event.Callable("name")]
public sealed class Example { }Members
Name
Status: Experimental
Signature
C#
public string Name { get; }Description
The event name exposed by the decorated method.
Example
C#
var value = instance.Name;