Type Eve command operations
This commit is contained in:
parent
be1207c585
commit
bafcfa4ead
10 changed files with 300 additions and 93 deletions
|
|
@ -341,7 +341,7 @@ public class MainMenu : MonoBehaviour
|
|||
|
||||
return;
|
||||
case AetheriaRuntimeMainMenuCommandKind.VerseHostCommand:
|
||||
if (TrySendVerseHostCommand(command.Command))
|
||||
if (TrySendVerseHostCommand(AetheriaRuntimeEveCommandClient.CommandKindForSurface(request)))
|
||||
{
|
||||
ShowVerseSettingsSurface();
|
||||
}
|
||||
|
|
@ -468,10 +468,10 @@ public class MainMenu : MonoBehaviour
|
|||
}
|
||||
}
|
||||
|
||||
private static bool TrySendVerseHostCommand(string command)
|
||||
private static bool TrySendVerseHostCommand(AetheriaRuntimeEveCommandKind command)
|
||||
{
|
||||
var stateBoot = CurrentStateBoot();
|
||||
if (!CanSendLocalEveCommand(stateBoot, "Verse-host", command))
|
||||
if (!CanSendLocalEveCommand(stateBoot, "Verse-host", command.ToString()))
|
||||
return true;
|
||||
|
||||
try
|
||||
|
|
|
|||
Loading…
Reference in a new issue