Add custom block support to the API and update to latest GC version #6

Merged
NorbiPeti merged 0 commits from unknown repository into master 2020-12-17 21:21:18 +00:00
NorbiPeti commented 2020-12-17 20:25:27 +00:00 (Migrated from git.exmods.org)

Added a CustomBlock class that can be inherited and a CustomBlock attribute that should be added to it that describes the properties of the block. The block gets an ID starting from 500 at the moment, I intend to use the persistence API to store the mapping between block IDs and the block type's full name so conflicts don't happen or are resolved automatically.

There's a test block in the test class but for that test block to be tested it needs the extra assets I used for testing (but it should deal with that not being set up).

Breaking changes coming from FMOD 2.0:

  • Audio[int index] changed to Audio[PARAMETER_ID index]
  • Audio.Parameters removed
Added a CustomBlock class that can be inherited and a CustomBlock attribute that should be added to it that describes the properties of the block. The block gets an ID starting from 500 at the moment, I intend to use the persistence API to store the mapping between block IDs and the block type's full name so conflicts don't happen or are resolved automatically. There's a test block in the test class but for that test block to be tested it needs the extra assets I used for testing (but it should deal with that not being set up). Breaking changes coming from FMOD 2.0: - Audio[int index] changed to Audio[PARAMETER_ID index] - Audio.Parameters removed
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ExMods/TechbloxModdingAPI#6
No description provided.