-
-
Notifications
You must be signed in to change notification settings - Fork 320
Expand file tree
/
Copy pathEvent.cs
More file actions
29 lines (25 loc) · 1.29 KB
/
Copy pathEvent.cs
File metadata and controls
29 lines (25 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
┌──────────────────────────────────────────────────────────────────┐
│ Repository: GitHub (https://github.com/IvanMurzak/Unity-MCP) │
│ Licensed under the Apache License, Version 2.0. │
│ See the LICENSE file in the project root for more information. │
└──────────────────────────────────────────────────────────────────┘
*/
#nullable enable
using com.IvanMurzak.McpPlugin;
namespace com.IvanMurzak.Unity.MCP.Editor.API
{
[McpPluginToolType]
public partial class Tool_Event
{
public static class Error
{
public static string InvalidSubscribeTimeout(int timeoutMs)
=> $"Invalid timeout value '{timeoutMs}'. Must be between 1000 and 120000 milliseconds.";
public static string InvalidWatchTimeout(int timeoutMs)
=> $"Invalid timeout value '{timeoutMs}'. Must be between 5000 and 120000 milliseconds.";
public static string EventBusNotAvailable()
=> "McpEventBus is not available.";
}
}
}