/
NLObP
/
AAEmu
Обзор
Документация
Войти
/
NLObP
/
AAEmu
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
AAEmu.Game/Scripts/Commands/Sphere.cs
38 строк
924 B
Roger Barreto
Collection expressions check + blank lines update (#1110)
11 дек 2024, 19:38
Не верифицирован
11 дек 2024, 19:38
0ce5643
Код
Авторство
О чём код?
using AAEmu.Game.Core.Managers; using AAEmu.Game.Models.Game; using AAEmu.Game.Models.Game.Char; using AAEmu.Game.Utils; using AAEmu.Game.Utils.Scripts; namespace AAEmu.Game.Scripts.Commands; public class Sphere : ICommand { public string[] CommandNames { get; set; } = ["sphere"]; public void OnLoad() { CommandManager.Instance.Register(CommandNames, this); } public string GetCommandLineHelp() { return "<list||add||remove||quest||goto>"; } public string GetCommandHelpText() { return "Sphere related commands "; } public void Execute(Character character, string[] args, IMessageOutput messageOutput) { if (args.Length < 1) { CommandManager.SendDefaultHelpText(this, messageOutput); return; } SphereCommandUtil.GetCommandChoice(this, messageOutput, character, args[0], args); } }