2024-09-06 00:23:05 +02:00
|
|
|
|
namespace GlaxOSC;
|
|
|
|
|
|
|
|
|
|
public struct OSCEndpoint
|
|
|
|
|
{
|
|
|
|
|
public string Endpoint;
|
|
|
|
|
public Type Type;
|
2024-09-06 00:50:49 +02:00
|
|
|
|
public Action<string, object?, object?>? Callback;
|
2024-09-06 00:23:05 +02:00
|
|
|
|
|
2024-09-06 00:50:49 +02:00
|
|
|
|
public OSCEndpoint(string endpoint, Type type, Action<string, object?, object?>? callback)
|
2024-09-06 00:23:05 +02:00
|
|
|
|
{
|
|
|
|
|
this.Endpoint = endpoint;
|
|
|
|
|
this.Type = type;
|
|
|
|
|
this.Callback = callback;
|
|
|
|
|
}
|
|
|
|
|
}
|