Exemplo n.º 1
0
        public int Execute2(SourcePawn.IPluginFunction function, int[] @params, out int result)
        {
            var handle = GCHandle.Alloc(@params, GCHandleType.Pinned);
            var ret    = Execute2(function, handle.AddrOfPinnedObject(), (uint)@params.Length, out result);

            handle.Free();
            return(ret);
        }
Exemplo n.º 2
0
        public int Execute2(SourcePawn.IPluginFunction function, int[] @params)
        {
            int result;

            return(Execute2(function, @params, out result));
        }
Exemplo n.º 3
0
 public virtual int Execute2(SourcePawn.IPluginFunction function, IntPtr @params, uint num_params, out int result)
 {
     return(impl.Execute2(Native, function, @params, num_params, out result));
 }