Example #1
0
        //---------------------------------------------------------------------
        internal void _defRpcMethod <T1, T2, T3, T4>(ushort method_id, Action <T1, T2, T3, T4> a)
        {
            RpcSlot <T1, T2, T3, T4> rpc_slot = new RpcSlot <T1, T2, T3, T4>(a);

            mMapRpcSlot[method_id] = rpc_slot;
        }
Example #2
0
        //---------------------------------------------------------------------
        internal void _defRpcMethod(ushort method_id, Action a)
        {
            RpcSlot rpc_slot = new RpcSlot(a);

            mMapRpcSlot[method_id] = rpc_slot;
        }