| 58 | |
| 59 | template<typename F> |
| 60 | void Add(F f) { |
| 61 | using args_type = typename function_traits<F>::args_type; |
| 62 | using arg_type = |
| 63 | typename std::remove_pointer<typename std::tuple_element<0, args_type>::type>::type; |
| 64 | |
| 65 | std::get<arg_type::value>(handlers_) = std::move(f); |
| 66 | } |
| 67 | |
| 68 | virtual void OnLoadServer(CtrlCall<CtrlMethod::kLoadServer>* call) = 0; |
| 69 |
no outgoing calls
no test coverage detected