Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Commit

Permalink
Removed expression due to included in GetEventData.
Browse files Browse the repository at this point in the history
  • Loading branch information
eaquex authored and MikalDev committed Feb 28, 2022
1 parent 5bba19e commit acebc20
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 34 deletions.
18 changes: 1 addition & 17 deletions src/aces.json
Original file line number Diff line number Diff line change
Expand Up @@ -1142,23 +1142,7 @@
"highlight": false,
"returnType": "number",
"params": []
},
{
"id": "get-event-name",
"expressionName": "GetEventName",
"scriptName": "GetEventName",
"highlight": false,
"returnType": "string",
"params": []
},
{
"id": "get-event-track-index",
"expressionName": "GetEventTrackIndex",
"scriptName": "GetEventTrackIndex",
"highlight": false,
"returnType": "string",
"params": []
},
},
{
"id": "get-event-data",
"expressionName": "GetEventData",
Expand Down
6 changes: 0 additions & 6 deletions src/c3runtime/expressions.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,12 +315,6 @@
SkeletonScale(){
return this.skeletonScale;
},
GetEventName() {
return this.completeEventName;
},
GetEventTrackIndex() {
return this.completeEventTrackIndex;
},
GetEventData(field) {
const fieldList = ["float", "int", "string", "balance", "volume", "audiopath", "event", "track"]

Expand Down
12 changes: 1 addition & 11 deletions src/lang/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -1096,17 +1096,7 @@
"description": "Skeleton scale",
"translated-name": "SkeletonScale",
"params": {}
},
"get-event-name": {
"description": "Get current event name on the current track",
"translated-name": "GetEventName",
"params": {}
},
"get-event-track-index": {
"description": "Get track index of the current event",
"translated-name": "GetEventTrackIndex",
"params": {}
},
},
"get-event-data": {
"description": "Get value field of the current event",
"translated-name": "GetEventData",
Expand Down

0 comments on commit acebc20

Please sign in to comment.