Exemple #1
0
        //---------------------------------------------------------------------
        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;
        }
Exemple #2
0
        //---------------------------------------------------------------------
        void _defRpcMethod(ushort method_id, Action a)
        {
            RpcSlot rpc_slot = new RpcSlot(a);

            mMapRpcSlot[method_id] = rpc_slot;
        }