summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorjussi2024-03-01 23:11:54 +0200
committerjussi2024-03-01 23:11:54 +0200
commitca238975dc63d2dddcd2b17ad627bedc95dd158c (patch)
treed1cf76dbc3ec24163d952e12204bb7f854a95501 /API.md
parent625e4e0e4df7d08b58d6ba5741b932e57a70f3dd (diff)
downloadreilua-enhanced-ca238975dc63d2dddcd2b17ad627bedc95dd158c.tar.gz
reilua-enhanced-ca238975dc63d2dddcd2b17ad627bedc95dd158c.tar.bz2
reilua-enhanced-ca238975dc63d2dddcd2b17ad627bedc95dd158c.zip
Automation events.
Diffstat (limited to 'API.md')
-rw-r--r--API.md106
1 files changed, 106 insertions, 0 deletions
diff --git a/API.md b/API.md
index 70305e2..fcfd5f3 100644
--- a/API.md
+++ b/API.md
@@ -4516,6 +4516,112 @@ Decode Base64 string data
---
+## Core - Automation events functionality
+
+---
+
+> eventList = RL.LoadAutomationEventList( string|nil fileName )
+
+Load automation events list from file, nil for empty list, capacity = MAX_AUTOMATION_EVENTS
+
+- Success return AutomationEventList
+
+---
+
+> RL.UnloadAutomationEventList( AutomationEventList list )
+
+Unload automation events list from file
+
+---
+
+> success = RL.ExportAutomationEventList( string fileName )
+
+Export automation events list as text file
+
+- Failure return false
+- Success return true
+
+---
+
+> RL.SetAutomationEventList( AutomationEventList list )
+
+Set automation event list to record to
+
+---
+
+> RL.SetAutomationEventBaseFrame( int frame )
+
+Set automation event internal base frame to start recording
+
+---
+
+> RL.StartAutomationEventRecording()
+
+Start recording automation events (AutomationEventList must be set)
+
+---
+
+> RL.StopAutomationEventRecording()
+
+Stop recording automation events
+
+---
+
+> RL.PlayAutomationEvent( AutomationEvent event )
+
+Play a recorded automation event
+
+---
+
+> capacity = RL.GetAutomationEventListCapacity( AutomationEventList list )
+
+Get automation event list capacity
+
+- Success return int
+
+---
+
+> count = RL.GetAutomationEventListCount( AutomationEventList list )
+
+Get automation event list count
+
+- Success return int
+
+---
+
+> event = RL.GetAutomationEvent( AutomationEventList list, int index )
+
+Get automation event from automation event list
+
+- Failure return nil
+- Success return AutomationEvent
+
+---
+
+> frame = RL.GetAutomationEventFrame( AutomationEvent event )
+
+Get automation event frame
+
+- Success return int
+
+---
+
+> type = RL.GetAutomationEventType( AutomationEvent event )
+
+Get automation event type
+
+- Success return int
+
+---
+
+> params = RL.GetAutomationEventParams( AutomationEvent event )
+
+Get automation event params
+
+- Success return int{}
+
+---
+
## Core - Input-related functions: keyboard
---