Esempio n. 1
0
 public static void OnSettingStatusChanged(CollabSettingType type, CollabSettingStatus status)
 {
     if (Collab.InitializeSoftlocksViewController())
     {
         Dictionary <CollabSettingType, CollabSettingsManager.SettingStatusChanged> statusNotifier;
         Dictionary <CollabSettingType, CollabSettingsManager.SettingStatusChanged> expr_11 = statusNotifier = CollabSettingsManager.statusNotifier;
         CollabSettingType arg_42_1 = CollabSettingType.InProgressEnabled;
         Delegate          arg_38_0 = statusNotifier[CollabSettingType.InProgressEnabled];
         if (Collab.< > f__mg$cache3 == null)
         {
             Collab.< > f__mg$cache3 = new CollabSettingsManager.SettingStatusChanged(Collab.OnSettingStatusChanged);
         }
         expr_11[arg_42_1] = (CollabSettingsManager.SettingStatusChanged)Delegate.Remove(arg_38_0, Collab.< > f__mg$cache3);
         (statusNotifier = CollabSettingsManager.statusNotifier)[CollabSettingType.InProgressEnabled] = (CollabSettingsManager.SettingStatusChanged)Delegate.Combine(statusNotifier[CollabSettingType.InProgressEnabled], new CollabSettingsManager.SettingStatusChanged(SoftlockViewController.Instance.softLockFilters.OnSettingStatusChanged));
     }
 }
Esempio n. 2
0
 static Collab()
 {
     Collab.s_IsFirstStateChange = true;
     Collab.clientType           = new string[]
     {
         "Cloud Server",
         "Mock Server"
     };
     Collab.editorPrefCollabClientType = "CollabConfig_Client";
     Collab.s_Instance = new Collab();
     Collab.s_Instance.projectBrowserSingleSelectionPath     = string.Empty;
     Collab.s_Instance.projectBrowserSingleMetaSelectionPath = string.Empty;
     JSProxyMgr.GetInstance().AddGlobalObject("unity/collab", Collab.s_Instance);
     if (Collab.< > f__mg$cache0 == null)
     {
         Collab.< > f__mg$cache0 = new ObjectListArea.OnAssetIconDrawDelegate(CollabProjectHook.OnProjectWindowIconOverlay);
     }
     ObjectListArea.postAssetIconDrawCallback += Collab.< > f__mg$cache0;
     if (Collab.< > f__mg$cache1 == null)
     {
         Collab.< > f__mg$cache1 = new AssetsTreeViewGUI.OnAssetIconDrawDelegate(CollabProjectHook.OnProjectBrowserNavPanelIconOverlay);
     }
     AssetsTreeViewGUI.postAssetIconDrawCallback += Collab.< > f__mg$cache1;
     if (!Collab.InitializeSoftlocksViewController())
     {
         Dictionary <CollabSettingType, CollabSettingsManager.SettingStatusChanged> statusNotifier;
         Dictionary <CollabSettingType, CollabSettingsManager.SettingStatusChanged> expr_BC = statusNotifier = CollabSettingsManager.statusNotifier;
         CollabSettingType arg_ED_1 = CollabSettingType.InProgressEnabled;
         Delegate          arg_E3_0 = statusNotifier[CollabSettingType.InProgressEnabled];
         if (Collab.< > f__mg$cache2 == null)
         {
             Collab.< > f__mg$cache2 = new CollabSettingsManager.SettingStatusChanged(Collab.OnSettingStatusChanged);
         }
         expr_BC[arg_ED_1] = (CollabSettingsManager.SettingStatusChanged)Delegate.Combine(arg_E3_0, Collab.< > f__mg$cache2);
     }
 }
Esempio n. 3
0
 public static void OnSettingStatusChanged(CollabSettingType type, CollabSettingStatus status)
 {
     Collab.InitializeSoftlocksViewController();
 }