public static void registerErrorHandler(ErrorCode error, GameErrorCallback cb) { Handler handler = new Handler(); handler.callback = cb; _error_handlers[error] = handler; }
public static void registerErrorHandler(ErrorCode error, GameErrorCallback cb) { Handler handler = new Handler(); handler.callback = cb; _error_handlers[error] = handler; }
public static void registerErrorHandler <T>(ErrorCode error, GameErrorCallback cb, T proxy_object) { ErrorHandler handler = new ErrorHandler(); handler.callback = cb; handler.proxy_object = proxy_object; _error_handlers[error] = handler; }