Add wrapper method overload for single array type (#3834)

This commit is contained in:
Conna Wiles
2026-01-20 13:53:19 +00:00
committed by GitHub
parent 5eba504807
commit 22b7c9e494
4 changed files with 37 additions and 2 deletions

View File

@@ -38,6 +38,13 @@ public abstract partial class GameObjectSystem : IDeltaSnapshot
_id = guid;
}
[EditorBrowsable( EditorBrowsableState.Never )]
[MethodImpl( MethodImplOptions.AggressiveInlining )]
protected void __rpc_Wrapper<T>( in WrappedMethod m, T[] argument )
{
Rpc.OnCallInstanceRpc( this, m, [argument] );
}
[EditorBrowsable( EditorBrowsableState.Never )]
[MethodImpl( MethodImplOptions.AggressiveInlining )]
protected void __rpc_Wrapper( in WrappedMethod m, params object[] argumentList )