34 lines
967 B
C#
34 lines
967 B
C#
using System.Runtime.CompilerServices;
|
|
using Questionable.Functions;
|
|
|
|
namespace Questionable.Controller.DebugCommands;
|
|
|
|
internal sealed class AbandonDutyCommandHandler : IDebugCommandHandler
|
|
{
|
|
private readonly GameFunctions _gameFunctions;
|
|
|
|
public string CommandName
|
|
{
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
get
|
|
{
|
|
return global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-2080095221);
|
|
}
|
|
}
|
|
|
|
public AbandonDutyCommandHandler(GameFunctions gameFunctions)
|
|
{
|
|
_gameFunctions = gameFunctions;
|
|
}
|
|
|
|
public void Execute(string[] arguments)
|
|
{
|
|
_gameFunctions.AbandonDuty();
|
|
}
|
|
|
|
void IDebugCommandHandler.Execute(string[] arguments)
|
|
{
|
|
//ILSpy generated this explicit interface implementation from .override directive in Execute
|
|
this.Execute(arguments);
|
|
}
|
|
}
|