WorldCommand constructor
WorldCommand({
- required String id,
- required String name,
- String? text,
- CustomSound? sound,
- ZoneTeleport? zoneTeleport,
- WalkingMode? walkingMode,
- String? customCommandName,
- List<
CallCommand> ? callCommands, - StartConversation? startConversation,
- SetQuestStage? setQuestStage,
- ReturnToMainMenu? returnToMainMenu,
- ShowScene? showScene,
- PlayRumble? playRumble,
- String? url,
- String? customMenuId,
Create an instance.
Implementation
WorldCommand({
required this.id,
required this.name,
this.text,
this.sound,
this.zoneTeleport,
this.walkingMode,
this.customCommandName,
final List<CallCommand>? callCommands,
this.startConversation,
this.setQuestStage,
this.returnToMainMenu,
this.showScene,
this.playRumble,
this.url,
this.customMenuId,
}) : callCommands = callCommands ?? [];