Add option to hide debug commands (eg. one auto-added within container class)

This commit is contained in:
2026-06-19 14:48:50 +02:00
parent d67c8fee99
commit 882a826360
4 changed files with 32 additions and 16 deletions
+2 -2
View File
@@ -151,14 +151,14 @@ public:
/// </summary>
/// <param name="connection">Network connection identifier.</param>
/// <returns>Found client or null.</returns>
API_FUNCTION() static NetworkClient* GetClient(API_PARAM(Ref) const NetworkConnection& connection);
API_FUNCTION(Attributes="DebugCommand(Hide=true)") static NetworkClient* GetClient(API_PARAM(Ref) const NetworkConnection& connection);
/// <summary>
/// Gets the network client with a given identifier. Returns null if failed to find it.
/// </summary>
/// <param name="clientId">Network client identifier (synchronized on all peers).</param>
/// <returns>Found client or null.</returns>
API_FUNCTION() static NetworkClient* GetClient(uint32 clientId);
API_FUNCTION(Attributes="DebugCommand(Hide=true)") static NetworkClient* GetClient(uint32 clientId);
public:
/// <summary>