private static int OnAuthSuccessCallback(IntPtr auth, IntPtr success) { NowAuth nowAuth = (NowAuth)auth; nowAuth?.OnAuthSuccess?.Invoke(nowAuth); return(1); }
private static int OnClientBeginCallback(IntPtr auth) { NowAuth nowAuth = (NowAuth)auth; nowAuth?.OnAuthBegin?.Invoke(nowAuth); return(1); }