Files

47 lines
1.8 KiB
JavaScript

// Automatically generated by GDevelop.js/scripts/generate-types.js
declare class gdEventsFunction {
static Action: 0;
static Condition: 1;
static Expression: 2;
static ExpressionAndCondition: 3;
static ActionWithOperator: 4;
constructor(): void;
clone(): gdEventsFunction;
setDescription(description: string): gdEventsFunction;
getDescription(): string;
setName(name: string): gdEventsFunction;
getName(): string;
setFullName(fullName: string): gdEventsFunction;
getFullName(): string;
setSentence(sentence: string): gdEventsFunction;
getSentence(): string;
setGroup(group: string): gdEventsFunction;
getGroup(): string;
setGetterName(group: string): gdEventsFunction;
getGetterName(): string;
setExpressionType(type: gdValueTypeMetadata): gdEventsFunction;
getExpressionType(): gdValueTypeMetadata;
setPrivate(isPrivate: boolean): gdEventsFunction;
isPrivate(): boolean;
setAsync(isAsync: boolean): gdEventsFunction;
isAsync(): boolean;
setHelpUrl(helpUrl: string): gdEventsFunction;
getHelpUrl(): string;
setDeprecated(isDeprecated: boolean): gdEventsFunction;
isDeprecated(): boolean;
setDeprecationMessage(message: string): gdEventsFunction;
getDeprecationMessage(): string;
isAction(): boolean;
isExpression(): boolean;
isCondition(): boolean;
setFunctionType(type: EventsFunction_FunctionType): gdEventsFunction;
getFunctionType(): EventsFunction_FunctionType;
getEvents(): gdEventsList;
getParameters(): gdParameterMetadataContainer;
getParametersForEvents(functionsContainer: gdEventsFunctionsContainer): gdParameterMetadataContainer;
getObjectGroups(): gdObjectGroupsContainer;
serializeTo(element: gdSerializerElement): void;
unserializeFrom(project: gdProject, element: gdSerializerElement): void;
delete(): void;
ptr: number;
};