@@ -197,7 +197,7 @@ public override void Detach()
197197 private static Func < MyDedicatedServerBase , ulong , bool > _Profiling ;
198198
199199 [ ReflectedMethod ( Name = "UserAccepted" ) ]
200- private static Action < MyDedicatedServerBase , ulong > _userAcceptedImpl ;
200+ private static Action < MyDedicatedServerBase , ulong , bool > _userAcceptedImpl ;
201201
202202 [ ReflectedMethod ( Name = "UserRejected" ) ]
203203 private static Action < MyDedicatedServerBase , ulong , JoinResult > _userRejected ;
@@ -329,14 +329,14 @@ private void RunEvent(ValidateAuthTicketEvent info)
329329 else
330330 verdict = task . Result ;
331331
332- Torch . Invoke ( ( ) => { CommitVerdict ( info . SteamID , verdict ) ; } ) ;
332+ Torch . Invoke ( ( ) => { CommitVerdict ( info . SteamID , verdict , false ) ; } ) ;
333333 } ) ;
334334 }
335335
336- private void CommitVerdict ( ulong steamId , JoinResult verdict )
336+ private void CommitVerdict ( ulong steamId , JoinResult verdict , bool isPasswordValidated )
337337 {
338338 if ( verdict == JoinResult . OK )
339- UserAccepted ( steamId ) ;
339+ UserAccepted ( steamId , isPasswordValidated ) ;
340340 else
341341 UserRejected ( steamId , verdict ) ;
342342 }
@@ -362,9 +362,9 @@ private void UserRejected(ulong steamId, JoinResult reason)
362362 _userRejected . Invoke ( ( MyDedicatedServerBase ) MyMultiplayer . Static , steamId , reason ) ;
363363 }
364364
365- private void UserAccepted ( ulong steamId )
365+ private void UserAccepted ( ulong steamId , bool isPasswordValidated )
366366 {
367- _userAcceptedImpl . Invoke ( ( MyDedicatedServerBase ) MyMultiplayer . Static , steamId ) ;
367+ _userAcceptedImpl . Invoke ( ( MyDedicatedServerBase ) MyMultiplayer . Static , steamId , isPasswordValidated ) ;
368368 base . RaiseClientJoined ( steamId ) ;
369369 }
370370
0 commit comments