Example #1
0
    public void RegisterCallback(int int_2, int int_3, Delegate0 delegate0_0, object object_0)
    {
        string  str    = this.method_1(int_2, int_3);
        Class74 class2 = new Class74(str, delegate0_0, object_0);

        this.safeDictionary_0.Add(str, class2);
    }
Example #2
0
 // Token: 0x06002F77 RID: 12151
 // RVA: 0x00133A20 File Offset: 0x00131C20
 internal void method_1(Delegate0 delegate0_1)
 {
     Delegate0 delegate = this.delegate0_0;
     Delegate0 delegate2;
     do
     {
         delegate2 = delegate;
         Delegate0 value = (Delegate0)Delegate.Combine(delegate2, delegate0_1);
         delegate = Interlocked.CompareExchange<Delegate0>(ref this.delegate0_0, value, delegate2);
     }
     while (delegate != delegate2);
 }
        static void ExecuteActionOnSelectedScenes(Delegate0 Action)
        {
            string InitialScene = Editor_GetCurrentScene();

            if (mSelectedScenes.Count <= 0)
            {
                mSelectedScenes.Add(InitialScene);
            }

            bool HasSaved = false;

            foreach (string ScenePath in mSelectedScenes)
            {
                if (ScenePath != Editor_GetCurrentScene())
                {
                    if (!HasSaved)                      // Saving the initial scene to avoid loosing changes
                    {
                        Editor_SaveScene();
                        HasSaved = true;
                    }
                    Editor_OpenScene(ScenePath);
                }

                Action();
            }

            if (InitialScene != Editor_GetCurrentScene())
            {
                Editor_OpenScene(InitialScene);
            }

            if (mLanguageSource != null)
            {
                Selection.activeObject = mLanguageSource.ownerObject;
            }
        }
Example #4
0
 public Class74(string string_1, Delegate0 delegate0_1, object object_1)
 {
     this.string_0    = string_1;
     this.delegate0_0 = delegate0_1;
     this.object_0    = object_1;
 }
Example #5
0
 public Main()
 {
     this.InitializeComponent();
     this.delegate0_0 = new Delegate0(this.method_22);
 }
Example #6
0
 // Methods
 internal Class17(string string_1, BigEndianReader dofusReader_0)
 {
     this.string_0 = string_1;
     int num = dofusReader_0.ReadInt();
     this.delegate0_0 = this.method_0(num, dofusReader_0);
 }
Example #7
0
 [DllImport(dll_name, CallingConvention = CallingConvention.Cdecl)] public static extern void flex_item_set_self_sizing(IntPtr arg1, Delegate0 arg2);
 public void setCancelCom0(Delegate0 delegate0_0)
 {
     this.OnFirmwareUpdateProgress = (Delegate0)Delegate.Remove(this.OnFirmwareUpdateProgress, delegate0_0);
 }
 public void method_9(Delegate0 delegate0_0)
 {
     this.OnFirmwareUpdateProgress = (Delegate0)Delegate.Combine(this.OnFirmwareUpdateProgress, delegate0_0);
 }
Example #10
0
 internal static extern int EnumFontFamilies(
     IntPtr hdc,
     [MarshalAs(UnmanagedType.LPTStr)] string lpszFamily,
     Delegate0 lpEnumFontFamProc,
     int lParam);
Example #11
0
 public static extern bool SendMessage_2(IntPtr intptr_0, int int_20, short short_0, Delegate0 delegate0_0);
Example #12
0
 public void imethod_4(IMessageHandler interface37_0, int int_0, Delegate0 delegate0_0, object object_0)
 {
     this.interface13_0.RegisterCallback(int_0, interface37_0.Header.MessageID, delegate0_0, object_0);
     this.interface36_0.SendMessage(interface37_0, true, true, ActionTypeOnChannelIsBusy.Continue);
 }