mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-04-29 02:33:28 -04:00
Add wrapper method overload for single array type (#3834)
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user