dreamworkAPI
Ctrl K
GitHub
classDocs / Model

Model

classsource
Object → Model

Constructor

Model(): Model

Static functions

getGlobalActivityIDReturns the ID of the activity by name.
getGlobalActivityNameReturns the name of the activity by ID.

#Model.getGlobalActivityID

sharedmenunodiscardsource
function Model.getGlobalActivityID(act_name: string): integer
Parameters
NameTypeDescription
act_namestringThe name of the activity.
Returns
TypeNameDescription
integeract_idThe ID of the activity.

#Model.getGlobalActivityName

sharedmenunodiscardsource
function Model.getGlobalActivityName(act_id: integer): string
Parameters
NameTypeDescription
act_idintegerThe ID of the activity.
Returns
TypeNameDescription
stringact_nameThe name of the activity.
Generated from the dreamwork meta branch.