Watch
2
0
Fork
You've already forked raylib-cs
0

Focus pr on explicit type and util changes

This commit is contained in:
Rgebee 2025-09-17 19:16:39 +01:00
commit be91fe9120
15 changed files with 18 additions and 856 deletions

View file

@ -15,11 +15,6 @@ public unsafe struct AutomationEvent
/// <summary>Event parameters (if required)</summary>
public fixed int Params[4];
public readonly void Play()
{
Raylib.PlayAutomationEvent(this);
}
}
/// <summary>Automation event list</summary>
@ -37,20 +32,4 @@ public unsafe struct AutomationEventList
/// <inheritdoc cref="Events"/>
public readonly ReadOnlySpan<AutomationEvent> EventsAsSpan => new ReadOnlySpan<AutomationEvent>(Events, (int)Count);
public static AutomationEventList Load(string fileName)
{
return Raylib.LoadAutomationEventList(fileName);
}
public readonly CBool Export(string fileName)
{
return Raylib.ExportAutomationEventList(this, fileName);
}
public void Unload()
{
Raylib.UnloadAutomationEventList(this);
}
}