public static void Create(Action <INearbyConnectionClient> callback)
 {
     if (NativeNearbyConnectionClientFactory.sManager == null)
     {
         NativeNearbyConnectionClientFactory.sCreationCallback = callback;
         NativeNearbyConnectionClientFactory.InitializeFactory();
     }
     else
     {
         callback((INearbyConnectionClient) new NativeNearbyConnectionsClient(NativeNearbyConnectionClientFactory.GetManager()));
     }
 }
 internal static void OnManagerInitialized(NearbyConnectionsStatus.InitializationStatus status)
 {
     Debug.Log((object)("Nearby Init Complete: " + (object)status + " sManager = " + (object)NativeNearbyConnectionClientFactory.sManager));
     if (status == NearbyConnectionsStatus.InitializationStatus.VALID)
     {
         if (NativeNearbyConnectionClientFactory.sCreationCallback == null)
         {
             return;
         }
         NativeNearbyConnectionClientFactory.sCreationCallback((INearbyConnectionClient) new NativeNearbyConnectionsClient(NativeNearbyConnectionClientFactory.GetManager()));
         NativeNearbyConnectionClientFactory.sCreationCallback = (Action <INearbyConnectionClient>)null;
     }
     else
     {
         Debug.LogError((object)("ERROR: NearbyConnectionManager not initialized: " + (object)status));
     }
 }