Fix the last(?) bunch of errors
It *should* compile now. Most errors were related to "incorrectly" decompiled events, which I fixed by hand. Some were caused by ILSpy forgetting to cast values and other things, though.
This commit is contained in:
parent
c2a22d6d30
commit
33f9b61bef
134 changed files with 273 additions and 7745 deletions
|
@ -1,43 +1,13 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
[AddComponentMenu("FingerGestures/Finger Events/Finger Down Detector")]
|
[AddComponentMenu("FingerGestures/Finger Events/Finger Down Detector")]
|
||||||
public class FingerDownDetector : FingerEventDetector<FingerDownEvent>
|
public class FingerDownDetector : FingerEventDetector<FingerDownEvent>
|
||||||
{
|
{
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private FingerEventHandler m_OnFingerDown;
|
|
||||||
|
|
||||||
public string MessageName = "OnFingerDown";
|
public string MessageName = "OnFingerDown";
|
||||||
|
|
||||||
public event FingerEventHandler OnFingerDown
|
public event FingerEventHandler OnFingerDown;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
FingerEventHandler fingerEventHandler = this.m_OnFingerDown;
|
|
||||||
FingerEventHandler fingerEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
fingerEventHandler2 = fingerEventHandler;
|
|
||||||
fingerEventHandler = Interlocked.CompareExchange(ref this.m_OnFingerDown, (FingerEventHandler)Delegate.Combine(fingerEventHandler2, value), fingerEventHandler);
|
|
||||||
}
|
|
||||||
while (fingerEventHandler != fingerEventHandler2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
FingerEventHandler fingerEventHandler = this.m_OnFingerDown;
|
|
||||||
FingerEventHandler fingerEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
fingerEventHandler2 = fingerEventHandler;
|
|
||||||
fingerEventHandler = Interlocked.CompareExchange(ref this.m_OnFingerDown, (FingerEventHandler)Delegate.Remove(fingerEventHandler2, value), fingerEventHandler);
|
|
||||||
}
|
|
||||||
while (fingerEventHandler != fingerEventHandler2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void ProcessFinger(FingerGestures.Finger finger)
|
protected override void ProcessFinger(FingerGestures.Finger finger)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
@ -544,18 +542,6 @@ public class FingerGestures : MonoBehaviour
|
||||||
RuntimePlatform.WP8Player
|
RuntimePlatform.WP8Player
|
||||||
};
|
};
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private static Gesture.EventHandler m_OnGestureEvent;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private static FingerEventDetector<FingerEvent>.FingerEventHandler m_OnFingerEvent;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private static EventHandler m_OnInputProviderChanged;
|
|
||||||
|
|
||||||
public bool makePersistent = true;
|
public bool makePersistent = true;
|
||||||
|
|
||||||
public bool detectUnityRemote = true;
|
public bool detectUnityRemote = true;
|
||||||
|
@ -680,83 +666,11 @@ public class FingerGestures : MonoBehaviour
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static event Gesture.EventHandler OnGestureEvent
|
public static event Gesture.EventHandler OnGestureEvent;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
Gesture.EventHandler eventHandler = FingerGestures.m_OnGestureEvent;
|
|
||||||
Gesture.EventHandler eventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
eventHandler2 = eventHandler;
|
|
||||||
eventHandler = Interlocked.CompareExchange(ref FingerGestures.m_OnGestureEvent, (Gesture.EventHandler)Delegate.Combine(eventHandler2, value), eventHandler);
|
|
||||||
}
|
|
||||||
while (eventHandler != eventHandler2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
Gesture.EventHandler eventHandler = FingerGestures.m_OnGestureEvent;
|
|
||||||
Gesture.EventHandler eventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
eventHandler2 = eventHandler;
|
|
||||||
eventHandler = Interlocked.CompareExchange(ref FingerGestures.m_OnGestureEvent, (Gesture.EventHandler)Delegate.Remove(eventHandler2, value), eventHandler);
|
|
||||||
}
|
|
||||||
while (eventHandler != eventHandler2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static event FingerEventDetector<FingerEvent>.FingerEventHandler OnFingerEvent
|
public static event FingerEventDetector<FingerEvent>.FingerEventHandler OnFingerEvent;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
FingerEventDetector<FingerEvent>.FingerEventHandler fingerEventHandler = FingerGestures.m_OnFingerEvent;
|
|
||||||
FingerEventDetector<FingerEvent>.FingerEventHandler fingerEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
fingerEventHandler2 = fingerEventHandler;
|
|
||||||
fingerEventHandler = Interlocked.CompareExchange(ref FingerGestures.m_OnFingerEvent, (FingerEventDetector<FingerEvent>.FingerEventHandler)Delegate.Combine(fingerEventHandler2, value), fingerEventHandler);
|
|
||||||
}
|
|
||||||
while (fingerEventHandler != fingerEventHandler2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
FingerEventDetector<FingerEvent>.FingerEventHandler fingerEventHandler = FingerGestures.m_OnFingerEvent;
|
|
||||||
FingerEventDetector<FingerEvent>.FingerEventHandler fingerEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
fingerEventHandler2 = fingerEventHandler;
|
|
||||||
fingerEventHandler = Interlocked.CompareExchange(ref FingerGestures.m_OnFingerEvent, (FingerEventDetector<FingerEvent>.FingerEventHandler)Delegate.Remove(fingerEventHandler2, value), fingerEventHandler);
|
|
||||||
}
|
|
||||||
while (fingerEventHandler != fingerEventHandler2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static event EventHandler OnInputProviderChanged
|
public static event EventHandler OnInputProviderChanged;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
EventHandler eventHandler = FingerGestures.m_OnInputProviderChanged;
|
|
||||||
EventHandler eventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
eventHandler2 = eventHandler;
|
|
||||||
eventHandler = Interlocked.CompareExchange(ref FingerGestures.m_OnInputProviderChanged, (EventHandler)Delegate.Combine(eventHandler2, value), eventHandler);
|
|
||||||
}
|
|
||||||
while (eventHandler != eventHandler2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
EventHandler eventHandler = FingerGestures.m_OnInputProviderChanged;
|
|
||||||
EventHandler eventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
eventHandler2 = eventHandler;
|
|
||||||
eventHandler = Interlocked.CompareExchange(ref FingerGestures.m_OnInputProviderChanged, (EventHandler)Delegate.Remove(eventHandler2, value), eventHandler);
|
|
||||||
}
|
|
||||||
while (eventHandler != eventHandler2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
internal static void FireEvent(Gesture gesture)
|
internal static void FireEvent(Gesture gesture)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,43 +1,13 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
[AddComponentMenu("FingerGestures/Finger Events/Finger Hover Detector")]
|
[AddComponentMenu("FingerGestures/Finger Events/Finger Hover Detector")]
|
||||||
public class FingerHoverDetector : FingerEventDetector<FingerHoverEvent>
|
public class FingerHoverDetector : FingerEventDetector<FingerHoverEvent>
|
||||||
{
|
{
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private FingerEventHandler m_OnFingerHover;
|
|
||||||
|
|
||||||
public string MessageName = "OnFingerHover";
|
public string MessageName = "OnFingerHover";
|
||||||
|
|
||||||
public event FingerEventHandler OnFingerHover
|
public event FingerEventHandler OnFingerHover;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
FingerEventHandler fingerEventHandler = this.m_OnFingerHover;
|
|
||||||
FingerEventHandler fingerEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
fingerEventHandler2 = fingerEventHandler;
|
|
||||||
fingerEventHandler = Interlocked.CompareExchange(ref this.m_OnFingerHover, (FingerEventHandler)Delegate.Combine(fingerEventHandler2, value), fingerEventHandler);
|
|
||||||
}
|
|
||||||
while (fingerEventHandler != fingerEventHandler2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
FingerEventHandler fingerEventHandler = this.m_OnFingerHover;
|
|
||||||
FingerEventHandler fingerEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
fingerEventHandler2 = fingerEventHandler;
|
|
||||||
fingerEventHandler = Interlocked.CompareExchange(ref this.m_OnFingerHover, (FingerEventHandler)Delegate.Remove(fingerEventHandler2, value), fingerEventHandler);
|
|
||||||
}
|
|
||||||
while (fingerEventHandler != fingerEventHandler2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void Start()
|
protected override void Start()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
@ -13,14 +11,6 @@ public class FingerMotionDetector : FingerEventDetector<FingerMotionEvent>
|
||||||
Stationary = 1
|
Stationary = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private FingerEventHandler m_OnFingerMove;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private FingerEventHandler m_OnFingerStationary;
|
|
||||||
|
|
||||||
public string MoveMessageName = "OnFingerMove";
|
public string MoveMessageName = "OnFingerMove";
|
||||||
|
|
||||||
public string StationaryMessageName = "OnFingerStationary";
|
public string StationaryMessageName = "OnFingerStationary";
|
||||||
|
@ -29,57 +19,9 @@ public class FingerMotionDetector : FingerEventDetector<FingerMotionEvent>
|
||||||
|
|
||||||
public bool TrackStationary = true;
|
public bool TrackStationary = true;
|
||||||
|
|
||||||
public event FingerEventHandler OnFingerMove
|
public event FingerEventHandler OnFingerMove;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
FingerEventHandler fingerEventHandler = this.m_OnFingerMove;
|
|
||||||
FingerEventHandler fingerEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
fingerEventHandler2 = fingerEventHandler;
|
|
||||||
fingerEventHandler = Interlocked.CompareExchange(ref this.m_OnFingerMove, (FingerEventHandler)Delegate.Combine(fingerEventHandler2, value), fingerEventHandler);
|
|
||||||
}
|
|
||||||
while (fingerEventHandler != fingerEventHandler2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
FingerEventHandler fingerEventHandler = this.m_OnFingerMove;
|
|
||||||
FingerEventHandler fingerEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
fingerEventHandler2 = fingerEventHandler;
|
|
||||||
fingerEventHandler = Interlocked.CompareExchange(ref this.m_OnFingerMove, (FingerEventHandler)Delegate.Remove(fingerEventHandler2, value), fingerEventHandler);
|
|
||||||
}
|
|
||||||
while (fingerEventHandler != fingerEventHandler2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event FingerEventHandler OnFingerStationary
|
public event FingerEventHandler OnFingerStationary;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
FingerEventHandler fingerEventHandler = this.m_OnFingerStationary;
|
|
||||||
FingerEventHandler fingerEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
fingerEventHandler2 = fingerEventHandler;
|
|
||||||
fingerEventHandler = Interlocked.CompareExchange(ref this.m_OnFingerStationary, (FingerEventHandler)Delegate.Combine(fingerEventHandler2, value), fingerEventHandler);
|
|
||||||
}
|
|
||||||
while (fingerEventHandler != fingerEventHandler2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
FingerEventHandler fingerEventHandler = this.m_OnFingerStationary;
|
|
||||||
FingerEventHandler fingerEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
fingerEventHandler2 = fingerEventHandler;
|
|
||||||
fingerEventHandler = Interlocked.CompareExchange(ref this.m_OnFingerStationary, (FingerEventHandler)Delegate.Remove(fingerEventHandler2, value), fingerEventHandler);
|
|
||||||
}
|
|
||||||
while (fingerEventHandler != fingerEventHandler2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private bool FireEvent(FingerMotionEvent e, EventType eventType, FingerMotionPhase phase, Vector2 position, bool updateSelection)
|
private bool FireEvent(FingerMotionEvent e, EventType eventType, FingerMotionPhase phase, Vector2 position, bool updateSelection)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,43 +1,13 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
[AddComponentMenu("FingerGestures/Finger Events/Finger Up Detector")]
|
[AddComponentMenu("FingerGestures/Finger Events/Finger Up Detector")]
|
||||||
public class FingerUpDetector : FingerEventDetector<FingerUpEvent>
|
public class FingerUpDetector : FingerEventDetector<FingerUpEvent>
|
||||||
{
|
{
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private FingerEventHandler m_OnFingerUp;
|
|
||||||
|
|
||||||
public string MessageName = "OnFingerUp";
|
public string MessageName = "OnFingerUp";
|
||||||
|
|
||||||
public event FingerEventHandler OnFingerUp
|
public event FingerEventHandler OnFingerUp;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
FingerEventHandler fingerEventHandler = this.m_OnFingerUp;
|
|
||||||
FingerEventHandler fingerEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
fingerEventHandler2 = fingerEventHandler;
|
|
||||||
fingerEventHandler = Interlocked.CompareExchange(ref this.m_OnFingerUp, (FingerEventHandler)Delegate.Combine(fingerEventHandler2, value), fingerEventHandler);
|
|
||||||
}
|
|
||||||
while (fingerEventHandler != fingerEventHandler2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
FingerEventHandler fingerEventHandler = this.m_OnFingerUp;
|
|
||||||
FingerEventHandler fingerEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
fingerEventHandler2 = fingerEventHandler;
|
|
||||||
fingerEventHandler = Interlocked.CompareExchange(ref this.m_OnFingerUp, (FingerEventHandler)Delegate.Remove(fingerEventHandler2, value), fingerEventHandler);
|
|
||||||
}
|
|
||||||
while (fingerEventHandler != fingerEventHandler2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void ProcessFinger(FingerGestures.Finger finger)
|
protected override void ProcessFinger(FingerGestures.Finger finger)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
@ -8,10 +6,6 @@ public abstract class Gesture
|
||||||
{
|
{
|
||||||
public delegate void EventHandler(Gesture gesture);
|
public delegate void EventHandler(Gesture gesture);
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private EventHandler m_OnStateChanged;
|
|
||||||
|
|
||||||
internal int ClusterId;
|
internal int ClusterId;
|
||||||
|
|
||||||
private GestureRecognizer recognizer;
|
private GestureRecognizer recognizer;
|
||||||
|
@ -166,31 +160,7 @@ public abstract class Gesture
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event EventHandler OnStateChanged
|
public event EventHandler OnStateChanged;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
EventHandler eventHandler = this.m_OnStateChanged;
|
|
||||||
EventHandler eventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
eventHandler2 = eventHandler;
|
|
||||||
eventHandler = Interlocked.CompareExchange(ref this.m_OnStateChanged, (EventHandler)Delegate.Combine(eventHandler2, value), eventHandler);
|
|
||||||
}
|
|
||||||
while (eventHandler != eventHandler2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
EventHandler eventHandler = this.m_OnStateChanged;
|
|
||||||
EventHandler eventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
eventHandler2 = eventHandler;
|
|
||||||
eventHandler = Interlocked.CompareExchange(ref this.m_OnStateChanged, (EventHandler)Delegate.Remove(eventHandler2, value), eventHandler);
|
|
||||||
}
|
|
||||||
while (eventHandler != eventHandler2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static implicit operator bool(Gesture gesture)
|
public static implicit operator bool(Gesture gesture)
|
||||||
{
|
{
|
||||||
|
|
|
@ -19,31 +19,7 @@ public abstract class GestureRecognizerTS<T> : GestureRecognizer where T : Gestu
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event GestureEventHandler OnGesture
|
public event GestureEventHandler OnGesture;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
GestureEventHandler gestureEventHandler = this.OnGesture;
|
|
||||||
GestureEventHandler gestureEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
gestureEventHandler2 = gestureEventHandler;
|
|
||||||
gestureEventHandler = Interlocked.CompareExchange(ref this.OnGesture, (GestureEventHandler)System.Delegate.Combine(gestureEventHandler2, value), gestureEventHandler);
|
|
||||||
}
|
|
||||||
while (gestureEventHandler != gestureEventHandler2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
GestureEventHandler gestureEventHandler = this.OnGesture;
|
|
||||||
GestureEventHandler gestureEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
gestureEventHandler2 = gestureEventHandler;
|
|
||||||
gestureEventHandler = Interlocked.CompareExchange(ref this.OnGesture, (GestureEventHandler)System.Delegate.Remove(gestureEventHandler2, value), gestureEventHandler);
|
|
||||||
}
|
|
||||||
while (gestureEventHandler != gestureEventHandler2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void Start()
|
protected override void Start()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
@ -189,22 +187,6 @@ namespace HTTP
|
||||||
|
|
||||||
private const int PAYLOAD_WITH_EIGHT_BYTE_EXTENDED_FIELD = 127;
|
private const int PAYLOAD_WITH_EIGHT_BYTE_EXTENDED_FIELD = 127;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private Action m_OnConnect;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private Action m_OnDisconnect;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private OnTextMessageHandler m_OnTextMessageRecv;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private OnBinaryMessageHandler m_OnBinaryMessageRecv;
|
|
||||||
|
|
||||||
public Exception exception;
|
public Exception exception;
|
||||||
|
|
||||||
public bool isDone;
|
public bool isDone;
|
||||||
|
@ -241,109 +223,13 @@ namespace HTTP
|
||||||
|
|
||||||
private UTF8Encoding enc = new UTF8Encoding();
|
private UTF8Encoding enc = new UTF8Encoding();
|
||||||
|
|
||||||
public event Action OnConnect
|
public event Action OnConnect;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
Action action = this.m_OnConnect;
|
|
||||||
Action action2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
action2 = action;
|
|
||||||
action = Interlocked.CompareExchange(ref this.m_OnConnect, (Action)Delegate.Combine(action2, value), action);
|
|
||||||
}
|
|
||||||
while (action != action2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
Action action = this.m_OnConnect;
|
|
||||||
Action action2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
action2 = action;
|
|
||||||
action = Interlocked.CompareExchange(ref this.m_OnConnect, (Action)Delegate.Remove(action2, value), action);
|
|
||||||
}
|
|
||||||
while (action != action2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event Action OnDisconnect
|
public event Action OnDisconnect;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
Action action = this.m_OnDisconnect;
|
|
||||||
Action action2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
action2 = action;
|
|
||||||
action = Interlocked.CompareExchange(ref this.m_OnDisconnect, (Action)Delegate.Combine(action2, value), action);
|
|
||||||
}
|
|
||||||
while (action != action2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
Action action = this.m_OnDisconnect;
|
|
||||||
Action action2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
action2 = action;
|
|
||||||
action = Interlocked.CompareExchange(ref this.m_OnDisconnect, (Action)Delegate.Remove(action2, value), action);
|
|
||||||
}
|
|
||||||
while (action != action2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event OnTextMessageHandler OnTextMessageRecv
|
public event OnTextMessageHandler OnTextMessageRecv;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
OnTextMessageHandler onTextMessageHandler = this.m_OnTextMessageRecv;
|
|
||||||
OnTextMessageHandler onTextMessageHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onTextMessageHandler2 = onTextMessageHandler;
|
|
||||||
onTextMessageHandler = Interlocked.CompareExchange(ref this.m_OnTextMessageRecv, (OnTextMessageHandler)Delegate.Combine(onTextMessageHandler2, value), onTextMessageHandler);
|
|
||||||
}
|
|
||||||
while (onTextMessageHandler != onTextMessageHandler2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
OnTextMessageHandler onTextMessageHandler = this.m_OnTextMessageRecv;
|
|
||||||
OnTextMessageHandler onTextMessageHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onTextMessageHandler2 = onTextMessageHandler;
|
|
||||||
onTextMessageHandler = Interlocked.CompareExchange(ref this.m_OnTextMessageRecv, (OnTextMessageHandler)Delegate.Remove(onTextMessageHandler2, value), onTextMessageHandler);
|
|
||||||
}
|
|
||||||
while (onTextMessageHandler != onTextMessageHandler2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event OnBinaryMessageHandler OnBinaryMessageRecv
|
public event OnBinaryMessageHandler OnBinaryMessageRecv;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
OnBinaryMessageHandler onBinaryMessageHandler = this.m_OnBinaryMessageRecv;
|
|
||||||
OnBinaryMessageHandler onBinaryMessageHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onBinaryMessageHandler2 = onBinaryMessageHandler;
|
|
||||||
onBinaryMessageHandler = Interlocked.CompareExchange(ref this.m_OnBinaryMessageRecv, (OnBinaryMessageHandler)Delegate.Combine(onBinaryMessageHandler2, value), onBinaryMessageHandler);
|
|
||||||
}
|
|
||||||
while (onBinaryMessageHandler != onBinaryMessageHandler2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
OnBinaryMessageHandler onBinaryMessageHandler = this.m_OnBinaryMessageRecv;
|
|
||||||
OnBinaryMessageHandler onBinaryMessageHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onBinaryMessageHandler2 = onBinaryMessageHandler;
|
|
||||||
onBinaryMessageHandler = Interlocked.CompareExchange(ref this.m_OnBinaryMessageRecv, (OnBinaryMessageHandler)Delegate.Remove(onBinaryMessageHandler2, value), onBinaryMessageHandler);
|
|
||||||
}
|
|
||||||
while (onBinaryMessageHandler != onBinaryMessageHandler2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void OnTextMessage(string msg)
|
private void OnTextMessage(string msg)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
@ -22,35 +20,7 @@ public class TBPan : MonoBehaviour
|
||||||
|
|
||||||
private DragGesture dragGesture;
|
private DragGesture dragGesture;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event PanEventHandler OnPan;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private PanEventHandler m_OnPan;
|
|
||||||
|
|
||||||
public event PanEventHandler OnPan
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
PanEventHandler panEventHandler = this.m_OnPan;
|
|
||||||
PanEventHandler panEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
panEventHandler2 = panEventHandler;
|
|
||||||
panEventHandler = Interlocked.CompareExchange(ref this.m_OnPan, (PanEventHandler)Delegate.Combine(panEventHandler2, value), panEventHandler);
|
|
||||||
}
|
|
||||||
while (panEventHandler != panEventHandler2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
PanEventHandler panEventHandler = this.m_OnPan;
|
|
||||||
PanEventHandler panEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
panEventHandler2 = panEventHandler;
|
|
||||||
panEventHandler = Interlocked.CompareExchange(ref this.m_OnPan, (PanEventHandler)Delegate.Remove(panEventHandler2, value), panEventHandler);
|
|
||||||
}
|
|
||||||
while (panEventHandler != panEventHandler2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
|
||||||
public class AnimationParserJob : ThreadedJob
|
public class AnimationParserJob : ThreadedJob
|
||||||
|
@ -13,35 +11,7 @@ public class AnimationParserJob : ThreadedJob
|
||||||
|
|
||||||
public BloxelAnimation animation;
|
public BloxelAnimation animation;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleParseComplete OnComplete;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleParseComplete m_OnComplete;
|
|
||||||
|
|
||||||
public event HandleParseComplete OnComplete
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Combine(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Remove(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void ThreadFunction()
|
protected override void ThreadFunction()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -41,125 +39,13 @@ public class AnimationTimeline : UIMoveable
|
||||||
|
|
||||||
public BloxelAnimation currentBloxelAnimation;
|
public BloxelAnimation currentBloxelAnimation;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleFrameChange OnFrameChange;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleFrameChange m_OnFrameChange;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleAnimationEdit OnAnimationEdit;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleAnimationEdit m_OnAnimationEdit;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleAddFrameAfter OnAddFrameAfter;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleAddFrameAfter m_OnAddFrameAfter;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleAddFrameBefore OnAddFrameBefore;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleAddFrameBefore m_OnAddFrameBefore;
|
|
||||||
|
|
||||||
public event HandleFrameChange OnFrameChange
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleFrameChange handleFrameChange = this.m_OnFrameChange;
|
|
||||||
HandleFrameChange handleFrameChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleFrameChange2 = handleFrameChange;
|
|
||||||
handleFrameChange = Interlocked.CompareExchange(ref this.m_OnFrameChange, (HandleFrameChange)Delegate.Combine(handleFrameChange2, value), handleFrameChange);
|
|
||||||
}
|
|
||||||
while (handleFrameChange != handleFrameChange2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleFrameChange handleFrameChange = this.m_OnFrameChange;
|
|
||||||
HandleFrameChange handleFrameChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleFrameChange2 = handleFrameChange;
|
|
||||||
handleFrameChange = Interlocked.CompareExchange(ref this.m_OnFrameChange, (HandleFrameChange)Delegate.Remove(handleFrameChange2, value), handleFrameChange);
|
|
||||||
}
|
|
||||||
while (handleFrameChange != handleFrameChange2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleAnimationEdit OnAnimationEdit
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleAnimationEdit handleAnimationEdit = this.m_OnAnimationEdit;
|
|
||||||
HandleAnimationEdit handleAnimationEdit2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleAnimationEdit2 = handleAnimationEdit;
|
|
||||||
handleAnimationEdit = Interlocked.CompareExchange(ref this.m_OnAnimationEdit, (HandleAnimationEdit)Delegate.Combine(handleAnimationEdit2, value), handleAnimationEdit);
|
|
||||||
}
|
|
||||||
while (handleAnimationEdit != handleAnimationEdit2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleAnimationEdit handleAnimationEdit = this.m_OnAnimationEdit;
|
|
||||||
HandleAnimationEdit handleAnimationEdit2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleAnimationEdit2 = handleAnimationEdit;
|
|
||||||
handleAnimationEdit = Interlocked.CompareExchange(ref this.m_OnAnimationEdit, (HandleAnimationEdit)Delegate.Remove(handleAnimationEdit2, value), handleAnimationEdit);
|
|
||||||
}
|
|
||||||
while (handleAnimationEdit != handleAnimationEdit2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleAddFrameAfter OnAddFrameAfter
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleAddFrameAfter handleAddFrameAfter = this.m_OnAddFrameAfter;
|
|
||||||
HandleAddFrameAfter handleAddFrameAfter2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleAddFrameAfter2 = handleAddFrameAfter;
|
|
||||||
handleAddFrameAfter = Interlocked.CompareExchange(ref this.m_OnAddFrameAfter, (HandleAddFrameAfter)Delegate.Combine(handleAddFrameAfter2, value), handleAddFrameAfter);
|
|
||||||
}
|
|
||||||
while (handleAddFrameAfter != handleAddFrameAfter2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleAddFrameAfter handleAddFrameAfter = this.m_OnAddFrameAfter;
|
|
||||||
HandleAddFrameAfter handleAddFrameAfter2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleAddFrameAfter2 = handleAddFrameAfter;
|
|
||||||
handleAddFrameAfter = Interlocked.CompareExchange(ref this.m_OnAddFrameAfter, (HandleAddFrameAfter)Delegate.Remove(handleAddFrameAfter2, value), handleAddFrameAfter);
|
|
||||||
}
|
|
||||||
while (handleAddFrameAfter != handleAddFrameAfter2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleAddFrameBefore OnAddFrameBefore
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleAddFrameBefore handleAddFrameBefore = this.m_OnAddFrameBefore;
|
|
||||||
HandleAddFrameBefore handleAddFrameBefore2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleAddFrameBefore2 = handleAddFrameBefore;
|
|
||||||
handleAddFrameBefore = Interlocked.CompareExchange(ref this.m_OnAddFrameBefore, (HandleAddFrameBefore)Delegate.Combine(handleAddFrameBefore2, value), handleAddFrameBefore);
|
|
||||||
}
|
|
||||||
while (handleAddFrameBefore != handleAddFrameBefore2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleAddFrameBefore handleAddFrameBefore = this.m_OnAddFrameBefore;
|
|
||||||
HandleAddFrameBefore handleAddFrameBefore2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleAddFrameBefore2 = handleAddFrameBefore;
|
|
||||||
handleAddFrameBefore = Interlocked.CompareExchange(ref this.m_OnAddFrameBefore, (HandleAddFrameBefore)Delegate.Remove(handleAddFrameBefore2, value), handleAddFrameBefore);
|
|
||||||
}
|
|
||||||
while (handleAddFrameBefore != handleAddFrameBefore2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private new void Awake()
|
private new void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
@ -42,14 +40,6 @@ public class AppStateManager : MonoBehaviour
|
||||||
|
|
||||||
public bool attemptedViewerRefresh;
|
public bool attemptedViewerRefresh;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleSceneChange m_OnSceneChange;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleBoardStatus m_OnOwnsBoard;
|
|
||||||
|
|
||||||
public bool userOwnsBoard
|
public bool userOwnsBoard
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -86,57 +76,9 @@ public class AppStateManager : MonoBehaviour
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event HandleSceneChange OnSceneChange
|
public event HandleSceneChange OnSceneChange;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleSceneChange handleSceneChange = this.m_OnSceneChange;
|
|
||||||
HandleSceneChange handleSceneChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleSceneChange2 = handleSceneChange;
|
|
||||||
handleSceneChange = Interlocked.CompareExchange(ref this.m_OnSceneChange, (HandleSceneChange)Delegate.Combine(handleSceneChange2, value), handleSceneChange);
|
|
||||||
}
|
|
||||||
while (handleSceneChange != handleSceneChange2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleSceneChange handleSceneChange = this.m_OnSceneChange;
|
|
||||||
HandleSceneChange handleSceneChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleSceneChange2 = handleSceneChange;
|
|
||||||
handleSceneChange = Interlocked.CompareExchange(ref this.m_OnSceneChange, (HandleSceneChange)Delegate.Remove(handleSceneChange2, value), handleSceneChange);
|
|
||||||
}
|
|
||||||
while (handleSceneChange != handleSceneChange2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleBoardStatus OnOwnsBoard
|
public event HandleBoardStatus OnOwnsBoard;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleBoardStatus handleBoardStatus = this.m_OnOwnsBoard;
|
|
||||||
HandleBoardStatus handleBoardStatus2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBoardStatus2 = handleBoardStatus;
|
|
||||||
handleBoardStatus = Interlocked.CompareExchange(ref this.m_OnOwnsBoard, (HandleBoardStatus)Delegate.Combine(handleBoardStatus2, value), handleBoardStatus);
|
|
||||||
}
|
|
||||||
while (handleBoardStatus != handleBoardStatus2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleBoardStatus handleBoardStatus = this.m_OnOwnsBoard;
|
|
||||||
HandleBoardStatus handleBoardStatus2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBoardStatus2 = handleBoardStatus;
|
|
||||||
handleBoardStatus = Interlocked.CompareExchange(ref this.m_OnOwnsBoard, (HandleBoardStatus)Delegate.Remove(handleBoardStatus2, value), handleBoardStatus);
|
|
||||||
}
|
|
||||||
while (handleBoardStatus != handleBoardStatus2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
@ -221,39 +219,11 @@ public class AssetManager : MonoBehaviour
|
||||||
|
|
||||||
public int boardsLoaded;
|
public int boardsLoaded;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleInit m_OnInit;
|
|
||||||
|
|
||||||
public bool superSimpleManager;
|
public bool superSimpleManager;
|
||||||
|
|
||||||
public static bool SetupComplete = false;
|
public static bool SetupComplete = false;
|
||||||
|
|
||||||
public event HandleInit OnInit
|
public event HandleInit OnInit;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleInit handleInit = this.m_OnInit;
|
|
||||||
HandleInit handleInit2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleInit2 = handleInit;
|
|
||||||
handleInit = Interlocked.CompareExchange(ref this.m_OnInit, (HandleInit)Delegate.Combine(handleInit2, value), handleInit);
|
|
||||||
}
|
|
||||||
while (handleInit != handleInit2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleInit handleInit = this.m_OnInit;
|
|
||||||
HandleInit handleInit2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleInit2 = handleInit;
|
|
||||||
handleInit = Interlocked.CompareExchange(ref this.m_OnInit, (HandleInit)Delegate.Remove(handleInit2, value), handleInit);
|
|
||||||
}
|
|
||||||
while (handleInit != handleInit2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,7 +2,6 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
@ -20,37 +19,9 @@ public class BatchAnimationJob : ThreadedJob
|
||||||
|
|
||||||
public List<string> tags;
|
public List<string> tags;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleParseComplete m_OnComplete;
|
|
||||||
|
|
||||||
public string badAnimationName;
|
public string badAnimationName;
|
||||||
|
|
||||||
public event HandleParseComplete OnComplete
|
public event HandleParseComplete OnComplete;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Combine(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Remove(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void ThreadFunction()
|
protected override void ThreadFunction()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
@ -18,37 +16,9 @@ public class BatchBoardJob : ThreadedJob
|
||||||
|
|
||||||
public List<string> tags;
|
public List<string> tags;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleParseComplete m_OnComplete;
|
|
||||||
|
|
||||||
public string badBoardName;
|
public string badBoardName;
|
||||||
|
|
||||||
public event HandleParseComplete OnComplete
|
public event HandleParseComplete OnComplete;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Combine(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Remove(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void ThreadFunction()
|
protected override void ThreadFunction()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
@ -18,37 +16,9 @@ public class BatchBrainJob : ThreadedJob
|
||||||
|
|
||||||
public List<string> tags;
|
public List<string> tags;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleParseComplete m_OnComplete;
|
|
||||||
|
|
||||||
public string badBrainName;
|
public string badBrainName;
|
||||||
|
|
||||||
public event HandleParseComplete OnComplete
|
public event HandleParseComplete OnComplete;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Combine(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Remove(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void ThreadFunction()
|
protected override void ThreadFunction()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
@ -18,37 +16,9 @@ public class BatchCharacterJob : ThreadedJob
|
||||||
|
|
||||||
public List<string> tags;
|
public List<string> tags;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleParseComplete m_OnComplete;
|
|
||||||
|
|
||||||
public string badCharacterName;
|
public string badCharacterName;
|
||||||
|
|
||||||
public event HandleParseComplete OnComplete
|
public event HandleParseComplete OnComplete;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Combine(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Remove(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void ThreadFunction()
|
protected override void ThreadFunction()
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,7 +2,6 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
@ -18,37 +17,9 @@ public class BatchGameJob : ThreadedJob
|
||||||
|
|
||||||
public List<string> tags;
|
public List<string> tags;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleParseComplete m_OnComplete;
|
|
||||||
|
|
||||||
public string badGameName;
|
public string badGameName;
|
||||||
|
|
||||||
public event HandleParseComplete OnComplete
|
public event HandleParseComplete OnComplete;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Combine(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Remove(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void ThreadFunction()
|
protected override void ThreadFunction()
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,7 +2,6 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
@ -20,37 +19,9 @@ public class BatchLevelJob : ThreadedJob
|
||||||
|
|
||||||
public List<BloxelLevel> borkedLevels;
|
public List<BloxelLevel> borkedLevels;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleParseComplete m_OnComplete;
|
|
||||||
|
|
||||||
public string badLevelName;
|
public string badLevelName;
|
||||||
|
|
||||||
public event HandleParseComplete OnComplete
|
public event HandleParseComplete OnComplete;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Combine(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Remove(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void ThreadFunction()
|
protected override void ThreadFunction()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
@ -18,37 +16,9 @@ public class BatchMegaJob : ThreadedJob
|
||||||
|
|
||||||
public List<string> tags;
|
public List<string> tags;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleParseComplete m_OnComplete;
|
|
||||||
|
|
||||||
public string badMegaBoardName;
|
public string badMegaBoardName;
|
||||||
|
|
||||||
public event HandleParseComplete OnComplete
|
public event HandleParseComplete OnComplete;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Combine(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Remove(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void ThreadFunction()
|
protected override void ThreadFunction()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Security.Cryptography.X509Certificates;
|
using System.Security.Cryptography.X509Certificates;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
@ -40,10 +38,6 @@ namespace BestHTTP
|
||||||
|
|
||||||
private List<Cookie> customCookies;
|
private List<Cookie> customCookies;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private Func<HTTPRequest, X509Certificate, X509Chain, bool> m_CustomCertificationValidator;
|
|
||||||
|
|
||||||
private OnBeforeRedirectionDelegate onBeforeRedirection;
|
private OnBeforeRedirectionDelegate onBeforeRedirection;
|
||||||
|
|
||||||
private OnBeforeHeaderSendDelegate _onBeforeHeaderSend;
|
private OnBeforeHeaderSendDelegate _onBeforeHeaderSend;
|
||||||
|
@ -269,55 +263,11 @@ namespace BestHTTP
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event Func<HTTPRequest, X509Certificate, X509Chain, bool> CustomCertificationValidator
|
public event Func<HTTPRequest, X509Certificate, X509Chain, bool> CustomCertificationValidator;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
Func<HTTPRequest, X509Certificate, X509Chain, bool> func = this.m_CustomCertificationValidator;
|
|
||||||
Func<HTTPRequest, X509Certificate, X509Chain, bool> func2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
func2 = func;
|
|
||||||
func = Interlocked.CompareExchange(ref this.m_CustomCertificationValidator, (Func<HTTPRequest, X509Certificate, X509Chain, bool>)Delegate.Combine(func2, value), func);
|
|
||||||
}
|
|
||||||
while (func != func2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
Func<HTTPRequest, X509Certificate, X509Chain, bool> func = this.m_CustomCertificationValidator;
|
|
||||||
Func<HTTPRequest, X509Certificate, X509Chain, bool> func2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
func2 = func;
|
|
||||||
func = Interlocked.CompareExchange(ref this.m_CustomCertificationValidator, (Func<HTTPRequest, X509Certificate, X509Chain, bool>)Delegate.Remove(func2, value), func);
|
|
||||||
}
|
|
||||||
while (func != func2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event OnBeforeRedirectionDelegate OnBeforeRedirection
|
public event OnBeforeRedirectionDelegate OnBeforeRedirection;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
onBeforeRedirection = (OnBeforeRedirectionDelegate)Delegate.Combine(onBeforeRedirection, value);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
onBeforeRedirection = (OnBeforeRedirectionDelegate)Delegate.Remove(onBeforeRedirection, value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event OnBeforeHeaderSendDelegate OnBeforeHeaderSend
|
public event OnBeforeHeaderSendDelegate OnBeforeHeaderSend;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
_onBeforeHeaderSend = (OnBeforeHeaderSendDelegate)Delegate.Combine(_onBeforeHeaderSend, value);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
_onBeforeHeaderSend = (OnBeforeHeaderSendDelegate)Delegate.Remove(_onBeforeHeaderSend, value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public HTTPRequest(Uri uri)
|
public HTTPRequest(Uri uri)
|
||||||
: this(uri, HTTPMethods.Get, HTTPManager.KeepAliveDefaultValue, HTTPManager.IsCachingDisabled, null)
|
: this(uri, HTTPMethods.Get, HTTPManager.KeepAliveDefaultValue, HTTPManager.IsCachingDisabled, null)
|
||||||
|
|
|
@ -11,30 +11,6 @@ namespace BestHTTP.ServerSentEvents
|
||||||
{
|
{
|
||||||
private States _state;
|
private States _state;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private OnGeneralEventDelegate m_OnOpen;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private OnMessageDelegate m_OnMessage;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private OnErrorDelegate m_OnError;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private OnRetryDelegate m_OnRetry;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private OnGeneralEventDelegate m_OnClosed;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private OnStateChangedDelegate m_OnStateChanged;
|
|
||||||
|
|
||||||
private Dictionary<string, OnEventDelegate> EventTable;
|
private Dictionary<string, OnEventDelegate> EventTable;
|
||||||
|
|
||||||
private byte RetryCount;
|
private byte RetryCount;
|
||||||
|
@ -73,161 +49,17 @@ namespace BestHTTP.ServerSentEvents
|
||||||
|
|
||||||
public HTTPRequest InternalRequest { get; private set; }
|
public HTTPRequest InternalRequest { get; private set; }
|
||||||
|
|
||||||
public event OnGeneralEventDelegate OnOpen
|
public event OnGeneralEventDelegate OnOpen;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
OnGeneralEventDelegate onGeneralEventDelegate = this.m_OnOpen;
|
|
||||||
OnGeneralEventDelegate onGeneralEventDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onGeneralEventDelegate2 = onGeneralEventDelegate;
|
|
||||||
onGeneralEventDelegate = Interlocked.CompareExchange(ref this.m_OnOpen, (OnGeneralEventDelegate)Delegate.Combine(onGeneralEventDelegate2, value), onGeneralEventDelegate);
|
|
||||||
}
|
|
||||||
while (onGeneralEventDelegate != onGeneralEventDelegate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
OnGeneralEventDelegate onGeneralEventDelegate = this.m_OnOpen;
|
|
||||||
OnGeneralEventDelegate onGeneralEventDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onGeneralEventDelegate2 = onGeneralEventDelegate;
|
|
||||||
onGeneralEventDelegate = Interlocked.CompareExchange(ref this.m_OnOpen, (OnGeneralEventDelegate)Delegate.Remove(onGeneralEventDelegate2, value), onGeneralEventDelegate);
|
|
||||||
}
|
|
||||||
while (onGeneralEventDelegate != onGeneralEventDelegate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event OnMessageDelegate OnMessage
|
public event OnMessageDelegate OnMessage;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
OnMessageDelegate onMessageDelegate = this.m_OnMessage;
|
|
||||||
OnMessageDelegate onMessageDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onMessageDelegate2 = onMessageDelegate;
|
|
||||||
onMessageDelegate = Interlocked.CompareExchange(ref this.m_OnMessage, (OnMessageDelegate)Delegate.Combine(onMessageDelegate2, value), onMessageDelegate);
|
|
||||||
}
|
|
||||||
while (onMessageDelegate != onMessageDelegate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
OnMessageDelegate onMessageDelegate = this.m_OnMessage;
|
|
||||||
OnMessageDelegate onMessageDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onMessageDelegate2 = onMessageDelegate;
|
|
||||||
onMessageDelegate = Interlocked.CompareExchange(ref this.m_OnMessage, (OnMessageDelegate)Delegate.Remove(onMessageDelegate2, value), onMessageDelegate);
|
|
||||||
}
|
|
||||||
while (onMessageDelegate != onMessageDelegate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event OnErrorDelegate OnError
|
public event OnErrorDelegate OnError;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
OnErrorDelegate onErrorDelegate = this.m_OnError;
|
|
||||||
OnErrorDelegate onErrorDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onErrorDelegate2 = onErrorDelegate;
|
|
||||||
onErrorDelegate = Interlocked.CompareExchange(ref this.m_OnError, (OnErrorDelegate)Delegate.Combine(onErrorDelegate2, value), onErrorDelegate);
|
|
||||||
}
|
|
||||||
while (onErrorDelegate != onErrorDelegate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
OnErrorDelegate onErrorDelegate = this.m_OnError;
|
|
||||||
OnErrorDelegate onErrorDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onErrorDelegate2 = onErrorDelegate;
|
|
||||||
onErrorDelegate = Interlocked.CompareExchange(ref this.m_OnError, (OnErrorDelegate)Delegate.Remove(onErrorDelegate2, value), onErrorDelegate);
|
|
||||||
}
|
|
||||||
while (onErrorDelegate != onErrorDelegate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event OnRetryDelegate OnRetry
|
public event OnRetryDelegate OnRetry;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
OnRetryDelegate onRetryDelegate = this.m_OnRetry;
|
|
||||||
OnRetryDelegate onRetryDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onRetryDelegate2 = onRetryDelegate;
|
|
||||||
onRetryDelegate = Interlocked.CompareExchange(ref this.m_OnRetry, (OnRetryDelegate)Delegate.Combine(onRetryDelegate2, value), onRetryDelegate);
|
|
||||||
}
|
|
||||||
while (onRetryDelegate != onRetryDelegate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
OnRetryDelegate onRetryDelegate = this.m_OnRetry;
|
|
||||||
OnRetryDelegate onRetryDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onRetryDelegate2 = onRetryDelegate;
|
|
||||||
onRetryDelegate = Interlocked.CompareExchange(ref this.m_OnRetry, (OnRetryDelegate)Delegate.Remove(onRetryDelegate2, value), onRetryDelegate);
|
|
||||||
}
|
|
||||||
while (onRetryDelegate != onRetryDelegate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event OnGeneralEventDelegate OnClosed
|
public event OnGeneralEventDelegate OnClosed;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
OnGeneralEventDelegate onGeneralEventDelegate = this.m_OnClosed;
|
|
||||||
OnGeneralEventDelegate onGeneralEventDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onGeneralEventDelegate2 = onGeneralEventDelegate;
|
|
||||||
onGeneralEventDelegate = Interlocked.CompareExchange(ref this.m_OnClosed, (OnGeneralEventDelegate)Delegate.Combine(onGeneralEventDelegate2, value), onGeneralEventDelegate);
|
|
||||||
}
|
|
||||||
while (onGeneralEventDelegate != onGeneralEventDelegate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
OnGeneralEventDelegate onGeneralEventDelegate = this.m_OnClosed;
|
|
||||||
OnGeneralEventDelegate onGeneralEventDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onGeneralEventDelegate2 = onGeneralEventDelegate;
|
|
||||||
onGeneralEventDelegate = Interlocked.CompareExchange(ref this.m_OnClosed, (OnGeneralEventDelegate)Delegate.Remove(onGeneralEventDelegate2, value), onGeneralEventDelegate);
|
|
||||||
}
|
|
||||||
while (onGeneralEventDelegate != onGeneralEventDelegate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event OnStateChangedDelegate OnStateChanged
|
public event OnStateChangedDelegate OnStateChanged;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
OnStateChangedDelegate onStateChangedDelegate = this.m_OnStateChanged;
|
|
||||||
OnStateChangedDelegate onStateChangedDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onStateChangedDelegate2 = onStateChangedDelegate;
|
|
||||||
onStateChangedDelegate = Interlocked.CompareExchange(ref this.m_OnStateChanged, (OnStateChangedDelegate)Delegate.Combine(onStateChangedDelegate2, value), onStateChangedDelegate);
|
|
||||||
}
|
|
||||||
while (onStateChangedDelegate != onStateChangedDelegate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
OnStateChangedDelegate onStateChangedDelegate = this.m_OnStateChanged;
|
|
||||||
OnStateChangedDelegate onStateChangedDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onStateChangedDelegate2 = onStateChangedDelegate;
|
|
||||||
onStateChangedDelegate = Interlocked.CompareExchange(ref this.m_OnStateChanged, (OnStateChangedDelegate)Delegate.Remove(onStateChangedDelegate2, value), onStateChangedDelegate);
|
|
||||||
}
|
|
||||||
while (onStateChangedDelegate != onStateChangedDelegate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public EventSource(Uri uri)
|
public EventSource(Uri uri)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using BestHTTP.Extensions;
|
using BestHTTP.Extensions;
|
||||||
|
@ -24,34 +22,6 @@ namespace BestHTTP.SignalR
|
||||||
|
|
||||||
private ObservableDictionary<string, string> additionalQueryParams;
|
private ObservableDictionary<string, string> additionalQueryParams;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private OnConnectedDelegate m_OnConnected;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private OnClosedDelegate m_OnClosed;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private OnErrorDelegate m_OnError;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private OnConnectedDelegate m_OnReconnecting;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private OnConnectedDelegate m_OnReconnected;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private OnStateChanged m_OnStateChanged;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private OnNonHubMessageDelegate m_OnNonHubMessage;
|
|
||||||
|
|
||||||
internal object SyncRoot = new object();
|
internal object SyncRoot = new object();
|
||||||
|
|
||||||
private readonly string[] ClientProtocols = new string[3] { "1.3", "1.4", "1.5" };
|
private readonly string[] ClientProtocols = new string[3] { "1.3", "1.4", "1.5" };
|
||||||
|
@ -230,187 +200,19 @@ namespace BestHTTP.SignalR
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event OnConnectedDelegate OnConnected
|
public event OnConnectedDelegate OnConnected;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
OnConnectedDelegate onConnectedDelegate = this.m_OnConnected;
|
|
||||||
OnConnectedDelegate onConnectedDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onConnectedDelegate2 = onConnectedDelegate;
|
|
||||||
onConnectedDelegate = Interlocked.CompareExchange(ref this.m_OnConnected, (OnConnectedDelegate)Delegate.Combine(onConnectedDelegate2, value), onConnectedDelegate);
|
|
||||||
}
|
|
||||||
while (onConnectedDelegate != onConnectedDelegate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
OnConnectedDelegate onConnectedDelegate = this.m_OnConnected;
|
|
||||||
OnConnectedDelegate onConnectedDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onConnectedDelegate2 = onConnectedDelegate;
|
|
||||||
onConnectedDelegate = Interlocked.CompareExchange(ref this.m_OnConnected, (OnConnectedDelegate)Delegate.Remove(onConnectedDelegate2, value), onConnectedDelegate);
|
|
||||||
}
|
|
||||||
while (onConnectedDelegate != onConnectedDelegate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event OnClosedDelegate OnClosed
|
public event OnClosedDelegate OnClosed;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
OnClosedDelegate onClosedDelegate = this.m_OnClosed;
|
|
||||||
OnClosedDelegate onClosedDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onClosedDelegate2 = onClosedDelegate;
|
|
||||||
onClosedDelegate = Interlocked.CompareExchange(ref this.m_OnClosed, (OnClosedDelegate)Delegate.Combine(onClosedDelegate2, value), onClosedDelegate);
|
|
||||||
}
|
|
||||||
while (onClosedDelegate != onClosedDelegate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
OnClosedDelegate onClosedDelegate = this.m_OnClosed;
|
|
||||||
OnClosedDelegate onClosedDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onClosedDelegate2 = onClosedDelegate;
|
|
||||||
onClosedDelegate = Interlocked.CompareExchange(ref this.m_OnClosed, (OnClosedDelegate)Delegate.Remove(onClosedDelegate2, value), onClosedDelegate);
|
|
||||||
}
|
|
||||||
while (onClosedDelegate != onClosedDelegate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event OnErrorDelegate OnError
|
public event OnErrorDelegate OnError;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
OnErrorDelegate onErrorDelegate = this.m_OnError;
|
|
||||||
OnErrorDelegate onErrorDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onErrorDelegate2 = onErrorDelegate;
|
|
||||||
onErrorDelegate = Interlocked.CompareExchange(ref this.m_OnError, (OnErrorDelegate)Delegate.Combine(onErrorDelegate2, value), onErrorDelegate);
|
|
||||||
}
|
|
||||||
while (onErrorDelegate != onErrorDelegate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
OnErrorDelegate onErrorDelegate = this.m_OnError;
|
|
||||||
OnErrorDelegate onErrorDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onErrorDelegate2 = onErrorDelegate;
|
|
||||||
onErrorDelegate = Interlocked.CompareExchange(ref this.m_OnError, (OnErrorDelegate)Delegate.Remove(onErrorDelegate2, value), onErrorDelegate);
|
|
||||||
}
|
|
||||||
while (onErrorDelegate != onErrorDelegate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event OnConnectedDelegate OnReconnecting
|
public event OnConnectedDelegate OnReconnecting;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
OnConnectedDelegate onConnectedDelegate = this.m_OnReconnecting;
|
|
||||||
OnConnectedDelegate onConnectedDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onConnectedDelegate2 = onConnectedDelegate;
|
|
||||||
onConnectedDelegate = Interlocked.CompareExchange(ref this.m_OnReconnecting, (OnConnectedDelegate)Delegate.Combine(onConnectedDelegate2, value), onConnectedDelegate);
|
|
||||||
}
|
|
||||||
while (onConnectedDelegate != onConnectedDelegate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
OnConnectedDelegate onConnectedDelegate = this.m_OnReconnecting;
|
|
||||||
OnConnectedDelegate onConnectedDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onConnectedDelegate2 = onConnectedDelegate;
|
|
||||||
onConnectedDelegate = Interlocked.CompareExchange(ref this.m_OnReconnecting, (OnConnectedDelegate)Delegate.Remove(onConnectedDelegate2, value), onConnectedDelegate);
|
|
||||||
}
|
|
||||||
while (onConnectedDelegate != onConnectedDelegate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event OnConnectedDelegate OnReconnected
|
public event OnConnectedDelegate OnReconnected;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
OnConnectedDelegate onConnectedDelegate = this.m_OnReconnected;
|
|
||||||
OnConnectedDelegate onConnectedDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onConnectedDelegate2 = onConnectedDelegate;
|
|
||||||
onConnectedDelegate = Interlocked.CompareExchange(ref this.m_OnReconnected, (OnConnectedDelegate)Delegate.Combine(onConnectedDelegate2, value), onConnectedDelegate);
|
|
||||||
}
|
|
||||||
while (onConnectedDelegate != onConnectedDelegate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
OnConnectedDelegate onConnectedDelegate = this.m_OnReconnected;
|
|
||||||
OnConnectedDelegate onConnectedDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onConnectedDelegate2 = onConnectedDelegate;
|
|
||||||
onConnectedDelegate = Interlocked.CompareExchange(ref this.m_OnReconnected, (OnConnectedDelegate)Delegate.Remove(onConnectedDelegate2, value), onConnectedDelegate);
|
|
||||||
}
|
|
||||||
while (onConnectedDelegate != onConnectedDelegate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event OnStateChanged OnStateChanged
|
public event OnStateChanged OnStateChanged;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
OnStateChanged onStateChanged = this.m_OnStateChanged;
|
|
||||||
OnStateChanged onStateChanged2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onStateChanged2 = onStateChanged;
|
|
||||||
onStateChanged = Interlocked.CompareExchange(ref this.m_OnStateChanged, (OnStateChanged)Delegate.Combine(onStateChanged2, value), onStateChanged);
|
|
||||||
}
|
|
||||||
while (onStateChanged != onStateChanged2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
OnStateChanged onStateChanged = this.m_OnStateChanged;
|
|
||||||
OnStateChanged onStateChanged2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onStateChanged2 = onStateChanged;
|
|
||||||
onStateChanged = Interlocked.CompareExchange(ref this.m_OnStateChanged, (OnStateChanged)Delegate.Remove(onStateChanged2, value), onStateChanged);
|
|
||||||
}
|
|
||||||
while (onStateChanged != onStateChanged2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event OnNonHubMessageDelegate OnNonHubMessage
|
public event OnNonHubMessageDelegate OnNonHubMessage;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
OnNonHubMessageDelegate onNonHubMessageDelegate = this.m_OnNonHubMessage;
|
|
||||||
OnNonHubMessageDelegate onNonHubMessageDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onNonHubMessageDelegate2 = onNonHubMessageDelegate;
|
|
||||||
onNonHubMessageDelegate = Interlocked.CompareExchange(ref this.m_OnNonHubMessage, (OnNonHubMessageDelegate)Delegate.Combine(onNonHubMessageDelegate2, value), onNonHubMessageDelegate);
|
|
||||||
}
|
|
||||||
while (onNonHubMessageDelegate != onNonHubMessageDelegate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
OnNonHubMessageDelegate onNonHubMessageDelegate = this.m_OnNonHubMessage;
|
|
||||||
OnNonHubMessageDelegate onNonHubMessageDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onNonHubMessageDelegate2 = onNonHubMessageDelegate;
|
|
||||||
onNonHubMessageDelegate = Interlocked.CompareExchange(ref this.m_OnNonHubMessage, (OnNonHubMessageDelegate)Delegate.Remove(onNonHubMessageDelegate2, value), onNonHubMessageDelegate);
|
|
||||||
}
|
|
||||||
while (onNonHubMessageDelegate != onNonHubMessageDelegate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public Connection(Uri uri, params string[] hubNames)
|
public Connection(Uri uri, params string[] hubNames)
|
||||||
: this(uri)
|
: this(uri)
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using BestHTTP.SignalR.Messages;
|
using BestHTTP.SignalR.Messages;
|
||||||
|
@ -12,10 +10,6 @@ namespace BestHTTP.SignalR.Hubs
|
||||||
{
|
{
|
||||||
private Dictionary<string, object> state;
|
private Dictionary<string, object> state;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private OnMethodCallDelegate m_OnMethodCall;
|
|
||||||
|
|
||||||
private Dictionary<ulong, ClientMessage> SentMessages = new Dictionary<ulong, ClientMessage>();
|
private Dictionary<ulong, ClientMessage> SentMessages = new Dictionary<ulong, ClientMessage>();
|
||||||
|
|
||||||
private Dictionary<string, OnMethodCallCallbackDelegate> MethodTable = new Dictionary<string, OnMethodCallCallbackDelegate>();
|
private Dictionary<string, OnMethodCallCallbackDelegate> MethodTable = new Dictionary<string, OnMethodCallCallbackDelegate>();
|
||||||
|
@ -38,31 +32,7 @@ namespace BestHTTP.SignalR.Hubs
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event OnMethodCallDelegate OnMethodCall
|
public event OnMethodCallDelegate OnMethodCall;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
OnMethodCallDelegate onMethodCallDelegate = this.m_OnMethodCall;
|
|
||||||
OnMethodCallDelegate onMethodCallDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onMethodCallDelegate2 = onMethodCallDelegate;
|
|
||||||
onMethodCallDelegate = Interlocked.CompareExchange(ref this.m_OnMethodCall, (OnMethodCallDelegate)Delegate.Combine(onMethodCallDelegate2, value), onMethodCallDelegate);
|
|
||||||
}
|
|
||||||
while (onMethodCallDelegate != onMethodCallDelegate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
OnMethodCallDelegate onMethodCallDelegate = this.m_OnMethodCall;
|
|
||||||
OnMethodCallDelegate onMethodCallDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onMethodCallDelegate2 = onMethodCallDelegate;
|
|
||||||
onMethodCallDelegate = Interlocked.CompareExchange(ref this.m_OnMethodCall, (OnMethodCallDelegate)Delegate.Remove(onMethodCallDelegate2, value), onMethodCallDelegate);
|
|
||||||
}
|
|
||||||
while (onMethodCallDelegate != onMethodCallDelegate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public Hub(string name)
|
public Hub(string name)
|
||||||
: this(name, null)
|
: this(name, null)
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using BestHTTP.SignalR.JsonEncoders;
|
using BestHTTP.SignalR.JsonEncoders;
|
||||||
using BestHTTP.SignalR.Messages;
|
using BestHTTP.SignalR.Messages;
|
||||||
|
@ -14,10 +12,6 @@ namespace BestHTTP.SignalR.Transports
|
||||||
|
|
||||||
public TransportStates _state;
|
public TransportStates _state;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private OnTransportStateChangedDelegate m_OnStateChanged;
|
|
||||||
|
|
||||||
public string Name { get; protected set; }
|
public string Name { get; protected set; }
|
||||||
|
|
||||||
public abstract bool SupportsKeepAlive { get; }
|
public abstract bool SupportsKeepAlive { get; }
|
||||||
|
@ -43,31 +37,7 @@ namespace BestHTTP.SignalR.Transports
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event OnTransportStateChangedDelegate OnStateChanged
|
public event OnTransportStateChangedDelegate OnStateChanged;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
OnTransportStateChangedDelegate onTransportStateChangedDelegate = this.m_OnStateChanged;
|
|
||||||
OnTransportStateChangedDelegate onTransportStateChangedDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onTransportStateChangedDelegate2 = onTransportStateChangedDelegate;
|
|
||||||
onTransportStateChangedDelegate = Interlocked.CompareExchange(ref this.m_OnStateChanged, (OnTransportStateChangedDelegate)Delegate.Combine(onTransportStateChangedDelegate2, value), onTransportStateChangedDelegate);
|
|
||||||
}
|
|
||||||
while (onTransportStateChangedDelegate != onTransportStateChangedDelegate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
OnTransportStateChangedDelegate onTransportStateChangedDelegate = this.m_OnStateChanged;
|
|
||||||
OnTransportStateChangedDelegate onTransportStateChangedDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
onTransportStateChangedDelegate2 = onTransportStateChangedDelegate;
|
|
||||||
onTransportStateChangedDelegate = Interlocked.CompareExchange(ref this.m_OnStateChanged, (OnTransportStateChangedDelegate)Delegate.Remove(onTransportStateChangedDelegate2, value), onTransportStateChangedDelegate);
|
|
||||||
}
|
|
||||||
while (onTransportStateChangedDelegate != onTransportStateChangedDelegate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public TransportBase(string name, Connection connection)
|
public TransportBase(string name, Connection connection)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
[StructLayout(0, Size = 1)]
|
[StructLayout((short)0, Size = 1)]
|
||||||
public struct BlockColorComparer : IEqualityComparer<BlockColor>
|
public struct BlockColorComparer : IEqualityComparer<BlockColor>
|
||||||
{
|
{
|
||||||
public bool Equals(BlockColor x, BlockColor y)
|
public bool Equals(BlockColor x, BlockColor y)
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
|
@ -43,10 +42,6 @@ public sealed class BloxelBoard : BloxelProject
|
||||||
|
|
||||||
public BlockBounds blockBounds;
|
public BlockBounds blockBounds;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleUpdate m_OnUpdate;
|
|
||||||
|
|
||||||
public static readonly Color32 BaseBoardDetailLookupColor32 = new Color32(0, 0, 0, byte.MaxValue);
|
public static readonly Color32 BaseBoardDetailLookupColor32 = new Color32(0, 0, 0, byte.MaxValue);
|
||||||
|
|
||||||
public static readonly Color32 TransparentLookupColor32 = new Color32(0, 0, 0, 254);
|
public static readonly Color32 TransparentLookupColor32 = new Color32(0, 0, 0, 254);
|
||||||
|
@ -84,31 +79,7 @@ public sealed class BloxelBoard : BloxelProject
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event HandleUpdate OnUpdate
|
public event HandleUpdate OnUpdate;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleUpdate handleUpdate = this.m_OnUpdate;
|
|
||||||
HandleUpdate handleUpdate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUpdate2 = handleUpdate;
|
|
||||||
handleUpdate = Interlocked.CompareExchange(ref this.m_OnUpdate, (HandleUpdate)Delegate.Combine(handleUpdate2, value), handleUpdate);
|
|
||||||
}
|
|
||||||
while (handleUpdate != handleUpdate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleUpdate handleUpdate = this.m_OnUpdate;
|
|
||||||
HandleUpdate handleUpdate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUpdate2 = handleUpdate;
|
|
||||||
handleUpdate = Interlocked.CompareExchange(ref this.m_OnUpdate, (HandleUpdate)Delegate.Remove(handleUpdate2, value), handleUpdate);
|
|
||||||
}
|
|
||||||
while (handleUpdate != handleUpdate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public BloxelBoard(bool setProjectPath = true)
|
public BloxelBoard(bool setProjectPath = true)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -64,10 +62,6 @@ public class BloxelCamera : MonoBehaviour
|
||||||
|
|
||||||
public Vector3 rotationCharacterConfig = new Vector3(0f, 0f, 0f);
|
public Vector3 rotationCharacterConfig = new Vector3(0f, 0f, 0f);
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleModeChange m_OnModeChange;
|
|
||||||
|
|
||||||
public Tweener blurTween;
|
public Tweener blurTween;
|
||||||
|
|
||||||
public Tweener deBlurTween;
|
public Tweener deBlurTween;
|
||||||
|
@ -84,31 +78,7 @@ public class BloxelCamera : MonoBehaviour
|
||||||
|
|
||||||
public CameraMode mode { get; private set; }
|
public CameraMode mode { get; private set; }
|
||||||
|
|
||||||
public event HandleModeChange OnModeChange
|
public event HandleModeChange OnModeChange;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleModeChange handleModeChange = this.m_OnModeChange;
|
|
||||||
HandleModeChange handleModeChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleModeChange2 = handleModeChange;
|
|
||||||
handleModeChange = Interlocked.CompareExchange(ref this.m_OnModeChange, (HandleModeChange)Delegate.Combine(handleModeChange2, value), handleModeChange);
|
|
||||||
}
|
|
||||||
while (handleModeChange != handleModeChange2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleModeChange handleModeChange = this.m_OnModeChange;
|
|
||||||
HandleModeChange handleModeChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleModeChange2 = handleModeChange;
|
|
||||||
handleModeChange = Interlocked.CompareExchange(ref this.m_OnModeChange, (HandleModeChange)Delegate.Remove(handleModeChange2, value), handleModeChange);
|
|
||||||
}
|
|
||||||
while (handleModeChange != handleModeChange2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
|
@ -44,10 +43,6 @@ public sealed class BloxelGame : BloxelProject
|
||||||
|
|
||||||
public bool gravityOn;
|
public bool gravityOn;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleUpdate m_OnUpdate;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
[CompilerGenerated]
|
||||||
private static Dictionary<string, int> _003C_003Ef__switch_0024map9;
|
private static Dictionary<string, int> _003C_003Ef__switch_0024map9;
|
||||||
|
|
||||||
|
@ -73,31 +68,7 @@ public sealed class BloxelGame : BloxelProject
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event HandleUpdate OnUpdate
|
public event HandleUpdate OnUpdate;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleUpdate handleUpdate = this.m_OnUpdate;
|
|
||||||
HandleUpdate handleUpdate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUpdate2 = handleUpdate;
|
|
||||||
handleUpdate = Interlocked.CompareExchange(ref this.m_OnUpdate, (HandleUpdate)Delegate.Combine(handleUpdate2, value), handleUpdate);
|
|
||||||
}
|
|
||||||
while (handleUpdate != handleUpdate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleUpdate handleUpdate = this.m_OnUpdate;
|
|
||||||
HandleUpdate handleUpdate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUpdate2 = handleUpdate;
|
|
||||||
handleUpdate = Interlocked.CompareExchange(ref this.m_OnUpdate, (HandleUpdate)Delegate.Remove(handleUpdate2, value), handleUpdate);
|
|
||||||
}
|
|
||||||
while (handleUpdate != handleUpdate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public BloxelGame(BloxelLevel level, bool shouldSave = true)
|
public BloxelGame(BloxelLevel level, bool shouldSave = true)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
@ -19,10 +17,6 @@ public class BloxelLevelLibrary : BloxelLibraryWindow
|
||||||
|
|
||||||
public List<SavedLevel> savedLevels = new List<SavedLevel>();
|
public List<SavedLevel> savedLevels = new List<SavedLevel>();
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleLevelChange m_OnLevelChange;
|
|
||||||
|
|
||||||
public BloxelLevel currentLevel
|
public BloxelLevel currentLevel
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -39,31 +33,7 @@ public class BloxelLevelLibrary : BloxelLibraryWindow
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event HandleLevelChange OnLevelChange
|
public event HandleLevelChange OnLevelChange;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleLevelChange handleLevelChange = this.m_OnLevelChange;
|
|
||||||
HandleLevelChange handleLevelChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleLevelChange2 = handleLevelChange;
|
|
||||||
handleLevelChange = Interlocked.CompareExchange(ref this.m_OnLevelChange, (HandleLevelChange)Delegate.Combine(handleLevelChange2, value), handleLevelChange);
|
|
||||||
}
|
|
||||||
while (handleLevelChange != handleLevelChange2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleLevelChange handleLevelChange = this.m_OnLevelChange;
|
|
||||||
HandleLevelChange handleLevelChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleLevelChange2 = handleLevelChange;
|
|
||||||
handleLevelChange = Interlocked.CompareExchange(ref this.m_OnLevelChange, (HandleLevelChange)Delegate.Remove(handleLevelChange2, value), handleLevelChange);
|
|
||||||
}
|
|
||||||
while (handleLevelChange != handleLevelChange2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -34,37 +32,9 @@ public class BloxelLibrary : UIMoveable
|
||||||
|
|
||||||
public SavedProject currentSavedProject;
|
public SavedProject currentSavedProject;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleTabChange m_OnTabChange;
|
|
||||||
|
|
||||||
public bool initComplete;
|
public bool initComplete;
|
||||||
|
|
||||||
public event HandleTabChange OnTabChange
|
public event HandleTabChange OnTabChange;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleTabChange handleTabChange = this.m_OnTabChange;
|
|
||||||
HandleTabChange handleTabChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleTabChange2 = handleTabChange;
|
|
||||||
handleTabChange = Interlocked.CompareExchange(ref this.m_OnTabChange, (HandleTabChange)Delegate.Combine(handleTabChange2, value), handleTabChange);
|
|
||||||
}
|
|
||||||
while (handleTabChange != handleTabChange2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleTabChange handleTabChange = this.m_OnTabChange;
|
|
||||||
HandleTabChange handleTabChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleTabChange2 = handleTabChange;
|
|
||||||
handleTabChange = Interlocked.CompareExchange(ref this.m_OnTabChange, (HandleTabChange)Delegate.Remove(handleTabChange2, value), handleTabChange);
|
|
||||||
}
|
|
||||||
while (handleTabChange != handleTabChange2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private new void Awake()
|
private new void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
@ -23,215 +21,19 @@ public abstract class BloxelLibraryWindow : MonoBehaviour
|
||||||
|
|
||||||
public SavedProject currentSavedProject;
|
public SavedProject currentSavedProject;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleProjectSelect OnProjectSelect;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleProjectSelect m_OnProjectSelect;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleDoubleTap OnProjectDoubleTap;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleDoubleTap m_OnProjectDoubleTap;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleDelete OnProjectDelete;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleDelete m_OnProjectDelete;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleBeginDrag OnProjectDragStart;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleBeginDrag m_OnProjectDragStart;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleEndDrag OnProjectDragEnd;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleEndDrag m_OnProjectDragEnd;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleDrag OnProjectDragging;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleDrag m_OnProjectDragging;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleAdd OnAddButtonPressed;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleAdd m_OnAddButtonPressed;
|
|
||||||
|
|
||||||
public event HandleProjectSelect OnProjectSelect
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleProjectSelect handleProjectSelect = this.m_OnProjectSelect;
|
|
||||||
HandleProjectSelect handleProjectSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleProjectSelect2 = handleProjectSelect;
|
|
||||||
handleProjectSelect = Interlocked.CompareExchange(ref this.m_OnProjectSelect, (HandleProjectSelect)Delegate.Combine(handleProjectSelect2, value), handleProjectSelect);
|
|
||||||
}
|
|
||||||
while (handleProjectSelect != handleProjectSelect2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleProjectSelect handleProjectSelect = this.m_OnProjectSelect;
|
|
||||||
HandleProjectSelect handleProjectSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleProjectSelect2 = handleProjectSelect;
|
|
||||||
handleProjectSelect = Interlocked.CompareExchange(ref this.m_OnProjectSelect, (HandleProjectSelect)Delegate.Remove(handleProjectSelect2, value), handleProjectSelect);
|
|
||||||
}
|
|
||||||
while (handleProjectSelect != handleProjectSelect2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleDoubleTap OnProjectDoubleTap
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleDoubleTap handleDoubleTap = this.m_OnProjectDoubleTap;
|
|
||||||
HandleDoubleTap handleDoubleTap2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDoubleTap2 = handleDoubleTap;
|
|
||||||
handleDoubleTap = Interlocked.CompareExchange(ref this.m_OnProjectDoubleTap, (HandleDoubleTap)Delegate.Combine(handleDoubleTap2, value), handleDoubleTap);
|
|
||||||
}
|
|
||||||
while (handleDoubleTap != handleDoubleTap2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleDoubleTap handleDoubleTap = this.m_OnProjectDoubleTap;
|
|
||||||
HandleDoubleTap handleDoubleTap2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDoubleTap2 = handleDoubleTap;
|
|
||||||
handleDoubleTap = Interlocked.CompareExchange(ref this.m_OnProjectDoubleTap, (HandleDoubleTap)Delegate.Remove(handleDoubleTap2, value), handleDoubleTap);
|
|
||||||
}
|
|
||||||
while (handleDoubleTap != handleDoubleTap2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleDelete OnProjectDelete
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleDelete handleDelete = this.m_OnProjectDelete;
|
|
||||||
HandleDelete handleDelete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDelete2 = handleDelete;
|
|
||||||
handleDelete = Interlocked.CompareExchange(ref this.m_OnProjectDelete, (HandleDelete)Delegate.Combine(handleDelete2, value), handleDelete);
|
|
||||||
}
|
|
||||||
while (handleDelete != handleDelete2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleDelete handleDelete = this.m_OnProjectDelete;
|
|
||||||
HandleDelete handleDelete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDelete2 = handleDelete;
|
|
||||||
handleDelete = Interlocked.CompareExchange(ref this.m_OnProjectDelete, (HandleDelete)Delegate.Remove(handleDelete2, value), handleDelete);
|
|
||||||
}
|
|
||||||
while (handleDelete != handleDelete2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleBeginDrag OnProjectDragStart
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleBeginDrag handleBeginDrag = this.m_OnProjectDragStart;
|
|
||||||
HandleBeginDrag handleBeginDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBeginDrag2 = handleBeginDrag;
|
|
||||||
handleBeginDrag = Interlocked.CompareExchange(ref this.m_OnProjectDragStart, (HandleBeginDrag)Delegate.Combine(handleBeginDrag2, value), handleBeginDrag);
|
|
||||||
}
|
|
||||||
while (handleBeginDrag != handleBeginDrag2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleBeginDrag handleBeginDrag = this.m_OnProjectDragStart;
|
|
||||||
HandleBeginDrag handleBeginDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBeginDrag2 = handleBeginDrag;
|
|
||||||
handleBeginDrag = Interlocked.CompareExchange(ref this.m_OnProjectDragStart, (HandleBeginDrag)Delegate.Remove(handleBeginDrag2, value), handleBeginDrag);
|
|
||||||
}
|
|
||||||
while (handleBeginDrag != handleBeginDrag2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleEndDrag OnProjectDragEnd
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleEndDrag handleEndDrag = this.m_OnProjectDragEnd;
|
|
||||||
HandleEndDrag handleEndDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleEndDrag2 = handleEndDrag;
|
|
||||||
handleEndDrag = Interlocked.CompareExchange(ref this.m_OnProjectDragEnd, (HandleEndDrag)Delegate.Combine(handleEndDrag2, value), handleEndDrag);
|
|
||||||
}
|
|
||||||
while (handleEndDrag != handleEndDrag2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleEndDrag handleEndDrag = this.m_OnProjectDragEnd;
|
|
||||||
HandleEndDrag handleEndDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleEndDrag2 = handleEndDrag;
|
|
||||||
handleEndDrag = Interlocked.CompareExchange(ref this.m_OnProjectDragEnd, (HandleEndDrag)Delegate.Remove(handleEndDrag2, value), handleEndDrag);
|
|
||||||
}
|
|
||||||
while (handleEndDrag != handleEndDrag2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleDrag OnProjectDragging
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleDrag handleDrag = this.m_OnProjectDragging;
|
|
||||||
HandleDrag handleDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDrag2 = handleDrag;
|
|
||||||
handleDrag = Interlocked.CompareExchange(ref this.m_OnProjectDragging, (HandleDrag)Delegate.Combine(handleDrag2, value), handleDrag);
|
|
||||||
}
|
|
||||||
while (handleDrag != handleDrag2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleDrag handleDrag = this.m_OnProjectDragging;
|
|
||||||
HandleDrag handleDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDrag2 = handleDrag;
|
|
||||||
handleDrag = Interlocked.CompareExchange(ref this.m_OnProjectDragging, (HandleDrag)Delegate.Remove(handleDrag2, value), handleDrag);
|
|
||||||
}
|
|
||||||
while (handleDrag != handleDrag2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleAdd OnAddButtonPressed
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleAdd handleAdd = this.m_OnAddButtonPressed;
|
|
||||||
HandleAdd handleAdd2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleAdd2 = handleAdd;
|
|
||||||
handleAdd = Interlocked.CompareExchange(ref this.m_OnAddButtonPressed, (HandleAdd)Delegate.Combine(handleAdd2, value), handleAdd);
|
|
||||||
}
|
|
||||||
while (handleAdd != handleAdd2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleAdd handleAdd = this.m_OnAddButtonPressed;
|
|
||||||
HandleAdd handleAdd2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleAdd2 = handleAdd;
|
|
||||||
handleAdd = Interlocked.CompareExchange(ref this.m_OnAddButtonPressed, (HandleAdd)Delegate.Remove(handleAdd2, value), handleAdd);
|
|
||||||
}
|
|
||||||
while (handleAdd != handleAdd2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Start()
|
public void Start()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -24,35 +22,7 @@ public sealed class BloxelMegaBoard : BloxelProject
|
||||||
|
|
||||||
public Dictionary<GridLocation, BloxelBoard> boards;
|
public Dictionary<GridLocation, BloxelBoard> boards;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleOnUpdate OnUpdate;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnUpdate m_OnUpdate;
|
|
||||||
|
|
||||||
public event HandleOnUpdate OnUpdate
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnUpdate handleOnUpdate = this.m_OnUpdate;
|
|
||||||
HandleOnUpdate handleOnUpdate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnUpdate2 = handleOnUpdate;
|
|
||||||
handleOnUpdate = Interlocked.CompareExchange(ref this.m_OnUpdate, (HandleOnUpdate)Delegate.Combine(handleOnUpdate2, value), handleOnUpdate);
|
|
||||||
}
|
|
||||||
while (handleOnUpdate != handleOnUpdate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnUpdate handleOnUpdate = this.m_OnUpdate;
|
|
||||||
HandleOnUpdate handleOnUpdate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnUpdate2 = handleOnUpdate;
|
|
||||||
handleOnUpdate = Interlocked.CompareExchange(ref this.m_OnUpdate, (HandleOnUpdate)Delegate.Remove(handleOnUpdate2, value), handleOnUpdate);
|
|
||||||
}
|
|
||||||
while (handleOnUpdate != handleOnUpdate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public BloxelMegaBoard(bool setBoardPath = true)
|
public BloxelMegaBoard(bool setBoardPath = true)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
@ -156,10 +154,6 @@ public abstract class BloxelProject : IEquatable<BloxelProject>
|
||||||
|
|
||||||
public bool isDirty;
|
public bool isDirty;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleTitleChange m_OnTitleChange;
|
|
||||||
|
|
||||||
public int localID { get; private set; }
|
public int localID { get; private set; }
|
||||||
|
|
||||||
public Guid id
|
public Guid id
|
||||||
|
@ -176,31 +170,7 @@ public abstract class BloxelProject : IEquatable<BloxelProject>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event HandleTitleChange OnTitleChange
|
public event HandleTitleChange OnTitleChange;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleTitleChange handleTitleChange = this.m_OnTitleChange;
|
|
||||||
HandleTitleChange handleTitleChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleTitleChange2 = handleTitleChange;
|
|
||||||
handleTitleChange = Interlocked.CompareExchange(ref this.m_OnTitleChange, (HandleTitleChange)Delegate.Combine(handleTitleChange2, value), handleTitleChange);
|
|
||||||
}
|
|
||||||
while (handleTitleChange != handleTitleChange2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleTitleChange handleTitleChange = this.m_OnTitleChange;
|
|
||||||
HandleTitleChange handleTitleChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleTitleChange2 = handleTitleChange;
|
|
||||||
handleTitleChange = Interlocked.CompareExchange(ref this.m_OnTitleChange, (HandleTitleChange)Delegate.Remove(handleTitleChange2, value), handleTitleChange);
|
|
||||||
}
|
|
||||||
while (handleTitleChange != handleTitleChange2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public string ID()
|
public string ID()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using BestHTTP;
|
using BestHTTP;
|
||||||
using SocketIO;
|
using SocketIO;
|
||||||
|
@ -132,62 +130,6 @@ public class BloxelServerInterface : MonoBehaviour
|
||||||
|
|
||||||
public static List<string> featuredGameIds = new List<string>(6);
|
public static List<string> featuredGameIds = new List<string>(6);
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleSquareUpdate m_OnSquareUpdate;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleServerLoginSync m_OnServerLogin;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleCoinsEarned m_OnCoinsEarned;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleUserAccountUpdate m_OnUserAccountUpdate;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleUserFollowed m_OnUserFollowed;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleUserUnFollowed m_OnUserUnFollowed;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleServerMessage m_OnServerMessage;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleServerColors m_OnServerColors;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleNewsItems m_OnNewsItems;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleUpdateNews m_OnUpdateNews;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleStopCoins m_OnStopSendingCoins;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleParentApproved m_OnApproved;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleFeaturedGems m_OnFeaturedGems;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleBackDoorMessage m_OnBackDoor;
|
|
||||||
|
|
||||||
public static bool initComplete;
|
public static bool initComplete;
|
||||||
|
|
||||||
public bool socketDied;
|
public bool socketDied;
|
||||||
|
@ -211,369 +153,33 @@ public class BloxelServerInterface : MonoBehaviour
|
||||||
|
|
||||||
public TextMeshProUGUI envText;
|
public TextMeshProUGUI envText;
|
||||||
|
|
||||||
public event HandleSquareUpdate OnSquareUpdate
|
public event HandleSquareUpdate OnSquareUpdate;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleSquareUpdate handleSquareUpdate = this.m_OnSquareUpdate;
|
|
||||||
HandleSquareUpdate handleSquareUpdate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleSquareUpdate2 = handleSquareUpdate;
|
|
||||||
handleSquareUpdate = Interlocked.CompareExchange(ref this.m_OnSquareUpdate, (HandleSquareUpdate)Delegate.Combine(handleSquareUpdate2, value), handleSquareUpdate);
|
|
||||||
}
|
|
||||||
while (handleSquareUpdate != handleSquareUpdate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleSquareUpdate handleSquareUpdate = this.m_OnSquareUpdate;
|
|
||||||
HandleSquareUpdate handleSquareUpdate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleSquareUpdate2 = handleSquareUpdate;
|
|
||||||
handleSquareUpdate = Interlocked.CompareExchange(ref this.m_OnSquareUpdate, (HandleSquareUpdate)Delegate.Remove(handleSquareUpdate2, value), handleSquareUpdate);
|
|
||||||
}
|
|
||||||
while (handleSquareUpdate != handleSquareUpdate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleServerLoginSync OnServerLogin
|
public event HandleServerLoginSync OnServerLogin;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleServerLoginSync handleServerLoginSync = this.m_OnServerLogin;
|
|
||||||
HandleServerLoginSync handleServerLoginSync2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleServerLoginSync2 = handleServerLoginSync;
|
|
||||||
handleServerLoginSync = Interlocked.CompareExchange(ref this.m_OnServerLogin, (HandleServerLoginSync)Delegate.Combine(handleServerLoginSync2, value), handleServerLoginSync);
|
|
||||||
}
|
|
||||||
while (handleServerLoginSync != handleServerLoginSync2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleServerLoginSync handleServerLoginSync = this.m_OnServerLogin;
|
|
||||||
HandleServerLoginSync handleServerLoginSync2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleServerLoginSync2 = handleServerLoginSync;
|
|
||||||
handleServerLoginSync = Interlocked.CompareExchange(ref this.m_OnServerLogin, (HandleServerLoginSync)Delegate.Remove(handleServerLoginSync2, value), handleServerLoginSync);
|
|
||||||
}
|
|
||||||
while (handleServerLoginSync != handleServerLoginSync2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleCoinsEarned OnCoinsEarned
|
public event HandleCoinsEarned OnCoinsEarned;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleCoinsEarned handleCoinsEarned = this.m_OnCoinsEarned;
|
|
||||||
HandleCoinsEarned handleCoinsEarned2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleCoinsEarned2 = handleCoinsEarned;
|
|
||||||
handleCoinsEarned = Interlocked.CompareExchange(ref this.m_OnCoinsEarned, (HandleCoinsEarned)Delegate.Combine(handleCoinsEarned2, value), handleCoinsEarned);
|
|
||||||
}
|
|
||||||
while (handleCoinsEarned != handleCoinsEarned2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleCoinsEarned handleCoinsEarned = this.m_OnCoinsEarned;
|
|
||||||
HandleCoinsEarned handleCoinsEarned2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleCoinsEarned2 = handleCoinsEarned;
|
|
||||||
handleCoinsEarned = Interlocked.CompareExchange(ref this.m_OnCoinsEarned, (HandleCoinsEarned)Delegate.Remove(handleCoinsEarned2, value), handleCoinsEarned);
|
|
||||||
}
|
|
||||||
while (handleCoinsEarned != handleCoinsEarned2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleUserAccountUpdate OnUserAccountUpdate
|
public event HandleUserAccountUpdate OnUserAccountUpdate;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleUserAccountUpdate handleUserAccountUpdate = this.m_OnUserAccountUpdate;
|
|
||||||
HandleUserAccountUpdate handleUserAccountUpdate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUserAccountUpdate2 = handleUserAccountUpdate;
|
|
||||||
handleUserAccountUpdate = Interlocked.CompareExchange(ref this.m_OnUserAccountUpdate, (HandleUserAccountUpdate)Delegate.Combine(handleUserAccountUpdate2, value), handleUserAccountUpdate);
|
|
||||||
}
|
|
||||||
while (handleUserAccountUpdate != handleUserAccountUpdate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleUserAccountUpdate handleUserAccountUpdate = this.m_OnUserAccountUpdate;
|
|
||||||
HandleUserAccountUpdate handleUserAccountUpdate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUserAccountUpdate2 = handleUserAccountUpdate;
|
|
||||||
handleUserAccountUpdate = Interlocked.CompareExchange(ref this.m_OnUserAccountUpdate, (HandleUserAccountUpdate)Delegate.Remove(handleUserAccountUpdate2, value), handleUserAccountUpdate);
|
|
||||||
}
|
|
||||||
while (handleUserAccountUpdate != handleUserAccountUpdate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleUserFollowed OnUserFollowed
|
public event HandleUserFollowed OnUserFollowed;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleUserFollowed handleUserFollowed = this.m_OnUserFollowed;
|
|
||||||
HandleUserFollowed handleUserFollowed2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUserFollowed2 = handleUserFollowed;
|
|
||||||
handleUserFollowed = Interlocked.CompareExchange(ref this.m_OnUserFollowed, (HandleUserFollowed)Delegate.Combine(handleUserFollowed2, value), handleUserFollowed);
|
|
||||||
}
|
|
||||||
while (handleUserFollowed != handleUserFollowed2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleUserFollowed handleUserFollowed = this.m_OnUserFollowed;
|
|
||||||
HandleUserFollowed handleUserFollowed2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUserFollowed2 = handleUserFollowed;
|
|
||||||
handleUserFollowed = Interlocked.CompareExchange(ref this.m_OnUserFollowed, (HandleUserFollowed)Delegate.Remove(handleUserFollowed2, value), handleUserFollowed);
|
|
||||||
}
|
|
||||||
while (handleUserFollowed != handleUserFollowed2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleUserUnFollowed OnUserUnFollowed
|
public event HandleUserUnFollowed OnUserUnFollowed;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleUserUnFollowed handleUserUnFollowed = this.m_OnUserUnFollowed;
|
|
||||||
HandleUserUnFollowed handleUserUnFollowed2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUserUnFollowed2 = handleUserUnFollowed;
|
|
||||||
handleUserUnFollowed = Interlocked.CompareExchange(ref this.m_OnUserUnFollowed, (HandleUserUnFollowed)Delegate.Combine(handleUserUnFollowed2, value), handleUserUnFollowed);
|
|
||||||
}
|
|
||||||
while (handleUserUnFollowed != handleUserUnFollowed2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleUserUnFollowed handleUserUnFollowed = this.m_OnUserUnFollowed;
|
|
||||||
HandleUserUnFollowed handleUserUnFollowed2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUserUnFollowed2 = handleUserUnFollowed;
|
|
||||||
handleUserUnFollowed = Interlocked.CompareExchange(ref this.m_OnUserUnFollowed, (HandleUserUnFollowed)Delegate.Remove(handleUserUnFollowed2, value), handleUserUnFollowed);
|
|
||||||
}
|
|
||||||
while (handleUserUnFollowed != handleUserUnFollowed2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleServerMessage OnServerMessage
|
public event HandleServerMessage OnServerMessage;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleServerMessage handleServerMessage = this.m_OnServerMessage;
|
|
||||||
HandleServerMessage handleServerMessage2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleServerMessage2 = handleServerMessage;
|
|
||||||
handleServerMessage = Interlocked.CompareExchange(ref this.m_OnServerMessage, (HandleServerMessage)Delegate.Combine(handleServerMessage2, value), handleServerMessage);
|
|
||||||
}
|
|
||||||
while (handleServerMessage != handleServerMessage2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleServerMessage handleServerMessage = this.m_OnServerMessage;
|
|
||||||
HandleServerMessage handleServerMessage2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleServerMessage2 = handleServerMessage;
|
|
||||||
handleServerMessage = Interlocked.CompareExchange(ref this.m_OnServerMessage, (HandleServerMessage)Delegate.Remove(handleServerMessage2, value), handleServerMessage);
|
|
||||||
}
|
|
||||||
while (handleServerMessage != handleServerMessage2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleServerColors OnServerColors
|
public event HandleServerColors OnServerColors;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleServerColors handleServerColors = this.m_OnServerColors;
|
|
||||||
HandleServerColors handleServerColors2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleServerColors2 = handleServerColors;
|
|
||||||
handleServerColors = Interlocked.CompareExchange(ref this.m_OnServerColors, (HandleServerColors)Delegate.Combine(handleServerColors2, value), handleServerColors);
|
|
||||||
}
|
|
||||||
while (handleServerColors != handleServerColors2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleServerColors handleServerColors = this.m_OnServerColors;
|
|
||||||
HandleServerColors handleServerColors2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleServerColors2 = handleServerColors;
|
|
||||||
handleServerColors = Interlocked.CompareExchange(ref this.m_OnServerColors, (HandleServerColors)Delegate.Remove(handleServerColors2, value), handleServerColors);
|
|
||||||
}
|
|
||||||
while (handleServerColors != handleServerColors2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleNewsItems OnNewsItems
|
public event HandleNewsItems OnNewsItems;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleNewsItems handleNewsItems = this.m_OnNewsItems;
|
|
||||||
HandleNewsItems handleNewsItems2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleNewsItems2 = handleNewsItems;
|
|
||||||
handleNewsItems = Interlocked.CompareExchange(ref this.m_OnNewsItems, (HandleNewsItems)Delegate.Combine(handleNewsItems2, value), handleNewsItems);
|
|
||||||
}
|
|
||||||
while (handleNewsItems != handleNewsItems2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleNewsItems handleNewsItems = this.m_OnNewsItems;
|
|
||||||
HandleNewsItems handleNewsItems2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleNewsItems2 = handleNewsItems;
|
|
||||||
handleNewsItems = Interlocked.CompareExchange(ref this.m_OnNewsItems, (HandleNewsItems)Delegate.Remove(handleNewsItems2, value), handleNewsItems);
|
|
||||||
}
|
|
||||||
while (handleNewsItems != handleNewsItems2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleUpdateNews OnUpdateNews
|
public event HandleUpdateNews OnUpdateNews;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleUpdateNews handleUpdateNews = this.m_OnUpdateNews;
|
|
||||||
HandleUpdateNews handleUpdateNews2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUpdateNews2 = handleUpdateNews;
|
|
||||||
handleUpdateNews = Interlocked.CompareExchange(ref this.m_OnUpdateNews, (HandleUpdateNews)Delegate.Combine(handleUpdateNews2, value), handleUpdateNews);
|
|
||||||
}
|
|
||||||
while (handleUpdateNews != handleUpdateNews2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleUpdateNews handleUpdateNews = this.m_OnUpdateNews;
|
|
||||||
HandleUpdateNews handleUpdateNews2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUpdateNews2 = handleUpdateNews;
|
|
||||||
handleUpdateNews = Interlocked.CompareExchange(ref this.m_OnUpdateNews, (HandleUpdateNews)Delegate.Remove(handleUpdateNews2, value), handleUpdateNews);
|
|
||||||
}
|
|
||||||
while (handleUpdateNews != handleUpdateNews2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleStopCoins OnStopSendingCoins
|
public event HandleStopCoins OnStopSendingCoins;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleStopCoins handleStopCoins = this.m_OnStopSendingCoins;
|
|
||||||
HandleStopCoins handleStopCoins2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleStopCoins2 = handleStopCoins;
|
|
||||||
handleStopCoins = Interlocked.CompareExchange(ref this.m_OnStopSendingCoins, (HandleStopCoins)Delegate.Combine(handleStopCoins2, value), handleStopCoins);
|
|
||||||
}
|
|
||||||
while (handleStopCoins != handleStopCoins2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleStopCoins handleStopCoins = this.m_OnStopSendingCoins;
|
|
||||||
HandleStopCoins handleStopCoins2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleStopCoins2 = handleStopCoins;
|
|
||||||
handleStopCoins = Interlocked.CompareExchange(ref this.m_OnStopSendingCoins, (HandleStopCoins)Delegate.Remove(handleStopCoins2, value), handleStopCoins);
|
|
||||||
}
|
|
||||||
while (handleStopCoins != handleStopCoins2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleParentApproved OnApproved
|
public event HandleParentApproved OnApproved;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleParentApproved handleParentApproved = this.m_OnApproved;
|
|
||||||
HandleParentApproved handleParentApproved2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParentApproved2 = handleParentApproved;
|
|
||||||
handleParentApproved = Interlocked.CompareExchange(ref this.m_OnApproved, (HandleParentApproved)Delegate.Combine(handleParentApproved2, value), handleParentApproved);
|
|
||||||
}
|
|
||||||
while (handleParentApproved != handleParentApproved2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleParentApproved handleParentApproved = this.m_OnApproved;
|
|
||||||
HandleParentApproved handleParentApproved2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParentApproved2 = handleParentApproved;
|
|
||||||
handleParentApproved = Interlocked.CompareExchange(ref this.m_OnApproved, (HandleParentApproved)Delegate.Remove(handleParentApproved2, value), handleParentApproved);
|
|
||||||
}
|
|
||||||
while (handleParentApproved != handleParentApproved2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleFeaturedGems OnFeaturedGems
|
public event HandleFeaturedGems OnFeaturedGems;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleFeaturedGems handleFeaturedGems = this.m_OnFeaturedGems;
|
|
||||||
HandleFeaturedGems handleFeaturedGems2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleFeaturedGems2 = handleFeaturedGems;
|
|
||||||
handleFeaturedGems = Interlocked.CompareExchange(ref this.m_OnFeaturedGems, (HandleFeaturedGems)Delegate.Combine(handleFeaturedGems2, value), handleFeaturedGems);
|
|
||||||
}
|
|
||||||
while (handleFeaturedGems != handleFeaturedGems2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleFeaturedGems handleFeaturedGems = this.m_OnFeaturedGems;
|
|
||||||
HandleFeaturedGems handleFeaturedGems2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleFeaturedGems2 = handleFeaturedGems;
|
|
||||||
handleFeaturedGems = Interlocked.CompareExchange(ref this.m_OnFeaturedGems, (HandleFeaturedGems)Delegate.Remove(handleFeaturedGems2, value), handleFeaturedGems);
|
|
||||||
}
|
|
||||||
while (handleFeaturedGems != handleFeaturedGems2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleBackDoorMessage OnBackDoor
|
public event HandleBackDoorMessage OnBackDoor;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleBackDoorMessage handleBackDoorMessage = this.m_OnBackDoor;
|
|
||||||
HandleBackDoorMessage handleBackDoorMessage2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBackDoorMessage2 = handleBackDoorMessage;
|
|
||||||
handleBackDoorMessage = Interlocked.CompareExchange(ref this.m_OnBackDoor, (HandleBackDoorMessage)Delegate.Combine(handleBackDoorMessage2, value), handleBackDoorMessage);
|
|
||||||
}
|
|
||||||
while (handleBackDoorMessage != handleBackDoorMessage2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleBackDoorMessage handleBackDoorMessage = this.m_OnBackDoor;
|
|
||||||
HandleBackDoorMessage handleBackDoorMessage2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBackDoorMessage2 = handleBackDoorMessage;
|
|
||||||
handleBackDoorMessage = Interlocked.CompareExchange(ref this.m_OnBackDoor, (HandleBackDoorMessage)Delegate.Remove(handleBackDoorMessage2, value), handleBackDoorMessage);
|
|
||||||
}
|
|
||||||
while (handleBackDoorMessage != handleBackDoorMessage2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
|
||||||
public class BoardParserJob : ThreadedJob
|
public class BoardParserJob : ThreadedJob
|
||||||
|
@ -13,35 +11,7 @@ public class BoardParserJob : ThreadedJob
|
||||||
|
|
||||||
public BloxelBoard board;
|
public BloxelBoard board;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleParseComplete OnComplete;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleParseComplete m_OnComplete;
|
|
||||||
|
|
||||||
public event HandleParseComplete OnComplete
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Combine(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Remove(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void ThreadFunction()
|
protected override void ThreadFunction()
|
||||||
{
|
{
|
||||||
|
|
|
@ -97,7 +97,7 @@ public sealed class Bullet : PoolableComponent
|
||||||
LayerMask layerMask = collision.gameObject.layer;
|
LayerMask layerMask = collision.gameObject.layer;
|
||||||
Rigidbody2D rigidbody = collision.rigidbody;
|
Rigidbody2D rigidbody = collision.rigidbody;
|
||||||
BloxelTile bloxelTile = null;
|
BloxelTile bloxelTile = null;
|
||||||
switch (layerMask)
|
switch ((long)layerMask)
|
||||||
{
|
{
|
||||||
case 10L:
|
case 10L:
|
||||||
bloxelTile = rigidbody.gameObject.GetComponent<BloxelTile>();
|
bloxelTile = rigidbody.gameObject.GetComponent<BloxelTile>();
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -101,10 +99,6 @@ public sealed class CanvasSquare : MonoBehaviour, IBeginDragHandler, IDragHandle
|
||||||
|
|
||||||
public bool taken;
|
public bool taken;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleStateChange m_OnStateChange;
|
|
||||||
|
|
||||||
public static CanvasSquare activeSquare;
|
public static CanvasSquare activeSquare;
|
||||||
|
|
||||||
public CanvasTileInfo.ReadyState state
|
public CanvasTileInfo.ReadyState state
|
||||||
|
@ -123,31 +117,7 @@ public sealed class CanvasSquare : MonoBehaviour, IBeginDragHandler, IDragHandle
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event HandleStateChange OnStateChange
|
public event HandleStateChange OnStateChange;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleStateChange handleStateChange = this.m_OnStateChange;
|
|
||||||
HandleStateChange handleStateChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleStateChange2 = handleStateChange;
|
|
||||||
handleStateChange = Interlocked.CompareExchange(ref this.m_OnStateChange, (HandleStateChange)Delegate.Combine(handleStateChange2, value), handleStateChange);
|
|
||||||
}
|
|
||||||
while (handleStateChange != handleStateChange2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleStateChange handleStateChange = this.m_OnStateChange;
|
|
||||||
HandleStateChange handleStateChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleStateChange2 = handleStateChange;
|
|
||||||
handleStateChange = Interlocked.CompareExchange(ref this.m_OnStateChange, (HandleStateChange)Delegate.Remove(handleStateChange2, value), handleStateChange);
|
|
||||||
}
|
|
||||||
while (handleStateChange != handleStateChange2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Awake()
|
public void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -73,10 +71,6 @@ public class CanvasStreamingInterface : MonoBehaviour, IBeginDragHandler, IDragH
|
||||||
|
|
||||||
private float idleCoordinateUpdateInterval = 1.5f;
|
private float idleCoordinateUpdateInterval = 1.5f;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleRowOrColumnShift m_OnRowOrColumnShift;
|
|
||||||
|
|
||||||
public Texture2D squareAtlas;
|
public Texture2D squareAtlas;
|
||||||
|
|
||||||
public Color32[] blankSpriteColorBuffer;
|
public Color32[] blankSpriteColorBuffer;
|
||||||
|
@ -105,31 +99,7 @@ public class CanvasStreamingInterface : MonoBehaviour, IBeginDragHandler, IDragH
|
||||||
|
|
||||||
public float enlargedSquareScale;
|
public float enlargedSquareScale;
|
||||||
|
|
||||||
public event HandleRowOrColumnShift OnRowOrColumnShift
|
public event HandleRowOrColumnShift OnRowOrColumnShift;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleRowOrColumnShift handleRowOrColumnShift = this.m_OnRowOrColumnShift;
|
|
||||||
HandleRowOrColumnShift handleRowOrColumnShift2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleRowOrColumnShift2 = handleRowOrColumnShift;
|
|
||||||
handleRowOrColumnShift = Interlocked.CompareExchange(ref this.m_OnRowOrColumnShift, (HandleRowOrColumnShift)Delegate.Combine(handleRowOrColumnShift2, value), handleRowOrColumnShift);
|
|
||||||
}
|
|
||||||
while (handleRowOrColumnShift != handleRowOrColumnShift2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleRowOrColumnShift handleRowOrColumnShift = this.m_OnRowOrColumnShift;
|
|
||||||
HandleRowOrColumnShift handleRowOrColumnShift2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleRowOrColumnShift2 = handleRowOrColumnShift;
|
|
||||||
handleRowOrColumnShift = Interlocked.CompareExchange(ref this.m_OnRowOrColumnShift, (HandleRowOrColumnShift)Delegate.Remove(handleRowOrColumnShift2, value), handleRowOrColumnShift);
|
|
||||||
}
|
|
||||||
while (handleRowOrColumnShift != handleRowOrColumnShift2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DiscoCapture;
|
using DiscoCapture;
|
||||||
using OpenCVForUnity;
|
using OpenCVForUnity;
|
||||||
|
@ -44,95 +42,11 @@ public class CaptureManager : MonoBehaviour
|
||||||
|
|
||||||
public static string DataVersion;
|
public static string DataVersion;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleCaptureConfirm OnCaptureConfirm;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleCaptureConfirm m_OnCaptureConfirm;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleDismiss OnCaptureDismiss;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleDismiss m_OnCaptureDismiss;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleRepeatCapture OnCaptureRepeat;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleRepeatCapture m_OnCaptureRepeat;
|
|
||||||
|
|
||||||
public event HandleCaptureConfirm OnCaptureConfirm
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleCaptureConfirm handleCaptureConfirm = this.m_OnCaptureConfirm;
|
|
||||||
HandleCaptureConfirm handleCaptureConfirm2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleCaptureConfirm2 = handleCaptureConfirm;
|
|
||||||
handleCaptureConfirm = Interlocked.CompareExchange(ref this.m_OnCaptureConfirm, (HandleCaptureConfirm)Delegate.Combine(handleCaptureConfirm2, value), handleCaptureConfirm);
|
|
||||||
}
|
|
||||||
while (handleCaptureConfirm != handleCaptureConfirm2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleCaptureConfirm handleCaptureConfirm = this.m_OnCaptureConfirm;
|
|
||||||
HandleCaptureConfirm handleCaptureConfirm2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleCaptureConfirm2 = handleCaptureConfirm;
|
|
||||||
handleCaptureConfirm = Interlocked.CompareExchange(ref this.m_OnCaptureConfirm, (HandleCaptureConfirm)Delegate.Remove(handleCaptureConfirm2, value), handleCaptureConfirm);
|
|
||||||
}
|
|
||||||
while (handleCaptureConfirm != handleCaptureConfirm2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleDismiss OnCaptureDismiss
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleDismiss handleDismiss = this.m_OnCaptureDismiss;
|
|
||||||
HandleDismiss handleDismiss2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDismiss2 = handleDismiss;
|
|
||||||
handleDismiss = Interlocked.CompareExchange(ref this.m_OnCaptureDismiss, (HandleDismiss)Delegate.Combine(handleDismiss2, value), handleDismiss);
|
|
||||||
}
|
|
||||||
while (handleDismiss != handleDismiss2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleDismiss handleDismiss = this.m_OnCaptureDismiss;
|
|
||||||
HandleDismiss handleDismiss2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDismiss2 = handleDismiss;
|
|
||||||
handleDismiss = Interlocked.CompareExchange(ref this.m_OnCaptureDismiss, (HandleDismiss)Delegate.Remove(handleDismiss2, value), handleDismiss);
|
|
||||||
}
|
|
||||||
while (handleDismiss != handleDismiss2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleRepeatCapture OnCaptureRepeat
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleRepeatCapture handleRepeatCapture = this.m_OnCaptureRepeat;
|
|
||||||
HandleRepeatCapture handleRepeatCapture2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleRepeatCapture2 = handleRepeatCapture;
|
|
||||||
handleRepeatCapture = Interlocked.CompareExchange(ref this.m_OnCaptureRepeat, (HandleRepeatCapture)Delegate.Combine(handleRepeatCapture2, value), handleRepeatCapture);
|
|
||||||
}
|
|
||||||
while (handleRepeatCapture != handleRepeatCapture2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleRepeatCapture handleRepeatCapture = this.m_OnCaptureRepeat;
|
|
||||||
HandleRepeatCapture handleRepeatCapture2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleRepeatCapture2 = handleRepeatCapture;
|
|
||||||
handleRepeatCapture = Interlocked.CompareExchange(ref this.m_OnCaptureRepeat, (HandleRepeatCapture)Delegate.Remove(handleRepeatCapture2, value), handleRepeatCapture);
|
|
||||||
}
|
|
||||||
while (handleRepeatCapture != handleRepeatCapture2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using DiscoCapture;
|
using DiscoCapture;
|
||||||
|
@ -32,65 +30,9 @@ public class CharacterBuilder : MonoBehaviour
|
||||||
|
|
||||||
public CharacterPlacementGrid gameGrid;
|
public CharacterPlacementGrid gameGrid;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleStateUpdate OnState;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleStateUpdate m_OnState;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleOnPreview OnPreview;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnPreview m_OnPreview;
|
|
||||||
|
|
||||||
public event HandleStateUpdate OnState
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleStateUpdate handleStateUpdate = this.m_OnState;
|
|
||||||
HandleStateUpdate handleStateUpdate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleStateUpdate2 = handleStateUpdate;
|
|
||||||
handleStateUpdate = Interlocked.CompareExchange(ref this.m_OnState, (HandleStateUpdate)Delegate.Combine(handleStateUpdate2, value), handleStateUpdate);
|
|
||||||
}
|
|
||||||
while (handleStateUpdate != handleStateUpdate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleStateUpdate handleStateUpdate = this.m_OnState;
|
|
||||||
HandleStateUpdate handleStateUpdate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleStateUpdate2 = handleStateUpdate;
|
|
||||||
handleStateUpdate = Interlocked.CompareExchange(ref this.m_OnState, (HandleStateUpdate)Delegate.Remove(handleStateUpdate2, value), handleStateUpdate);
|
|
||||||
}
|
|
||||||
while (handleStateUpdate != handleStateUpdate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleOnPreview OnPreview
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnPreview handleOnPreview = this.m_OnPreview;
|
|
||||||
HandleOnPreview handleOnPreview2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnPreview2 = handleOnPreview;
|
|
||||||
handleOnPreview = Interlocked.CompareExchange(ref this.m_OnPreview, (HandleOnPreview)Delegate.Combine(handleOnPreview2, value), handleOnPreview);
|
|
||||||
}
|
|
||||||
while (handleOnPreview != handleOnPreview2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnPreview handleOnPreview = this.m_OnPreview;
|
|
||||||
HandleOnPreview handleOnPreview2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnPreview2 = handleOnPreview;
|
|
||||||
handleOnPreview = Interlocked.CompareExchange(ref this.m_OnPreview, (HandleOnPreview)Delegate.Remove(handleOnPreview2, value), handleOnPreview);
|
|
||||||
}
|
|
||||||
while (handleOnPreview != handleOnPreview2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -26,35 +24,7 @@ public class CharacterBuilderCanvas : UIMoveable
|
||||||
[Header("| ========= Tracking ========= |")]
|
[Header("| ========= Tracking ========= |")]
|
||||||
private bool initComplete;
|
private bool initComplete;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleCharacterInit OnNewCharacter;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleCharacterInit m_OnNewCharacter;
|
|
||||||
|
|
||||||
public event HandleCharacterInit OnNewCharacter
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleCharacterInit handleCharacterInit = this.m_OnNewCharacter;
|
|
||||||
HandleCharacterInit handleCharacterInit2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleCharacterInit2 = handleCharacterInit;
|
|
||||||
handleCharacterInit = Interlocked.CompareExchange(ref this.m_OnNewCharacter, (HandleCharacterInit)Delegate.Combine(handleCharacterInit2, value), handleCharacterInit);
|
|
||||||
}
|
|
||||||
while (handleCharacterInit != handleCharacterInit2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleCharacterInit handleCharacterInit = this.m_OnNewCharacter;
|
|
||||||
HandleCharacterInit handleCharacterInit2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleCharacterInit2 = handleCharacterInit;
|
|
||||||
handleCharacterInit = Interlocked.CompareExchange(ref this.m_OnNewCharacter, (HandleCharacterInit)Delegate.Remove(handleCharacterInit2, value), handleCharacterInit);
|
|
||||||
}
|
|
||||||
while (handleCharacterInit != handleCharacterInit2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private new void Awake()
|
private new void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
|
||||||
public class CharacterParserJob : ThreadedJob
|
public class CharacterParserJob : ThreadedJob
|
||||||
|
@ -13,35 +11,7 @@ public class CharacterParserJob : ThreadedJob
|
||||||
|
|
||||||
public BloxelCharacter character;
|
public BloxelCharacter character;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleParseComplete OnComplete;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleParseComplete m_OnComplete;
|
|
||||||
|
|
||||||
public event HandleParseComplete OnComplete
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Combine(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Remove(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void ThreadFunction()
|
protected override void ThreadFunction()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using BestHTTP;
|
using BestHTTP;
|
||||||
|
@ -30,14 +28,6 @@ public class CurrentUser : MonoBehaviour
|
||||||
|
|
||||||
public static bool syncWithGuest;
|
public static bool syncWithGuest;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleStatus m_OnUpdate;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleLoginSuccess m_OnLoginSuccess;
|
|
||||||
|
|
||||||
public UserAccount account
|
public UserAccount account
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -70,57 +60,9 @@ public class CurrentUser : MonoBehaviour
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event HandleStatus OnUpdate
|
public event HandleStatus OnUpdate;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleStatus handleStatus = this.m_OnUpdate;
|
|
||||||
HandleStatus handleStatus2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleStatus2 = handleStatus;
|
|
||||||
handleStatus = Interlocked.CompareExchange(ref this.m_OnUpdate, (HandleStatus)Delegate.Combine(handleStatus2, value), handleStatus);
|
|
||||||
}
|
|
||||||
while (handleStatus != handleStatus2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleStatus handleStatus = this.m_OnUpdate;
|
|
||||||
HandleStatus handleStatus2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleStatus2 = handleStatus;
|
|
||||||
handleStatus = Interlocked.CompareExchange(ref this.m_OnUpdate, (HandleStatus)Delegate.Remove(handleStatus2, value), handleStatus);
|
|
||||||
}
|
|
||||||
while (handleStatus != handleStatus2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleLoginSuccess OnLoginSuccess
|
public event HandleLoginSuccess OnLoginSuccess;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleLoginSuccess handleLoginSuccess = this.m_OnLoginSuccess;
|
|
||||||
HandleLoginSuccess handleLoginSuccess2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleLoginSuccess2 = handleLoginSuccess;
|
|
||||||
handleLoginSuccess = Interlocked.CompareExchange(ref this.m_OnLoginSuccess, (HandleLoginSuccess)Delegate.Combine(handleLoginSuccess2, value), handleLoginSuccess);
|
|
||||||
}
|
|
||||||
while (handleLoginSuccess != handleLoginSuccess2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleLoginSuccess handleLoginSuccess = this.m_OnLoginSuccess;
|
|
||||||
HandleLoginSuccess handleLoginSuccess2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleLoginSuccess2 = handleLoginSuccess;
|
|
||||||
handleLoginSuccess = Interlocked.CompareExchange(ref this.m_OnLoginSuccess, (HandleLoginSuccess)Delegate.Remove(handleLoginSuccess2, value), handleLoginSuccess);
|
|
||||||
}
|
|
||||||
while (handleLoginSuccess != handleLoginSuccess2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using OpenCVForUnity;
|
using OpenCVForUnity;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -66,34 +64,6 @@ namespace DiscoCapture
|
||||||
|
|
||||||
private Texture2D _captureResultTex;
|
private Texture2D _captureResultTex;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnEnable m_onEnable;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnDisable m_onDisable;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleBlockClassified m_OnBlockClassified;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleProcessDelegate m_onProcessPass;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleProcessDelegate m_onProcessComplete;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleProcessDelegate m_onClassificationStarted;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleProcessDelegate m_onClassificationComplete;
|
|
||||||
|
|
||||||
private HandleProcessDelegate[] _captureEvents;
|
private HandleProcessDelegate[] _captureEvents;
|
||||||
|
|
||||||
public int cctNotchOffset;
|
public int cctNotchOffset;
|
||||||
|
@ -116,187 +86,19 @@ namespace DiscoCapture
|
||||||
|
|
||||||
public int numBlocksToClassifyPerFrame = 4;
|
public int numBlocksToClassifyPerFrame = 4;
|
||||||
|
|
||||||
public event HandleOnEnable onEnable
|
public event HandleOnEnable onEnable;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnEnable handleOnEnable = this.m_onEnable;
|
|
||||||
HandleOnEnable handleOnEnable2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnEnable2 = handleOnEnable;
|
|
||||||
handleOnEnable = Interlocked.CompareExchange(ref this.m_onEnable, (HandleOnEnable)Delegate.Combine(handleOnEnable2, value), handleOnEnable);
|
|
||||||
}
|
|
||||||
while (handleOnEnable != handleOnEnable2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnEnable handleOnEnable = this.m_onEnable;
|
|
||||||
HandleOnEnable handleOnEnable2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnEnable2 = handleOnEnable;
|
|
||||||
handleOnEnable = Interlocked.CompareExchange(ref this.m_onEnable, (HandleOnEnable)Delegate.Remove(handleOnEnable2, value), handleOnEnable);
|
|
||||||
}
|
|
||||||
while (handleOnEnable != handleOnEnable2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleOnDisable onDisable
|
public event HandleOnDisable onDisable;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnDisable handleOnDisable = this.m_onDisable;
|
|
||||||
HandleOnDisable handleOnDisable2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnDisable2 = handleOnDisable;
|
|
||||||
handleOnDisable = Interlocked.CompareExchange(ref this.m_onDisable, (HandleOnDisable)Delegate.Combine(handleOnDisable2, value), handleOnDisable);
|
|
||||||
}
|
|
||||||
while (handleOnDisable != handleOnDisable2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnDisable handleOnDisable = this.m_onDisable;
|
|
||||||
HandleOnDisable handleOnDisable2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnDisable2 = handleOnDisable;
|
|
||||||
handleOnDisable = Interlocked.CompareExchange(ref this.m_onDisable, (HandleOnDisable)Delegate.Remove(handleOnDisable2, value), handleOnDisable);
|
|
||||||
}
|
|
||||||
while (handleOnDisable != handleOnDisable2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleBlockClassified OnBlockClassified
|
public event HandleBlockClassified OnBlockClassified;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleBlockClassified handleBlockClassified = this.m_OnBlockClassified;
|
|
||||||
HandleBlockClassified handleBlockClassified2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBlockClassified2 = handleBlockClassified;
|
|
||||||
handleBlockClassified = Interlocked.CompareExchange(ref this.m_OnBlockClassified, (HandleBlockClassified)Delegate.Combine(handleBlockClassified2, value), handleBlockClassified);
|
|
||||||
}
|
|
||||||
while (handleBlockClassified != handleBlockClassified2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleBlockClassified handleBlockClassified = this.m_OnBlockClassified;
|
|
||||||
HandleBlockClassified handleBlockClassified2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBlockClassified2 = handleBlockClassified;
|
|
||||||
handleBlockClassified = Interlocked.CompareExchange(ref this.m_OnBlockClassified, (HandleBlockClassified)Delegate.Remove(handleBlockClassified2, value), handleBlockClassified);
|
|
||||||
}
|
|
||||||
while (handleBlockClassified != handleBlockClassified2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private event HandleProcessDelegate onProcessPass
|
private event HandleProcessDelegate onProcessPass;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleProcessDelegate handleProcessDelegate = this.m_onProcessPass;
|
|
||||||
HandleProcessDelegate handleProcessDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleProcessDelegate2 = handleProcessDelegate;
|
|
||||||
handleProcessDelegate = Interlocked.CompareExchange(ref this.m_onProcessPass, (HandleProcessDelegate)Delegate.Combine(handleProcessDelegate2, value), handleProcessDelegate);
|
|
||||||
}
|
|
||||||
while (handleProcessDelegate != handleProcessDelegate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleProcessDelegate handleProcessDelegate = this.m_onProcessPass;
|
|
||||||
HandleProcessDelegate handleProcessDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleProcessDelegate2 = handleProcessDelegate;
|
|
||||||
handleProcessDelegate = Interlocked.CompareExchange(ref this.m_onProcessPass, (HandleProcessDelegate)Delegate.Remove(handleProcessDelegate2, value), handleProcessDelegate);
|
|
||||||
}
|
|
||||||
while (handleProcessDelegate != handleProcessDelegate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private event HandleProcessDelegate onProcessComplete
|
private event HandleProcessDelegate onProcessComplete;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleProcessDelegate handleProcessDelegate = this.m_onProcessComplete;
|
|
||||||
HandleProcessDelegate handleProcessDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleProcessDelegate2 = handleProcessDelegate;
|
|
||||||
handleProcessDelegate = Interlocked.CompareExchange(ref this.m_onProcessComplete, (HandleProcessDelegate)Delegate.Combine(handleProcessDelegate2, value), handleProcessDelegate);
|
|
||||||
}
|
|
||||||
while (handleProcessDelegate != handleProcessDelegate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleProcessDelegate handleProcessDelegate = this.m_onProcessComplete;
|
|
||||||
HandleProcessDelegate handleProcessDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleProcessDelegate2 = handleProcessDelegate;
|
|
||||||
handleProcessDelegate = Interlocked.CompareExchange(ref this.m_onProcessComplete, (HandleProcessDelegate)Delegate.Remove(handleProcessDelegate2, value), handleProcessDelegate);
|
|
||||||
}
|
|
||||||
while (handleProcessDelegate != handleProcessDelegate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private event HandleProcessDelegate onClassificationStarted
|
private event HandleProcessDelegate onClassificationStarted;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleProcessDelegate handleProcessDelegate = this.m_onClassificationStarted;
|
|
||||||
HandleProcessDelegate handleProcessDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleProcessDelegate2 = handleProcessDelegate;
|
|
||||||
handleProcessDelegate = Interlocked.CompareExchange(ref this.m_onClassificationStarted, (HandleProcessDelegate)Delegate.Combine(handleProcessDelegate2, value), handleProcessDelegate);
|
|
||||||
}
|
|
||||||
while (handleProcessDelegate != handleProcessDelegate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleProcessDelegate handleProcessDelegate = this.m_onClassificationStarted;
|
|
||||||
HandleProcessDelegate handleProcessDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleProcessDelegate2 = handleProcessDelegate;
|
|
||||||
handleProcessDelegate = Interlocked.CompareExchange(ref this.m_onClassificationStarted, (HandleProcessDelegate)Delegate.Remove(handleProcessDelegate2, value), handleProcessDelegate);
|
|
||||||
}
|
|
||||||
while (handleProcessDelegate != handleProcessDelegate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private event HandleProcessDelegate onClassificationComplete
|
private event HandleProcessDelegate onClassificationComplete;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleProcessDelegate handleProcessDelegate = this.m_onClassificationComplete;
|
|
||||||
HandleProcessDelegate handleProcessDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleProcessDelegate2 = handleProcessDelegate;
|
|
||||||
handleProcessDelegate = Interlocked.CompareExchange(ref this.m_onClassificationComplete, (HandleProcessDelegate)Delegate.Combine(handleProcessDelegate2, value), handleProcessDelegate);
|
|
||||||
}
|
|
||||||
while (handleProcessDelegate != handleProcessDelegate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleProcessDelegate handleProcessDelegate = this.m_onClassificationComplete;
|
|
||||||
HandleProcessDelegate handleProcessDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleProcessDelegate2 = handleProcessDelegate;
|
|
||||||
handleProcessDelegate = Interlocked.CompareExchange(ref this.m_onClassificationComplete, (HandleProcessDelegate)Delegate.Remove(handleProcessDelegate2, value), handleProcessDelegate);
|
|
||||||
}
|
|
||||||
while (handleProcessDelegate != handleProcessDelegate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Awake()
|
public void Awake()
|
||||||
{
|
{
|
||||||
|
@ -590,18 +392,18 @@ namespace DiscoCapture
|
||||||
|
|
||||||
public void AddListener(CaptureEvent type, HandleProcessDelegate action)
|
public void AddListener(CaptureEvent type, HandleProcessDelegate action)
|
||||||
{
|
{
|
||||||
HandleProcessDelegate[] captureEvents;
|
HandleProcessDelegate[] captureEvents = _captureEvents;
|
||||||
int num;
|
int num = (int)type;
|
||||||
(captureEvents = _captureEvents)[num = (int)type] = (HandleProcessDelegate)Delegate.Combine(captureEvents[num], action);
|
captureEvents[num] = (HandleProcessDelegate)Delegate.Combine(captureEvents[num], action);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RemoveListener(CaptureEvent type, HandleProcessDelegate action)
|
public void RemoveListener(CaptureEvent type, HandleProcessDelegate action)
|
||||||
{
|
{
|
||||||
if (_captureEvents[(int)type] != null)
|
if (_captureEvents[(int)type] != null)
|
||||||
{
|
{
|
||||||
HandleProcessDelegate[] captureEvents;
|
HandleProcessDelegate[] captureEvents = _captureEvents;
|
||||||
int num;
|
int num = (int)type;
|
||||||
(captureEvents = _captureEvents)[num = (int)type] = (HandleProcessDelegate)Delegate.Remove(captureEvents[num], action);
|
captureEvents[num] = (HandleProcessDelegate)Delegate.Combine(captureEvents[num], action);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using OpenCVForUnity;
|
using OpenCVForUnity;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -29,35 +27,7 @@ namespace DiscoCapture
|
||||||
|
|
||||||
private int _saveIndex;
|
private int _saveIndex;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleDownloadComplete OnDownloadComplete;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleDownloadComplete m_OnDownloadComplete;
|
|
||||||
|
|
||||||
public event HandleDownloadComplete OnDownloadComplete
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleDownloadComplete handleDownloadComplete = this.m_OnDownloadComplete;
|
|
||||||
HandleDownloadComplete handleDownloadComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDownloadComplete2 = handleDownloadComplete;
|
|
||||||
handleDownloadComplete = Interlocked.CompareExchange(ref this.m_OnDownloadComplete, (HandleDownloadComplete)Delegate.Combine(handleDownloadComplete2, value), handleDownloadComplete);
|
|
||||||
}
|
|
||||||
while (handleDownloadComplete != handleDownloadComplete2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleDownloadComplete handleDownloadComplete = this.m_OnDownloadComplete;
|
|
||||||
HandleDownloadComplete handleDownloadComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDownloadComplete2 = handleDownloadComplete;
|
|
||||||
handleDownloadComplete = Interlocked.CompareExchange(ref this.m_OnDownloadComplete, (HandleDownloadComplete)Delegate.Remove(handleDownloadComplete2, value), handleDownloadComplete);
|
|
||||||
}
|
|
||||||
while (handleDownloadComplete != handleDownloadComplete2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using OpenCVForUnity;
|
using OpenCVForUnity;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -27,18 +25,6 @@ namespace DiscoCapture
|
||||||
|
|
||||||
public WebCamDevice webCamDevice;
|
public WebCamDevice webCamDevice;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleNatCamPreviewUpdate m_OnPreviewUpdate;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleCameraPropertiesCached m_OnCachedCameraProperties;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleExposureBiasChanged m_OnExposureBiasChanged;
|
|
||||||
|
|
||||||
private bool _hasCachedProperties;
|
private bool _hasCachedProperties;
|
||||||
|
|
||||||
public static bool CameraStarted;
|
public static bool CameraStarted;
|
||||||
|
@ -51,83 +37,11 @@ namespace DiscoCapture
|
||||||
|
|
||||||
private static int _framesToWait = 1;
|
private static int _framesToWait = 1;
|
||||||
|
|
||||||
public event HandleNatCamPreviewUpdate OnPreviewUpdate
|
public event HandleNatCamPreviewUpdate OnPreviewUpdate;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleNatCamPreviewUpdate handleNatCamPreviewUpdate = this.m_OnPreviewUpdate;
|
|
||||||
HandleNatCamPreviewUpdate handleNatCamPreviewUpdate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleNatCamPreviewUpdate2 = handleNatCamPreviewUpdate;
|
|
||||||
handleNatCamPreviewUpdate = Interlocked.CompareExchange(ref this.m_OnPreviewUpdate, (HandleNatCamPreviewUpdate)Delegate.Combine(handleNatCamPreviewUpdate2, value), handleNatCamPreviewUpdate);
|
|
||||||
}
|
|
||||||
while (handleNatCamPreviewUpdate != handleNatCamPreviewUpdate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleNatCamPreviewUpdate handleNatCamPreviewUpdate = this.m_OnPreviewUpdate;
|
|
||||||
HandleNatCamPreviewUpdate handleNatCamPreviewUpdate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleNatCamPreviewUpdate2 = handleNatCamPreviewUpdate;
|
|
||||||
handleNatCamPreviewUpdate = Interlocked.CompareExchange(ref this.m_OnPreviewUpdate, (HandleNatCamPreviewUpdate)Delegate.Remove(handleNatCamPreviewUpdate2, value), handleNatCamPreviewUpdate);
|
|
||||||
}
|
|
||||||
while (handleNatCamPreviewUpdate != handleNatCamPreviewUpdate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleCameraPropertiesCached OnCachedCameraProperties
|
public event HandleCameraPropertiesCached OnCachedCameraProperties;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleCameraPropertiesCached handleCameraPropertiesCached = this.m_OnCachedCameraProperties;
|
|
||||||
HandleCameraPropertiesCached handleCameraPropertiesCached2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleCameraPropertiesCached2 = handleCameraPropertiesCached;
|
|
||||||
handleCameraPropertiesCached = Interlocked.CompareExchange(ref this.m_OnCachedCameraProperties, (HandleCameraPropertiesCached)Delegate.Combine(handleCameraPropertiesCached2, value), handleCameraPropertiesCached);
|
|
||||||
}
|
|
||||||
while (handleCameraPropertiesCached != handleCameraPropertiesCached2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleCameraPropertiesCached handleCameraPropertiesCached = this.m_OnCachedCameraProperties;
|
|
||||||
HandleCameraPropertiesCached handleCameraPropertiesCached2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleCameraPropertiesCached2 = handleCameraPropertiesCached;
|
|
||||||
handleCameraPropertiesCached = Interlocked.CompareExchange(ref this.m_OnCachedCameraProperties, (HandleCameraPropertiesCached)Delegate.Remove(handleCameraPropertiesCached2, value), handleCameraPropertiesCached);
|
|
||||||
}
|
|
||||||
while (handleCameraPropertiesCached != handleCameraPropertiesCached2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleExposureBiasChanged OnExposureBiasChanged
|
public event HandleExposureBiasChanged OnExposureBiasChanged;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleExposureBiasChanged handleExposureBiasChanged = this.m_OnExposureBiasChanged;
|
|
||||||
HandleExposureBiasChanged handleExposureBiasChanged2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleExposureBiasChanged2 = handleExposureBiasChanged;
|
|
||||||
handleExposureBiasChanged = Interlocked.CompareExchange(ref this.m_OnExposureBiasChanged, (HandleExposureBiasChanged)Delegate.Combine(handleExposureBiasChanged2, value), handleExposureBiasChanged);
|
|
||||||
}
|
|
||||||
while (handleExposureBiasChanged != handleExposureBiasChanged2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleExposureBiasChanged handleExposureBiasChanged = this.m_OnExposureBiasChanged;
|
|
||||||
HandleExposureBiasChanged handleExposureBiasChanged2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleExposureBiasChanged2 = handleExposureBiasChanged;
|
|
||||||
handleExposureBiasChanged = Interlocked.CompareExchange(ref this.m_OnExposureBiasChanged, (HandleExposureBiasChanged)Delegate.Remove(handleExposureBiasChanged2, value), handleExposureBiasChanged);
|
|
||||||
}
|
|
||||||
while (handleExposureBiasChanged != handleExposureBiasChanged2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -226,7 +226,7 @@ public sealed class EnemyLaser : PoolableComponent
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
switch (layerMask)
|
switch ((long)layerMask)
|
||||||
{
|
{
|
||||||
case 10L:
|
case 10L:
|
||||||
bloxelTile = attachedRigidbody.gameObject.GetComponent<BloxelTile>();
|
bloxelTile = attachedRigidbody.gameObject.GetComponent<BloxelTile>();
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -40,65 +38,9 @@ public class FilterableSquares : MonoBehaviour
|
||||||
|
|
||||||
public UnityEngine.Object simpleSquarePrefab;
|
public UnityEngine.Object simpleSquarePrefab;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleSquareUpdate OnSquare;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleSquareUpdate m_OnSquare;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandlePopulateComplete OnPopulateComplete;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandlePopulateComplete m_OnPopulateComplete;
|
|
||||||
|
|
||||||
public event HandleSquareUpdate OnSquare
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleSquareUpdate handleSquareUpdate = this.m_OnSquare;
|
|
||||||
HandleSquareUpdate handleSquareUpdate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleSquareUpdate2 = handleSquareUpdate;
|
|
||||||
handleSquareUpdate = Interlocked.CompareExchange(ref this.m_OnSquare, (HandleSquareUpdate)Delegate.Combine(handleSquareUpdate2, value), handleSquareUpdate);
|
|
||||||
}
|
|
||||||
while (handleSquareUpdate != handleSquareUpdate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleSquareUpdate handleSquareUpdate = this.m_OnSquare;
|
|
||||||
HandleSquareUpdate handleSquareUpdate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleSquareUpdate2 = handleSquareUpdate;
|
|
||||||
handleSquareUpdate = Interlocked.CompareExchange(ref this.m_OnSquare, (HandleSquareUpdate)Delegate.Remove(handleSquareUpdate2, value), handleSquareUpdate);
|
|
||||||
}
|
|
||||||
while (handleSquareUpdate != handleSquareUpdate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandlePopulateComplete OnPopulateComplete
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandlePopulateComplete handlePopulateComplete = this.m_OnPopulateComplete;
|
|
||||||
HandlePopulateComplete handlePopulateComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handlePopulateComplete2 = handlePopulateComplete;
|
|
||||||
handlePopulateComplete = Interlocked.CompareExchange(ref this.m_OnPopulateComplete, (HandlePopulateComplete)Delegate.Combine(handlePopulateComplete2, value), handlePopulateComplete);
|
|
||||||
}
|
|
||||||
while (handlePopulateComplete != handlePopulateComplete2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandlePopulateComplete handlePopulateComplete = this.m_OnPopulateComplete;
|
|
||||||
HandlePopulateComplete handlePopulateComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handlePopulateComplete2 = handlePopulateComplete;
|
|
||||||
handlePopulateComplete = Interlocked.CompareExchange(ref this.m_OnPopulateComplete, (HandlePopulateComplete)Delegate.Remove(handlePopulateComplete2, value), handlePopulateComplete);
|
|
||||||
}
|
|
||||||
while (handlePopulateComplete != handlePopulateComplete2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using TMPro;
|
using TMPro;
|
||||||
|
@ -103,32 +101,8 @@ public class GameBuilderCanvas : UIMoveable
|
||||||
|
|
||||||
public bool autoCloseLibrary = true;
|
public bool autoCloseLibrary = true;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private GameStart m_onGameStart;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleModeChange m_OnGameBuilderModeChange;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleProjectChange m_OnGameBuilderProjectChange;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleLevelChange m_OnGameBuilderLevelChange;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleNewGame m_OnNewGameInit;
|
|
||||||
|
|
||||||
public static ConfigIndicator[,] ConfigIncicators = new ConfigIndicator[13, 13];
|
public static ConfigIndicator[,] ConfigIncicators = new ConfigIndicator[13, 13];
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleConfigPressed m_OnConfigSelect;
|
|
||||||
|
|
||||||
public GameBuilderMode currentMode
|
public GameBuilderMode currentMode
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -181,161 +155,17 @@ public class GameBuilderCanvas : UIMoveable
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event GameStart onGameStart
|
public event GameStart onGameStart;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
GameStart gameStart = this.m_onGameStart;
|
|
||||||
GameStart gameStart2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
gameStart2 = gameStart;
|
|
||||||
gameStart = Interlocked.CompareExchange(ref this.m_onGameStart, (GameStart)Delegate.Combine(gameStart2, value), gameStart);
|
|
||||||
}
|
|
||||||
while (gameStart != gameStart2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
GameStart gameStart = this.m_onGameStart;
|
|
||||||
GameStart gameStart2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
gameStart2 = gameStart;
|
|
||||||
gameStart = Interlocked.CompareExchange(ref this.m_onGameStart, (GameStart)Delegate.Remove(gameStart2, value), gameStart);
|
|
||||||
}
|
|
||||||
while (gameStart != gameStart2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleModeChange OnGameBuilderModeChange
|
public event HandleModeChange OnGameBuilderModeChange;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleModeChange handleModeChange = this.m_OnGameBuilderModeChange;
|
|
||||||
HandleModeChange handleModeChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleModeChange2 = handleModeChange;
|
|
||||||
handleModeChange = Interlocked.CompareExchange(ref this.m_OnGameBuilderModeChange, (HandleModeChange)Delegate.Combine(handleModeChange2, value), handleModeChange);
|
|
||||||
}
|
|
||||||
while (handleModeChange != handleModeChange2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleModeChange handleModeChange = this.m_OnGameBuilderModeChange;
|
|
||||||
HandleModeChange handleModeChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleModeChange2 = handleModeChange;
|
|
||||||
handleModeChange = Interlocked.CompareExchange(ref this.m_OnGameBuilderModeChange, (HandleModeChange)Delegate.Remove(handleModeChange2, value), handleModeChange);
|
|
||||||
}
|
|
||||||
while (handleModeChange != handleModeChange2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleProjectChange OnGameBuilderProjectChange
|
public event HandleProjectChange OnGameBuilderProjectChange;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleProjectChange handleProjectChange = this.m_OnGameBuilderProjectChange;
|
|
||||||
HandleProjectChange handleProjectChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleProjectChange2 = handleProjectChange;
|
|
||||||
handleProjectChange = Interlocked.CompareExchange(ref this.m_OnGameBuilderProjectChange, (HandleProjectChange)Delegate.Combine(handleProjectChange2, value), handleProjectChange);
|
|
||||||
}
|
|
||||||
while (handleProjectChange != handleProjectChange2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleProjectChange handleProjectChange = this.m_OnGameBuilderProjectChange;
|
|
||||||
HandleProjectChange handleProjectChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleProjectChange2 = handleProjectChange;
|
|
||||||
handleProjectChange = Interlocked.CompareExchange(ref this.m_OnGameBuilderProjectChange, (HandleProjectChange)Delegate.Remove(handleProjectChange2, value), handleProjectChange);
|
|
||||||
}
|
|
||||||
while (handleProjectChange != handleProjectChange2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleLevelChange OnGameBuilderLevelChange
|
public event HandleLevelChange OnGameBuilderLevelChange;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleLevelChange handleLevelChange = this.m_OnGameBuilderLevelChange;
|
|
||||||
HandleLevelChange handleLevelChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleLevelChange2 = handleLevelChange;
|
|
||||||
handleLevelChange = Interlocked.CompareExchange(ref this.m_OnGameBuilderLevelChange, (HandleLevelChange)Delegate.Combine(handleLevelChange2, value), handleLevelChange);
|
|
||||||
}
|
|
||||||
while (handleLevelChange != handleLevelChange2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleLevelChange handleLevelChange = this.m_OnGameBuilderLevelChange;
|
|
||||||
HandleLevelChange handleLevelChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleLevelChange2 = handleLevelChange;
|
|
||||||
handleLevelChange = Interlocked.CompareExchange(ref this.m_OnGameBuilderLevelChange, (HandleLevelChange)Delegate.Remove(handleLevelChange2, value), handleLevelChange);
|
|
||||||
}
|
|
||||||
while (handleLevelChange != handleLevelChange2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleNewGame OnNewGameInit
|
public event HandleNewGame OnNewGameInit;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleNewGame handleNewGame = this.m_OnNewGameInit;
|
|
||||||
HandleNewGame handleNewGame2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleNewGame2 = handleNewGame;
|
|
||||||
handleNewGame = Interlocked.CompareExchange(ref this.m_OnNewGameInit, (HandleNewGame)Delegate.Combine(handleNewGame2, value), handleNewGame);
|
|
||||||
}
|
|
||||||
while (handleNewGame != handleNewGame2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleNewGame handleNewGame = this.m_OnNewGameInit;
|
|
||||||
HandleNewGame handleNewGame2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleNewGame2 = handleNewGame;
|
|
||||||
handleNewGame = Interlocked.CompareExchange(ref this.m_OnNewGameInit, (HandleNewGame)Delegate.Remove(handleNewGame2, value), handleNewGame);
|
|
||||||
}
|
|
||||||
while (handleNewGame != handleNewGame2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleConfigPressed OnConfigSelect
|
public event HandleConfigPressed OnConfigSelect;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleConfigPressed handleConfigPressed = this.m_OnConfigSelect;
|
|
||||||
HandleConfigPressed handleConfigPressed2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleConfigPressed2 = handleConfigPressed;
|
|
||||||
handleConfigPressed = Interlocked.CompareExchange(ref this.m_OnConfigSelect, (HandleConfigPressed)Delegate.Combine(handleConfigPressed2, value), handleConfigPressed);
|
|
||||||
}
|
|
||||||
while (handleConfigPressed != handleConfigPressed2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleConfigPressed handleConfigPressed = this.m_OnConfigSelect;
|
|
||||||
HandleConfigPressed handleConfigPressed2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleConfigPressed2 = handleConfigPressed;
|
|
||||||
handleConfigPressed = Interlocked.CompareExchange(ref this.m_OnConfigSelect, (HandleConfigPressed)Delegate.Remove(handleConfigPressed2, value), handleConfigPressed);
|
|
||||||
}
|
|
||||||
while (handleConfigPressed != handleConfigPressed2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private new void Awake()
|
private new void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
@ -15,35 +13,7 @@ public class GameParserJob : ThreadedJob
|
||||||
|
|
||||||
public BloxelGame game;
|
public BloxelGame game;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleParseComplete OnComplete;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleParseComplete m_OnComplete;
|
|
||||||
|
|
||||||
public event HandleParseComplete OnComplete
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Combine(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Remove(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void ThreadFunction()
|
protected override void ThreadFunction()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -67,10 +65,6 @@ public class GameplayController : MonoBehaviour
|
||||||
|
|
||||||
public GameObject checkPointPrefab;
|
public GameObject checkPointPrefab;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private GameStart m_onGameStart;
|
|
||||||
|
|
||||||
public static GameplayController instance;
|
public static GameplayController instance;
|
||||||
|
|
||||||
public Mode currentMode;
|
public Mode currentMode;
|
||||||
|
@ -128,10 +122,6 @@ public class GameplayController : MonoBehaviour
|
||||||
|
|
||||||
public static Dictionary<PowerUpType, Sprite> powerupSprites;
|
public static Dictionary<PowerUpType, Sprite> powerupSprites;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleReset m_OnReset;
|
|
||||||
|
|
||||||
public Material waterMat { get; private set; }
|
public Material waterMat { get; private set; }
|
||||||
|
|
||||||
public bool gameplayActive
|
public bool gameplayActive
|
||||||
|
@ -146,57 +136,9 @@ public class GameplayController : MonoBehaviour
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event GameStart onGameStart
|
public event GameStart onGameStart;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
GameStart gameStart = this.m_onGameStart;
|
|
||||||
GameStart gameStart2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
gameStart2 = gameStart;
|
|
||||||
gameStart = Interlocked.CompareExchange(ref this.m_onGameStart, (GameStart)Delegate.Combine(gameStart2, value), gameStart);
|
|
||||||
}
|
|
||||||
while (gameStart != gameStart2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
GameStart gameStart = this.m_onGameStart;
|
|
||||||
GameStart gameStart2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
gameStart2 = gameStart;
|
|
||||||
gameStart = Interlocked.CompareExchange(ref this.m_onGameStart, (GameStart)Delegate.Remove(gameStart2, value), gameStart);
|
|
||||||
}
|
|
||||||
while (gameStart != gameStart2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleReset OnReset
|
public event HandleReset OnReset;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleReset handleReset = this.m_OnReset;
|
|
||||||
HandleReset handleReset2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleReset2 = handleReset;
|
|
||||||
handleReset = Interlocked.CompareExchange(ref this.m_OnReset, (HandleReset)Delegate.Combine(handleReset2, value), handleReset);
|
|
||||||
}
|
|
||||||
while (handleReset != handleReset2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleReset handleReset = this.m_OnReset;
|
|
||||||
HandleReset handleReset2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleReset2 = handleReset;
|
|
||||||
handleReset = Interlocked.CompareExchange(ref this.m_OnReset, (HandleReset)Delegate.Remove(handleReset2, value), handleReset);
|
|
||||||
}
|
|
||||||
while (handleReset != handleReset2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
@ -161,35 +159,7 @@ public abstract class GemUnlockable
|
||||||
|
|
||||||
public UIBuyable uiBuyable;
|
public UIBuyable uiBuyable;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleUnlock OnUnlock;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleUnlock m_OnUnlock;
|
|
||||||
|
|
||||||
public event HandleUnlock OnUnlock
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleUnlock handleUnlock = this.m_OnUnlock;
|
|
||||||
HandleUnlock handleUnlock2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUnlock2 = handleUnlock;
|
|
||||||
handleUnlock = Interlocked.CompareExchange(ref this.m_OnUnlock, (HandleUnlock)Delegate.Combine(handleUnlock2, value), handleUnlock);
|
|
||||||
}
|
|
||||||
while (handleUnlock != handleUnlock2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleUnlock handleUnlock = this.m_OnUnlock;
|
|
||||||
HandleUnlock handleUnlock2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUnlock2 = handleUnlock;
|
|
||||||
handleUnlock = Interlocked.CompareExchange(ref this.m_OnUnlock, (HandleUnlock)Delegate.Remove(handleUnlock2, value), handleUnlock);
|
|
||||||
}
|
|
||||||
while (handleUnlock != handleUnlock2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public abstract void Unlock();
|
public abstract void Unlock();
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using TMPro;
|
using TMPro;
|
||||||
|
@ -62,35 +60,7 @@ public class HomeMenu : MonoBehaviour
|
||||||
[Header("State Tracking")]
|
[Header("State Tracking")]
|
||||||
public bool isVisible;
|
public bool isVisible;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleVisibility OnChange;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleVisibility m_OnChange;
|
|
||||||
|
|
||||||
public event HandleVisibility OnChange
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleVisibility handleVisibility = this.m_OnChange;
|
|
||||||
HandleVisibility handleVisibility2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleVisibility2 = handleVisibility;
|
|
||||||
handleVisibility = Interlocked.CompareExchange(ref this.m_OnChange, (HandleVisibility)Delegate.Combine(handleVisibility2, value), handleVisibility);
|
|
||||||
}
|
|
||||||
while (handleVisibility != handleVisibility2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleVisibility handleVisibility = this.m_OnChange;
|
|
||||||
HandleVisibility handleVisibility2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleVisibility2 = handleVisibility;
|
|
||||||
handleVisibility = Interlocked.CompareExchange(ref this.m_OnChange, (HandleVisibility)Delegate.Remove(handleVisibility2, value), handleVisibility);
|
|
||||||
}
|
|
||||||
while (handleVisibility != handleVisibility2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
@ -46,10 +44,6 @@ public class InternetReachabilityVerifier : MonoBehaviour
|
||||||
|
|
||||||
public bool dontDestroyOnLoad = true;
|
public bool dontDestroyOnLoad = true;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private StatusChangedDelegate m_statusChangedDelegate;
|
|
||||||
|
|
||||||
private float noInternetStartTime;
|
private float noInternetStartTime;
|
||||||
|
|
||||||
private Status _status;
|
private Status _status;
|
||||||
|
@ -123,31 +117,7 @@ public class InternetReachabilityVerifier : MonoBehaviour
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event StatusChangedDelegate statusChangedDelegate
|
public event StatusChangedDelegate statusChangedDelegate;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
StatusChangedDelegate statusChangedDelegate = this.m_statusChangedDelegate;
|
|
||||||
StatusChangedDelegate statusChangedDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
statusChangedDelegate2 = statusChangedDelegate;
|
|
||||||
statusChangedDelegate = Interlocked.CompareExchange(ref this.m_statusChangedDelegate, (StatusChangedDelegate)Delegate.Combine(statusChangedDelegate2, value), statusChangedDelegate);
|
|
||||||
}
|
|
||||||
while (statusChangedDelegate != statusChangedDelegate2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
StatusChangedDelegate statusChangedDelegate = this.m_statusChangedDelegate;
|
|
||||||
StatusChangedDelegate statusChangedDelegate2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
statusChangedDelegate2 = statusChangedDelegate;
|
|
||||||
statusChangedDelegate = Interlocked.CompareExchange(ref this.m_statusChangedDelegate, (StatusChangedDelegate)Delegate.Remove(statusChangedDelegate2, value), statusChangedDelegate);
|
|
||||||
}
|
|
||||||
while (statusChangedDelegate != statusChangedDelegate2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public float getTimeWithoutInternetConnection()
|
public float getTimeWithoutInternetConnection()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.EventSystems;
|
using UnityEngine.EventSystems;
|
||||||
|
@ -18,35 +16,7 @@ public class LongPressEventTrigger : UIInteractable
|
||||||
|
|
||||||
private float timePressStarted;
|
private float timePressStarted;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleLongPress OnLongPress;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleLongPress m_OnLongPress;
|
|
||||||
|
|
||||||
public event HandleLongPress OnLongPress
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleLongPress handleLongPress = this.m_OnLongPress;
|
|
||||||
HandleLongPress handleLongPress2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleLongPress2 = handleLongPress;
|
|
||||||
handleLongPress = Interlocked.CompareExchange(ref this.m_OnLongPress, (HandleLongPress)Delegate.Combine(handleLongPress2, value), handleLongPress);
|
|
||||||
}
|
|
||||||
while (handleLongPress != handleLongPress2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleLongPress handleLongPress = this.m_OnLongPress;
|
|
||||||
HandleLongPress handleLongPress2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleLongPress2 = handleLongPress;
|
|
||||||
handleLongPress = Interlocked.CompareExchange(ref this.m_OnLongPress, (HandleLongPress)Delegate.Remove(handleLongPress2, value), handleLongPress);
|
|
||||||
}
|
|
||||||
while (handleLongPress != handleLongPress2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Update()
|
private void Update()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -107,37 +105,9 @@ public class MegaBoardCanvas : UIMoveable
|
||||||
|
|
||||||
public Vector3 dragOffset;
|
public Vector3 dragOffset;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleTileSelect m_OnTileSelect;
|
|
||||||
|
|
||||||
private System.Random rand = new System.Random();
|
private System.Random rand = new System.Random();
|
||||||
|
|
||||||
public event HandleTileSelect OnTileSelect
|
public event HandleTileSelect OnTileSelect;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleTileSelect handleTileSelect = this.m_OnTileSelect;
|
|
||||||
HandleTileSelect handleTileSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleTileSelect2 = handleTileSelect;
|
|
||||||
handleTileSelect = Interlocked.CompareExchange(ref this.m_OnTileSelect, (HandleTileSelect)Delegate.Combine(handleTileSelect2, value), handleTileSelect);
|
|
||||||
}
|
|
||||||
while (handleTileSelect != handleTileSelect2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleTileSelect handleTileSelect = this.m_OnTileSelect;
|
|
||||||
HandleTileSelect handleTileSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleTileSelect2 = handleTileSelect;
|
|
||||||
handleTileSelect = Interlocked.CompareExchange(ref this.m_OnTileSelect, (HandleTileSelect)Delegate.Remove(handleTileSelect2, value), handleTileSelect);
|
|
||||||
}
|
|
||||||
while (handleTileSelect != handleTileSelect2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private new void Awake()
|
private new void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
|
||||||
public class MegaBoardParserJob : ThreadedJob
|
public class MegaBoardParserJob : ThreadedJob
|
||||||
|
@ -13,35 +11,7 @@ public class MegaBoardParserJob : ThreadedJob
|
||||||
|
|
||||||
public BloxelMegaBoard megaBoard;
|
public BloxelMegaBoard megaBoard;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleParseComplete OnComplete;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleParseComplete m_OnComplete;
|
|
||||||
|
|
||||||
public event HandleParseComplete OnComplete
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Combine(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Remove(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void ThreadFunction()
|
protected override void ThreadFunction()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -59,95 +57,11 @@ public class MegaBoardTile : MonoBehaviour, IPointerDownHandler, IPointerUpHandl
|
||||||
|
|
||||||
private ScrollRect _scrollRect;
|
private ScrollRect _scrollRect;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleProjectSelect OnSelect;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleProjectSelect m_OnSelect;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleDragStart OnDragStart;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleDragStart m_OnDragStart;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleDragEnd OnDragEnd;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleDragEnd m_OnDragEnd;
|
|
||||||
|
|
||||||
public event HandleProjectSelect OnSelect
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleProjectSelect handleProjectSelect = this.m_OnSelect;
|
|
||||||
HandleProjectSelect handleProjectSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleProjectSelect2 = handleProjectSelect;
|
|
||||||
handleProjectSelect = Interlocked.CompareExchange(ref this.m_OnSelect, (HandleProjectSelect)Delegate.Combine(handleProjectSelect2, value), handleProjectSelect);
|
|
||||||
}
|
|
||||||
while (handleProjectSelect != handleProjectSelect2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleProjectSelect handleProjectSelect = this.m_OnSelect;
|
|
||||||
HandleProjectSelect handleProjectSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleProjectSelect2 = handleProjectSelect;
|
|
||||||
handleProjectSelect = Interlocked.CompareExchange(ref this.m_OnSelect, (HandleProjectSelect)Delegate.Remove(handleProjectSelect2, value), handleProjectSelect);
|
|
||||||
}
|
|
||||||
while (handleProjectSelect != handleProjectSelect2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleDragStart OnDragStart
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleDragStart handleDragStart = this.m_OnDragStart;
|
|
||||||
HandleDragStart handleDragStart2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDragStart2 = handleDragStart;
|
|
||||||
handleDragStart = Interlocked.CompareExchange(ref this.m_OnDragStart, (HandleDragStart)Delegate.Combine(handleDragStart2, value), handleDragStart);
|
|
||||||
}
|
|
||||||
while (handleDragStart != handleDragStart2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleDragStart handleDragStart = this.m_OnDragStart;
|
|
||||||
HandleDragStart handleDragStart2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDragStart2 = handleDragStart;
|
|
||||||
handleDragStart = Interlocked.CompareExchange(ref this.m_OnDragStart, (HandleDragStart)Delegate.Remove(handleDragStart2, value), handleDragStart);
|
|
||||||
}
|
|
||||||
while (handleDragStart != handleDragStart2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleDragEnd OnDragEnd
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleDragEnd handleDragEnd = this.m_OnDragEnd;
|
|
||||||
HandleDragEnd handleDragEnd2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDragEnd2 = handleDragEnd;
|
|
||||||
handleDragEnd = Interlocked.CompareExchange(ref this.m_OnDragEnd, (HandleDragEnd)Delegate.Combine(handleDragEnd2, value), handleDragEnd);
|
|
||||||
}
|
|
||||||
while (handleDragEnd != handleDragEnd2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleDragEnd handleDragEnd = this.m_OnDragEnd;
|
|
||||||
HandleDragEnd handleDragEnd2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDragEnd2 = handleDragEnd;
|
|
||||||
handleDragEnd = Interlocked.CompareExchange(ref this.m_OnDragEnd, (HandleDragEnd)Delegate.Remove(handleDragEnd2, value), handleDragEnd);
|
|
||||||
}
|
|
||||||
while (handleDragEnd != handleDragEnd2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Runtime.Serialization;
|
using System.Runtime.Serialization;
|
||||||
using System.Runtime.Serialization.Formatters;
|
using System.Runtime.Serialization.Formatters;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
|
|
@ -80,10 +80,6 @@ namespace Newtonsoft.Json
|
||||||
|
|
||||||
private SchemaScope _currentScope;
|
private SchemaScope _currentScope;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private ValidationEventHandler m_ValidationEventHandler;
|
|
||||||
|
|
||||||
int IJsonLineInfo.LineNumber
|
int IJsonLineInfo.LineNumber
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -260,31 +256,7 @@ namespace Newtonsoft.Json
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event ValidationEventHandler ValidationEventHandler
|
public event ValidationEventHandler ValidationEventHandler;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
ValidationEventHandler validationEventHandler = this.m_ValidationEventHandler;
|
|
||||||
ValidationEventHandler validationEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
validationEventHandler2 = validationEventHandler;
|
|
||||||
validationEventHandler = Interlocked.CompareExchange(ref this.m_ValidationEventHandler, (ValidationEventHandler)Delegate.Combine(validationEventHandler2, value), validationEventHandler);
|
|
||||||
}
|
|
||||||
while (validationEventHandler != validationEventHandler2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
ValidationEventHandler validationEventHandler = this.m_ValidationEventHandler;
|
|
||||||
ValidationEventHandler validationEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
validationEventHandler2 = validationEventHandler;
|
|
||||||
validationEventHandler = Interlocked.CompareExchange(ref this.m_ValidationEventHandler, (ValidationEventHandler)Delegate.Remove(validationEventHandler2, value), validationEventHandler);
|
|
||||||
}
|
|
||||||
while (validationEventHandler != validationEventHandler2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public JsonValidatingReader(JsonReader reader)
|
public JsonValidatingReader(JsonReader reader)
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,11 +3,9 @@ using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using Newtonsoft.Json.Utilities;
|
using Newtonsoft.Json.Utilities;
|
||||||
|
|
||||||
|
@ -50,10 +48,6 @@ namespace Newtonsoft.Json.Linq
|
||||||
|
|
||||||
private JPropertKeyedCollection _properties = new JPropertKeyedCollection(StringComparer.Ordinal);
|
private JPropertKeyedCollection _properties = new JPropertKeyedCollection(StringComparer.Ordinal);
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private PropertyChangedEventHandler m_PropertyChanged;
|
|
||||||
|
|
||||||
ICollection<string> IDictionary<string, JToken>.Keys
|
ICollection<string> IDictionary<string, JToken>.Keys
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -139,31 +133,7 @@ namespace Newtonsoft.Json.Linq
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event PropertyChangedEventHandler PropertyChanged
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
PropertyChangedEventHandler propertyChangedEventHandler = this.m_PropertyChanged;
|
|
||||||
PropertyChangedEventHandler propertyChangedEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
propertyChangedEventHandler2 = propertyChangedEventHandler;
|
|
||||||
propertyChangedEventHandler = Interlocked.CompareExchange(ref this.m_PropertyChanged, (PropertyChangedEventHandler)Delegate.Combine(propertyChangedEventHandler2, value), propertyChangedEventHandler);
|
|
||||||
}
|
|
||||||
while (propertyChangedEventHandler != propertyChangedEventHandler2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
PropertyChangedEventHandler propertyChangedEventHandler = this.m_PropertyChanged;
|
|
||||||
PropertyChangedEventHandler propertyChangedEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
propertyChangedEventHandler2 = propertyChangedEventHandler;
|
|
||||||
propertyChangedEventHandler = Interlocked.CompareExchange(ref this.m_PropertyChanged, (PropertyChangedEventHandler)Delegate.Remove(propertyChangedEventHandler2, value), propertyChangedEventHandler);
|
|
||||||
}
|
|
||||||
while (propertyChangedEventHandler != propertyChangedEventHandler2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public JObject()
|
public JObject()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
@ -72,38 +70,6 @@ public class PPInputController : MonoBehaviour
|
||||||
|
|
||||||
public static PPInputController instance;
|
public static PPInputController instance;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private static KeyboardInput m_OnKeyboard;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private static ButtonInput m_OnButton;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private static ButtonInput m_OnButtonReleased;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private static AxisInput m_OnAxisL;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private static AxisInput m_OnAxisR;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private static SwipeInput m_OnSwipeL;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private static SwipeInput m_OnSwipeR;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private static SchemeChanged m_OnSchemeChanged;
|
|
||||||
|
|
||||||
public GameObject canvasUIBase1024Object;
|
public GameObject canvasUIBase1024Object;
|
||||||
|
|
||||||
public RectTransform canvasTransfromUIBase1024;
|
public RectTransform canvasTransfromUIBase1024;
|
||||||
|
@ -178,213 +144,21 @@ public class PPInputController : MonoBehaviour
|
||||||
|
|
||||||
public static Direction currentInputSwipeR;
|
public static Direction currentInputSwipeR;
|
||||||
|
|
||||||
public static event KeyboardInput OnKeyboard
|
public static event KeyboardInput OnKeyboard;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
KeyboardInput keyboardInput = PPInputController.m_OnKeyboard;
|
|
||||||
KeyboardInput keyboardInput2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
keyboardInput2 = keyboardInput;
|
|
||||||
keyboardInput = Interlocked.CompareExchange(ref PPInputController.m_OnKeyboard, (KeyboardInput)Delegate.Combine(keyboardInput2, value), keyboardInput);
|
|
||||||
}
|
|
||||||
while (keyboardInput != keyboardInput2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
KeyboardInput keyboardInput = PPInputController.m_OnKeyboard;
|
|
||||||
KeyboardInput keyboardInput2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
keyboardInput2 = keyboardInput;
|
|
||||||
keyboardInput = Interlocked.CompareExchange(ref PPInputController.m_OnKeyboard, (KeyboardInput)Delegate.Remove(keyboardInput2, value), keyboardInput);
|
|
||||||
}
|
|
||||||
while (keyboardInput != keyboardInput2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static event ButtonInput OnButton
|
public static event ButtonInput OnButton;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
ButtonInput buttonInput = PPInputController.m_OnButton;
|
|
||||||
ButtonInput buttonInput2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
buttonInput2 = buttonInput;
|
|
||||||
buttonInput = Interlocked.CompareExchange(ref PPInputController.m_OnButton, (ButtonInput)Delegate.Combine(buttonInput2, value), buttonInput);
|
|
||||||
}
|
|
||||||
while (buttonInput != buttonInput2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
ButtonInput buttonInput = PPInputController.m_OnButton;
|
|
||||||
ButtonInput buttonInput2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
buttonInput2 = buttonInput;
|
|
||||||
buttonInput = Interlocked.CompareExchange(ref PPInputController.m_OnButton, (ButtonInput)Delegate.Remove(buttonInput2, value), buttonInput);
|
|
||||||
}
|
|
||||||
while (buttonInput != buttonInput2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static event ButtonInput OnButtonReleased
|
public static event ButtonInput OnButtonReleased;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
ButtonInput buttonInput = PPInputController.m_OnButtonReleased;
|
|
||||||
ButtonInput buttonInput2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
buttonInput2 = buttonInput;
|
|
||||||
buttonInput = Interlocked.CompareExchange(ref PPInputController.m_OnButtonReleased, (ButtonInput)Delegate.Combine(buttonInput2, value), buttonInput);
|
|
||||||
}
|
|
||||||
while (buttonInput != buttonInput2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
ButtonInput buttonInput = PPInputController.m_OnButtonReleased;
|
|
||||||
ButtonInput buttonInput2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
buttonInput2 = buttonInput;
|
|
||||||
buttonInput = Interlocked.CompareExchange(ref PPInputController.m_OnButtonReleased, (ButtonInput)Delegate.Remove(buttonInput2, value), buttonInput);
|
|
||||||
}
|
|
||||||
while (buttonInput != buttonInput2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static event AxisInput OnAxisL
|
public static event AxisInput OnAxisL;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
AxisInput axisInput = PPInputController.m_OnAxisL;
|
|
||||||
AxisInput axisInput2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
axisInput2 = axisInput;
|
|
||||||
axisInput = Interlocked.CompareExchange(ref PPInputController.m_OnAxisL, (AxisInput)Delegate.Combine(axisInput2, value), axisInput);
|
|
||||||
}
|
|
||||||
while (axisInput != axisInput2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
AxisInput axisInput = PPInputController.m_OnAxisL;
|
|
||||||
AxisInput axisInput2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
axisInput2 = axisInput;
|
|
||||||
axisInput = Interlocked.CompareExchange(ref PPInputController.m_OnAxisL, (AxisInput)Delegate.Remove(axisInput2, value), axisInput);
|
|
||||||
}
|
|
||||||
while (axisInput != axisInput2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static event AxisInput OnAxisR
|
public static event AxisInput OnAxisR;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
AxisInput axisInput = PPInputController.m_OnAxisR;
|
|
||||||
AxisInput axisInput2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
axisInput2 = axisInput;
|
|
||||||
axisInput = Interlocked.CompareExchange(ref PPInputController.m_OnAxisR, (AxisInput)Delegate.Combine(axisInput2, value), axisInput);
|
|
||||||
}
|
|
||||||
while (axisInput != axisInput2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
AxisInput axisInput = PPInputController.m_OnAxisR;
|
|
||||||
AxisInput axisInput2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
axisInput2 = axisInput;
|
|
||||||
axisInput = Interlocked.CompareExchange(ref PPInputController.m_OnAxisR, (AxisInput)Delegate.Remove(axisInput2, value), axisInput);
|
|
||||||
}
|
|
||||||
while (axisInput != axisInput2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static event SwipeInput OnSwipeL
|
public static event SwipeInput OnSwipeL;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
SwipeInput swipeInput = PPInputController.m_OnSwipeL;
|
|
||||||
SwipeInput swipeInput2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
swipeInput2 = swipeInput;
|
|
||||||
swipeInput = Interlocked.CompareExchange(ref PPInputController.m_OnSwipeL, (SwipeInput)Delegate.Combine(swipeInput2, value), swipeInput);
|
|
||||||
}
|
|
||||||
while (swipeInput != swipeInput2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
SwipeInput swipeInput = PPInputController.m_OnSwipeL;
|
|
||||||
SwipeInput swipeInput2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
swipeInput2 = swipeInput;
|
|
||||||
swipeInput = Interlocked.CompareExchange(ref PPInputController.m_OnSwipeL, (SwipeInput)Delegate.Remove(swipeInput2, value), swipeInput);
|
|
||||||
}
|
|
||||||
while (swipeInput != swipeInput2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static event SwipeInput OnSwipeR
|
public static event SwipeInput OnSwipeR;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
SwipeInput swipeInput = PPInputController.m_OnSwipeR;
|
|
||||||
SwipeInput swipeInput2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
swipeInput2 = swipeInput;
|
|
||||||
swipeInput = Interlocked.CompareExchange(ref PPInputController.m_OnSwipeR, (SwipeInput)Delegate.Combine(swipeInput2, value), swipeInput);
|
|
||||||
}
|
|
||||||
while (swipeInput != swipeInput2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
SwipeInput swipeInput = PPInputController.m_OnSwipeR;
|
|
||||||
SwipeInput swipeInput2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
swipeInput2 = swipeInput;
|
|
||||||
swipeInput = Interlocked.CompareExchange(ref PPInputController.m_OnSwipeR, (SwipeInput)Delegate.Remove(swipeInput2, value), swipeInput);
|
|
||||||
}
|
|
||||||
while (swipeInput != swipeInput2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static event SchemeChanged OnSchemeChanged
|
public static event SchemeChanged OnSchemeChanged;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
SchemeChanged schemeChanged = PPInputController.m_OnSchemeChanged;
|
|
||||||
SchemeChanged schemeChanged2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
schemeChanged2 = schemeChanged;
|
|
||||||
schemeChanged = Interlocked.CompareExchange(ref PPInputController.m_OnSchemeChanged, (SchemeChanged)Delegate.Combine(schemeChanged2, value), schemeChanged);
|
|
||||||
}
|
|
||||||
while (schemeChanged != schemeChanged2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
SchemeChanged schemeChanged = PPInputController.m_OnSchemeChanged;
|
|
||||||
SchemeChanged schemeChanged2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
schemeChanged2 = schemeChanged;
|
|
||||||
schemeChanged = Interlocked.CompareExchange(ref PPInputController.m_OnSchemeChanged, (SchemeChanged)Delegate.Remove(schemeChanged2, value), schemeChanged);
|
|
||||||
}
|
|
||||||
while (schemeChanged != schemeChanged2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void OnDestroy()
|
private void OnDestroy()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -53,10 +51,6 @@ public class PixelEditorController : MonoBehaviour
|
||||||
|
|
||||||
public bool isHoldingShift;
|
public bool isHoldingShift;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleEditorModeChange m_OnEditorModeChange;
|
|
||||||
|
|
||||||
public UIButton uiButtonAddItem;
|
public UIButton uiButtonAddItem;
|
||||||
|
|
||||||
public Button uiButtonHelp;
|
public Button uiButtonHelp;
|
||||||
|
@ -71,31 +65,7 @@ public class PixelEditorController : MonoBehaviour
|
||||||
|
|
||||||
public UnityEngine.Object challengePrefab;
|
public UnityEngine.Object challengePrefab;
|
||||||
|
|
||||||
public event HandleEditorModeChange OnEditorModeChange
|
public event HandleEditorModeChange OnEditorModeChange;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleEditorModeChange handleEditorModeChange = this.m_OnEditorModeChange;
|
|
||||||
HandleEditorModeChange handleEditorModeChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleEditorModeChange2 = handleEditorModeChange;
|
|
||||||
handleEditorModeChange = Interlocked.CompareExchange(ref this.m_OnEditorModeChange, (HandleEditorModeChange)Delegate.Combine(handleEditorModeChange2, value), handleEditorModeChange);
|
|
||||||
}
|
|
||||||
while (handleEditorModeChange != handleEditorModeChange2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleEditorModeChange handleEditorModeChange = this.m_OnEditorModeChange;
|
|
||||||
HandleEditorModeChange handleEditorModeChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleEditorModeChange2 = handleEditorModeChange;
|
|
||||||
handleEditorModeChange = Interlocked.CompareExchange(ref this.m_OnEditorModeChange, (HandleEditorModeChange)Delegate.Remove(handleEditorModeChange2, value), handleEditorModeChange);
|
|
||||||
}
|
|
||||||
while (handleEditorModeChange != handleEditorModeChange2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -116,46 +114,6 @@ public class PixelEditorPaintBoard : UIMoveable
|
||||||
|
|
||||||
public UILineRenderer boundaryLeft;
|
public UILineRenderer boundaryLeft;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleBoardChange m_OnBoardChange;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleFlipBlocks m_OnFlip;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleShiftBlocks m_OnShift;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnPointerClick m_OnTilePointerClick;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnDrag m_OnTileDrag;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnBeginDrag m_OnTileBeginDrag;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnEndDrag m_OnTileEndDrag;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnPointerEnter m_OnTilePointerEnter;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnPointerExit m_OnTilePointerExit;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnPixelTileChange m_OnPixelTileChange;
|
|
||||||
|
|
||||||
public BloxelBoard currentBloxelBoard
|
public BloxelBoard currentBloxelBoard
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -172,265 +130,25 @@ public class PixelEditorPaintBoard : UIMoveable
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event HandleBoardChange OnBoardChange
|
public event HandleBoardChange OnBoardChange;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleBoardChange handleBoardChange = this.m_OnBoardChange;
|
|
||||||
HandleBoardChange handleBoardChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBoardChange2 = handleBoardChange;
|
|
||||||
handleBoardChange = Interlocked.CompareExchange(ref this.m_OnBoardChange, (HandleBoardChange)Delegate.Combine(handleBoardChange2, value), handleBoardChange);
|
|
||||||
}
|
|
||||||
while (handleBoardChange != handleBoardChange2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleBoardChange handleBoardChange = this.m_OnBoardChange;
|
|
||||||
HandleBoardChange handleBoardChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBoardChange2 = handleBoardChange;
|
|
||||||
handleBoardChange = Interlocked.CompareExchange(ref this.m_OnBoardChange, (HandleBoardChange)Delegate.Remove(handleBoardChange2, value), handleBoardChange);
|
|
||||||
}
|
|
||||||
while (handleBoardChange != handleBoardChange2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleFlipBlocks OnFlip
|
public event HandleFlipBlocks OnFlip;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleFlipBlocks handleFlipBlocks = this.m_OnFlip;
|
|
||||||
HandleFlipBlocks handleFlipBlocks2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleFlipBlocks2 = handleFlipBlocks;
|
|
||||||
handleFlipBlocks = Interlocked.CompareExchange(ref this.m_OnFlip, (HandleFlipBlocks)Delegate.Combine(handleFlipBlocks2, value), handleFlipBlocks);
|
|
||||||
}
|
|
||||||
while (handleFlipBlocks != handleFlipBlocks2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleFlipBlocks handleFlipBlocks = this.m_OnFlip;
|
|
||||||
HandleFlipBlocks handleFlipBlocks2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleFlipBlocks2 = handleFlipBlocks;
|
|
||||||
handleFlipBlocks = Interlocked.CompareExchange(ref this.m_OnFlip, (HandleFlipBlocks)Delegate.Remove(handleFlipBlocks2, value), handleFlipBlocks);
|
|
||||||
}
|
|
||||||
while (handleFlipBlocks != handleFlipBlocks2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleShiftBlocks OnShift
|
public event HandleShiftBlocks OnShift;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleShiftBlocks handleShiftBlocks = this.m_OnShift;
|
|
||||||
HandleShiftBlocks handleShiftBlocks2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleShiftBlocks2 = handleShiftBlocks;
|
|
||||||
handleShiftBlocks = Interlocked.CompareExchange(ref this.m_OnShift, (HandleShiftBlocks)Delegate.Combine(handleShiftBlocks2, value), handleShiftBlocks);
|
|
||||||
}
|
|
||||||
while (handleShiftBlocks != handleShiftBlocks2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleShiftBlocks handleShiftBlocks = this.m_OnShift;
|
|
||||||
HandleShiftBlocks handleShiftBlocks2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleShiftBlocks2 = handleShiftBlocks;
|
|
||||||
handleShiftBlocks = Interlocked.CompareExchange(ref this.m_OnShift, (HandleShiftBlocks)Delegate.Remove(handleShiftBlocks2, value), handleShiftBlocks);
|
|
||||||
}
|
|
||||||
while (handleShiftBlocks != handleShiftBlocks2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleOnPointerClick OnTilePointerClick
|
public event HandleOnPointerClick OnTilePointerClick;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnPointerClick handleOnPointerClick = this.m_OnTilePointerClick;
|
|
||||||
HandleOnPointerClick handleOnPointerClick2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnPointerClick2 = handleOnPointerClick;
|
|
||||||
handleOnPointerClick = Interlocked.CompareExchange(ref this.m_OnTilePointerClick, (HandleOnPointerClick)Delegate.Combine(handleOnPointerClick2, value), handleOnPointerClick);
|
|
||||||
}
|
|
||||||
while (handleOnPointerClick != handleOnPointerClick2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnPointerClick handleOnPointerClick = this.m_OnTilePointerClick;
|
|
||||||
HandleOnPointerClick handleOnPointerClick2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnPointerClick2 = handleOnPointerClick;
|
|
||||||
handleOnPointerClick = Interlocked.CompareExchange(ref this.m_OnTilePointerClick, (HandleOnPointerClick)Delegate.Remove(handleOnPointerClick2, value), handleOnPointerClick);
|
|
||||||
}
|
|
||||||
while (handleOnPointerClick != handleOnPointerClick2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleOnDrag OnTileDrag
|
public event HandleOnDrag OnTileDrag;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnDrag handleOnDrag = this.m_OnTileDrag;
|
|
||||||
HandleOnDrag handleOnDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnDrag2 = handleOnDrag;
|
|
||||||
handleOnDrag = Interlocked.CompareExchange(ref this.m_OnTileDrag, (HandleOnDrag)Delegate.Combine(handleOnDrag2, value), handleOnDrag);
|
|
||||||
}
|
|
||||||
while (handleOnDrag != handleOnDrag2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnDrag handleOnDrag = this.m_OnTileDrag;
|
|
||||||
HandleOnDrag handleOnDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnDrag2 = handleOnDrag;
|
|
||||||
handleOnDrag = Interlocked.CompareExchange(ref this.m_OnTileDrag, (HandleOnDrag)Delegate.Remove(handleOnDrag2, value), handleOnDrag);
|
|
||||||
}
|
|
||||||
while (handleOnDrag != handleOnDrag2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleOnBeginDrag OnTileBeginDrag
|
public event HandleOnBeginDrag OnTileBeginDrag;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnBeginDrag handleOnBeginDrag = this.m_OnTileBeginDrag;
|
|
||||||
HandleOnBeginDrag handleOnBeginDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnBeginDrag2 = handleOnBeginDrag;
|
|
||||||
handleOnBeginDrag = Interlocked.CompareExchange(ref this.m_OnTileBeginDrag, (HandleOnBeginDrag)Delegate.Combine(handleOnBeginDrag2, value), handleOnBeginDrag);
|
|
||||||
}
|
|
||||||
while (handleOnBeginDrag != handleOnBeginDrag2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnBeginDrag handleOnBeginDrag = this.m_OnTileBeginDrag;
|
|
||||||
HandleOnBeginDrag handleOnBeginDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnBeginDrag2 = handleOnBeginDrag;
|
|
||||||
handleOnBeginDrag = Interlocked.CompareExchange(ref this.m_OnTileBeginDrag, (HandleOnBeginDrag)Delegate.Remove(handleOnBeginDrag2, value), handleOnBeginDrag);
|
|
||||||
}
|
|
||||||
while (handleOnBeginDrag != handleOnBeginDrag2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleOnEndDrag OnTileEndDrag
|
public event HandleOnEndDrag OnTileEndDrag;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnEndDrag handleOnEndDrag = this.m_OnTileEndDrag;
|
|
||||||
HandleOnEndDrag handleOnEndDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnEndDrag2 = handleOnEndDrag;
|
|
||||||
handleOnEndDrag = Interlocked.CompareExchange(ref this.m_OnTileEndDrag, (HandleOnEndDrag)Delegate.Combine(handleOnEndDrag2, value), handleOnEndDrag);
|
|
||||||
}
|
|
||||||
while (handleOnEndDrag != handleOnEndDrag2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnEndDrag handleOnEndDrag = this.m_OnTileEndDrag;
|
|
||||||
HandleOnEndDrag handleOnEndDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnEndDrag2 = handleOnEndDrag;
|
|
||||||
handleOnEndDrag = Interlocked.CompareExchange(ref this.m_OnTileEndDrag, (HandleOnEndDrag)Delegate.Remove(handleOnEndDrag2, value), handleOnEndDrag);
|
|
||||||
}
|
|
||||||
while (handleOnEndDrag != handleOnEndDrag2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleOnPointerEnter OnTilePointerEnter
|
public event HandleOnPointerEnter OnTilePointerEnter;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnPointerEnter handleOnPointerEnter = this.m_OnTilePointerEnter;
|
|
||||||
HandleOnPointerEnter handleOnPointerEnter2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnPointerEnter2 = handleOnPointerEnter;
|
|
||||||
handleOnPointerEnter = Interlocked.CompareExchange(ref this.m_OnTilePointerEnter, (HandleOnPointerEnter)Delegate.Combine(handleOnPointerEnter2, value), handleOnPointerEnter);
|
|
||||||
}
|
|
||||||
while (handleOnPointerEnter != handleOnPointerEnter2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnPointerEnter handleOnPointerEnter = this.m_OnTilePointerEnter;
|
|
||||||
HandleOnPointerEnter handleOnPointerEnter2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnPointerEnter2 = handleOnPointerEnter;
|
|
||||||
handleOnPointerEnter = Interlocked.CompareExchange(ref this.m_OnTilePointerEnter, (HandleOnPointerEnter)Delegate.Remove(handleOnPointerEnter2, value), handleOnPointerEnter);
|
|
||||||
}
|
|
||||||
while (handleOnPointerEnter != handleOnPointerEnter2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleOnPointerExit OnTilePointerExit
|
public event HandleOnPointerExit OnTilePointerExit;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnPointerExit handleOnPointerExit = this.m_OnTilePointerExit;
|
|
||||||
HandleOnPointerExit handleOnPointerExit2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnPointerExit2 = handleOnPointerExit;
|
|
||||||
handleOnPointerExit = Interlocked.CompareExchange(ref this.m_OnTilePointerExit, (HandleOnPointerExit)Delegate.Combine(handleOnPointerExit2, value), handleOnPointerExit);
|
|
||||||
}
|
|
||||||
while (handleOnPointerExit != handleOnPointerExit2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnPointerExit handleOnPointerExit = this.m_OnTilePointerExit;
|
|
||||||
HandleOnPointerExit handleOnPointerExit2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnPointerExit2 = handleOnPointerExit;
|
|
||||||
handleOnPointerExit = Interlocked.CompareExchange(ref this.m_OnTilePointerExit, (HandleOnPointerExit)Delegate.Remove(handleOnPointerExit2, value), handleOnPointerExit);
|
|
||||||
}
|
|
||||||
while (handleOnPointerExit != handleOnPointerExit2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleOnPixelTileChange OnPixelTileChange
|
public event HandleOnPixelTileChange OnPixelTileChange;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnPixelTileChange handleOnPixelTileChange = this.m_OnPixelTileChange;
|
|
||||||
HandleOnPixelTileChange handleOnPixelTileChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnPixelTileChange2 = handleOnPixelTileChange;
|
|
||||||
handleOnPixelTileChange = Interlocked.CompareExchange(ref this.m_OnPixelTileChange, (HandleOnPixelTileChange)Delegate.Combine(handleOnPixelTileChange2, value), handleOnPixelTileChange);
|
|
||||||
}
|
|
||||||
while (handleOnPixelTileChange != handleOnPixelTileChange2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnPixelTileChange handleOnPixelTileChange = this.m_OnPixelTileChange;
|
|
||||||
HandleOnPixelTileChange handleOnPixelTileChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnPixelTileChange2 = handleOnPixelTileChange;
|
|
||||||
handleOnPixelTileChange = Interlocked.CompareExchange(ref this.m_OnPixelTileChange, (HandleOnPixelTileChange)Delegate.Remove(handleOnPixelTileChange2, value), handleOnPixelTileChange);
|
|
||||||
}
|
|
||||||
while (handleOnPixelTileChange != handleOnPixelTileChange2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private new void Awake()
|
private new void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.EventSystems;
|
using UnityEngine.EventSystems;
|
||||||
|
@ -22,34 +20,6 @@ public class PixelEditorTile : MonoBehaviour, IPointerEnterHandler, IPointerExit
|
||||||
|
|
||||||
public delegate void HandleTileChange(PixelEditorTile tile);
|
public delegate void HandleTileChange(PixelEditorTile tile);
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnPointerClick m_OnTilePointerClick;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnDrag m_OnTileDrag;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnBeginDrag m_OnTileBeginDrag;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnEndDrag m_OnTileEndDrag;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnPointerEnter m_OnTilePointerEnter;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnPointerExit m_OnTilePointerExit;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleTileChange m_OnTileChange;
|
|
||||||
|
|
||||||
[HideInInspector]
|
[HideInInspector]
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private BlockColor _currentColor;
|
private BlockColor _currentColor;
|
||||||
|
@ -81,187 +51,19 @@ public class PixelEditorTile : MonoBehaviour, IPointerEnterHandler, IPointerExit
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event HandleOnPointerClick OnTilePointerClick
|
public event HandleOnPointerClick OnTilePointerClick;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnPointerClick handleOnPointerClick = this.m_OnTilePointerClick;
|
|
||||||
HandleOnPointerClick handleOnPointerClick2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnPointerClick2 = handleOnPointerClick;
|
|
||||||
handleOnPointerClick = Interlocked.CompareExchange(ref this.m_OnTilePointerClick, (HandleOnPointerClick)Delegate.Combine(handleOnPointerClick2, value), handleOnPointerClick);
|
|
||||||
}
|
|
||||||
while (handleOnPointerClick != handleOnPointerClick2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnPointerClick handleOnPointerClick = this.m_OnTilePointerClick;
|
|
||||||
HandleOnPointerClick handleOnPointerClick2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnPointerClick2 = handleOnPointerClick;
|
|
||||||
handleOnPointerClick = Interlocked.CompareExchange(ref this.m_OnTilePointerClick, (HandleOnPointerClick)Delegate.Remove(handleOnPointerClick2, value), handleOnPointerClick);
|
|
||||||
}
|
|
||||||
while (handleOnPointerClick != handleOnPointerClick2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleOnDrag OnTileDrag
|
public event HandleOnDrag OnTileDrag;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnDrag handleOnDrag = this.m_OnTileDrag;
|
|
||||||
HandleOnDrag handleOnDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnDrag2 = handleOnDrag;
|
|
||||||
handleOnDrag = Interlocked.CompareExchange(ref this.m_OnTileDrag, (HandleOnDrag)Delegate.Combine(handleOnDrag2, value), handleOnDrag);
|
|
||||||
}
|
|
||||||
while (handleOnDrag != handleOnDrag2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnDrag handleOnDrag = this.m_OnTileDrag;
|
|
||||||
HandleOnDrag handleOnDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnDrag2 = handleOnDrag;
|
|
||||||
handleOnDrag = Interlocked.CompareExchange(ref this.m_OnTileDrag, (HandleOnDrag)Delegate.Remove(handleOnDrag2, value), handleOnDrag);
|
|
||||||
}
|
|
||||||
while (handleOnDrag != handleOnDrag2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleOnBeginDrag OnTileBeginDrag
|
public event HandleOnBeginDrag OnTileBeginDrag;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnBeginDrag handleOnBeginDrag = this.m_OnTileBeginDrag;
|
|
||||||
HandleOnBeginDrag handleOnBeginDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnBeginDrag2 = handleOnBeginDrag;
|
|
||||||
handleOnBeginDrag = Interlocked.CompareExchange(ref this.m_OnTileBeginDrag, (HandleOnBeginDrag)Delegate.Combine(handleOnBeginDrag2, value), handleOnBeginDrag);
|
|
||||||
}
|
|
||||||
while (handleOnBeginDrag != handleOnBeginDrag2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnBeginDrag handleOnBeginDrag = this.m_OnTileBeginDrag;
|
|
||||||
HandleOnBeginDrag handleOnBeginDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnBeginDrag2 = handleOnBeginDrag;
|
|
||||||
handleOnBeginDrag = Interlocked.CompareExchange(ref this.m_OnTileBeginDrag, (HandleOnBeginDrag)Delegate.Remove(handleOnBeginDrag2, value), handleOnBeginDrag);
|
|
||||||
}
|
|
||||||
while (handleOnBeginDrag != handleOnBeginDrag2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleOnEndDrag OnTileEndDrag
|
public event HandleOnEndDrag OnTileEndDrag;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnEndDrag handleOnEndDrag = this.m_OnTileEndDrag;
|
|
||||||
HandleOnEndDrag handleOnEndDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnEndDrag2 = handleOnEndDrag;
|
|
||||||
handleOnEndDrag = Interlocked.CompareExchange(ref this.m_OnTileEndDrag, (HandleOnEndDrag)Delegate.Combine(handleOnEndDrag2, value), handleOnEndDrag);
|
|
||||||
}
|
|
||||||
while (handleOnEndDrag != handleOnEndDrag2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnEndDrag handleOnEndDrag = this.m_OnTileEndDrag;
|
|
||||||
HandleOnEndDrag handleOnEndDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnEndDrag2 = handleOnEndDrag;
|
|
||||||
handleOnEndDrag = Interlocked.CompareExchange(ref this.m_OnTileEndDrag, (HandleOnEndDrag)Delegate.Remove(handleOnEndDrag2, value), handleOnEndDrag);
|
|
||||||
}
|
|
||||||
while (handleOnEndDrag != handleOnEndDrag2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleOnPointerEnter OnTilePointerEnter
|
public event HandleOnPointerEnter OnTilePointerEnter;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnPointerEnter handleOnPointerEnter = this.m_OnTilePointerEnter;
|
|
||||||
HandleOnPointerEnter handleOnPointerEnter2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnPointerEnter2 = handleOnPointerEnter;
|
|
||||||
handleOnPointerEnter = Interlocked.CompareExchange(ref this.m_OnTilePointerEnter, (HandleOnPointerEnter)Delegate.Combine(handleOnPointerEnter2, value), handleOnPointerEnter);
|
|
||||||
}
|
|
||||||
while (handleOnPointerEnter != handleOnPointerEnter2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnPointerEnter handleOnPointerEnter = this.m_OnTilePointerEnter;
|
|
||||||
HandleOnPointerEnter handleOnPointerEnter2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnPointerEnter2 = handleOnPointerEnter;
|
|
||||||
handleOnPointerEnter = Interlocked.CompareExchange(ref this.m_OnTilePointerEnter, (HandleOnPointerEnter)Delegate.Remove(handleOnPointerEnter2, value), handleOnPointerEnter);
|
|
||||||
}
|
|
||||||
while (handleOnPointerEnter != handleOnPointerEnter2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleOnPointerExit OnTilePointerExit
|
public event HandleOnPointerExit OnTilePointerExit;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnPointerExit handleOnPointerExit = this.m_OnTilePointerExit;
|
|
||||||
HandleOnPointerExit handleOnPointerExit2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnPointerExit2 = handleOnPointerExit;
|
|
||||||
handleOnPointerExit = Interlocked.CompareExchange(ref this.m_OnTilePointerExit, (HandleOnPointerExit)Delegate.Combine(handleOnPointerExit2, value), handleOnPointerExit);
|
|
||||||
}
|
|
||||||
while (handleOnPointerExit != handleOnPointerExit2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnPointerExit handleOnPointerExit = this.m_OnTilePointerExit;
|
|
||||||
HandleOnPointerExit handleOnPointerExit2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnPointerExit2 = handleOnPointerExit;
|
|
||||||
handleOnPointerExit = Interlocked.CompareExchange(ref this.m_OnTilePointerExit, (HandleOnPointerExit)Delegate.Remove(handleOnPointerExit2, value), handleOnPointerExit);
|
|
||||||
}
|
|
||||||
while (handleOnPointerExit != handleOnPointerExit2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleTileChange OnTileChange
|
public event HandleTileChange OnTileChange;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleTileChange handleTileChange = this.m_OnTileChange;
|
|
||||||
HandleTileChange handleTileChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleTileChange2 = handleTileChange;
|
|
||||||
handleTileChange = Interlocked.CompareExchange(ref this.m_OnTileChange, (HandleTileChange)Delegate.Combine(handleTileChange2, value), handleTileChange);
|
|
||||||
}
|
|
||||||
while (handleTileChange != handleTileChange2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleTileChange handleTileChange = this.m_OnTileChange;
|
|
||||||
HandleTileChange handleTileChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleTileChange2 = handleTileChange;
|
|
||||||
handleTileChange = Interlocked.CompareExchange(ref this.m_OnTileChange, (HandleTileChange)Delegate.Remove(handleTileChange2, value), handleTileChange);
|
|
||||||
}
|
|
||||||
while (handleTileChange != handleTileChange2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using Prime31;
|
using Prime31;
|
||||||
|
@ -85,14 +83,6 @@ public class PixelPlayerController : CharacterController2D
|
||||||
|
|
||||||
public float projectileSpeed = 3f;
|
public float projectileSpeed = 3f;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandlePlayerDeath m_OnDeath;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnReady m_OnReadyForGameplay;
|
|
||||||
|
|
||||||
public bool button1Pressed;
|
public bool button1Pressed;
|
||||||
|
|
||||||
public bool button2Pressed;
|
public bool button2Pressed;
|
||||||
|
@ -168,57 +158,9 @@ public class PixelPlayerController : CharacterController2D
|
||||||
|
|
||||||
public bool isUsingShrinkPotion { get; private set; }
|
public bool isUsingShrinkPotion { get; private set; }
|
||||||
|
|
||||||
public event HandlePlayerDeath OnDeath
|
public event HandlePlayerDeath OnDeath;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandlePlayerDeath handlePlayerDeath = this.m_OnDeath;
|
|
||||||
HandlePlayerDeath handlePlayerDeath2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handlePlayerDeath2 = handlePlayerDeath;
|
|
||||||
handlePlayerDeath = Interlocked.CompareExchange(ref this.m_OnDeath, (HandlePlayerDeath)Delegate.Combine(handlePlayerDeath2, value), handlePlayerDeath);
|
|
||||||
}
|
|
||||||
while (handlePlayerDeath != handlePlayerDeath2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandlePlayerDeath handlePlayerDeath = this.m_OnDeath;
|
|
||||||
HandlePlayerDeath handlePlayerDeath2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handlePlayerDeath2 = handlePlayerDeath;
|
|
||||||
handlePlayerDeath = Interlocked.CompareExchange(ref this.m_OnDeath, (HandlePlayerDeath)Delegate.Remove(handlePlayerDeath2, value), handlePlayerDeath);
|
|
||||||
}
|
|
||||||
while (handlePlayerDeath != handlePlayerDeath2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleOnReady OnReadyForGameplay
|
public event HandleOnReady OnReadyForGameplay;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnReady handleOnReady = this.m_OnReadyForGameplay;
|
|
||||||
HandleOnReady handleOnReady2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnReady2 = handleOnReady;
|
|
||||||
handleOnReady = Interlocked.CompareExchange(ref this.m_OnReadyForGameplay, (HandleOnReady)Delegate.Combine(handleOnReady2, value), handleOnReady);
|
|
||||||
}
|
|
||||||
while (handleOnReady != handleOnReady2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnReady handleOnReady = this.m_OnReadyForGameplay;
|
|
||||||
HandleOnReady handleOnReady2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnReady2 = handleOnReady;
|
|
||||||
handleOnReady = Interlocked.CompareExchange(ref this.m_OnReadyForGameplay, (HandleOnReady)Delegate.Remove(handleOnReady2, value), handleOnReady);
|
|
||||||
}
|
|
||||||
while (handleOnReady != handleOnReady2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private new void Awake()
|
private new void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -84,10 +82,6 @@ public class PixelToolPalette : MonoBehaviour
|
||||||
|
|
||||||
private bool _locked;
|
private bool _locked;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnChange m_OnChange;
|
|
||||||
|
|
||||||
public bool locked
|
public bool locked
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -108,31 +102,7 @@ public class PixelToolPalette : MonoBehaviour
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event HandleOnChange OnChange
|
public event HandleOnChange OnChange;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnChange handleOnChange = this.m_OnChange;
|
|
||||||
HandleOnChange handleOnChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnChange2 = handleOnChange;
|
|
||||||
handleOnChange = Interlocked.CompareExchange(ref this.m_OnChange, (HandleOnChange)Delegate.Combine(handleOnChange2, value), handleOnChange);
|
|
||||||
}
|
|
||||||
while (handleOnChange != handleOnChange2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnChange handleOnChange = this.m_OnChange;
|
|
||||||
HandleOnChange handleOnChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnChange2 = handleOnChange;
|
|
||||||
handleOnChange = Interlocked.CompareExchange(ref this.m_OnChange, (HandleOnChange)Delegate.Remove(handleOnChange2, value), handleOnChange);
|
|
||||||
}
|
|
||||||
while (handleOnChange != handleOnChange2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -72,57 +72,9 @@ namespace PlatformSupport.Collections.ObjectModel
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event NotifyCollectionChangedEventHandler CollectionChanged
|
public event NotifyCollectionChangedEventHandler CollectionChanged;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
NotifyCollectionChangedEventHandler notifyCollectionChangedEventHandler = this.CollectionChanged;
|
|
||||||
NotifyCollectionChangedEventHandler notifyCollectionChangedEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
notifyCollectionChangedEventHandler2 = notifyCollectionChangedEventHandler;
|
|
||||||
notifyCollectionChangedEventHandler = Interlocked.CompareExchange(ref this.CollectionChanged, (NotifyCollectionChangedEventHandler)Delegate.Combine(notifyCollectionChangedEventHandler2, value), notifyCollectionChangedEventHandler);
|
|
||||||
}
|
|
||||||
while (notifyCollectionChangedEventHandler != notifyCollectionChangedEventHandler2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
NotifyCollectionChangedEventHandler notifyCollectionChangedEventHandler = this.CollectionChanged;
|
|
||||||
NotifyCollectionChangedEventHandler notifyCollectionChangedEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
notifyCollectionChangedEventHandler2 = notifyCollectionChangedEventHandler;
|
|
||||||
notifyCollectionChangedEventHandler = Interlocked.CompareExchange(ref this.CollectionChanged, (NotifyCollectionChangedEventHandler)Delegate.Remove(notifyCollectionChangedEventHandler2, value), notifyCollectionChangedEventHandler);
|
|
||||||
}
|
|
||||||
while (notifyCollectionChangedEventHandler != notifyCollectionChangedEventHandler2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event PropertyChangedEventHandler PropertyChanged
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
PropertyChangedEventHandler propertyChangedEventHandler = this.PropertyChanged;
|
|
||||||
PropertyChangedEventHandler propertyChangedEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
propertyChangedEventHandler2 = propertyChangedEventHandler;
|
|
||||||
propertyChangedEventHandler = Interlocked.CompareExchange(ref this.PropertyChanged, (PropertyChangedEventHandler)Delegate.Combine(propertyChangedEventHandler2, value), propertyChangedEventHandler);
|
|
||||||
}
|
|
||||||
while (propertyChangedEventHandler != propertyChangedEventHandler2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
PropertyChangedEventHandler propertyChangedEventHandler = this.PropertyChanged;
|
|
||||||
PropertyChangedEventHandler propertyChangedEventHandler2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
propertyChangedEventHandler2 = propertyChangedEventHandler;
|
|
||||||
propertyChangedEventHandler = Interlocked.CompareExchange(ref this.PropertyChanged, (PropertyChangedEventHandler)Delegate.Remove(propertyChangedEventHandler2, value), propertyChangedEventHandler);
|
|
||||||
}
|
|
||||||
while (propertyChangedEventHandler != propertyChangedEventHandler2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public ObservableDictionary()
|
public ObservableDictionary()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
@ -23,65 +21,9 @@ public class PlayerBankManager : MonoBehaviour
|
||||||
|
|
||||||
public bool shouldUpdateServer = true;
|
public bool shouldUpdateServer = true;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleNewCoinCount OnCoinUpdate;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleNewCoinCount m_OnCoinUpdate;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleGemCount OnGemUpdate;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleGemCount m_OnGemUpdate;
|
|
||||||
|
|
||||||
public event HandleNewCoinCount OnCoinUpdate
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleNewCoinCount handleNewCoinCount = this.m_OnCoinUpdate;
|
|
||||||
HandleNewCoinCount handleNewCoinCount2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleNewCoinCount2 = handleNewCoinCount;
|
|
||||||
handleNewCoinCount = Interlocked.CompareExchange(ref this.m_OnCoinUpdate, (HandleNewCoinCount)Delegate.Combine(handleNewCoinCount2, value), handleNewCoinCount);
|
|
||||||
}
|
|
||||||
while (handleNewCoinCount != handleNewCoinCount2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleNewCoinCount handleNewCoinCount = this.m_OnCoinUpdate;
|
|
||||||
HandleNewCoinCount handleNewCoinCount2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleNewCoinCount2 = handleNewCoinCount;
|
|
||||||
handleNewCoinCount = Interlocked.CompareExchange(ref this.m_OnCoinUpdate, (HandleNewCoinCount)Delegate.Remove(handleNewCoinCount2, value), handleNewCoinCount);
|
|
||||||
}
|
|
||||||
while (handleNewCoinCount != handleNewCoinCount2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleGemCount OnGemUpdate
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleGemCount handleGemCount = this.m_OnGemUpdate;
|
|
||||||
HandleGemCount handleGemCount2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleGemCount2 = handleGemCount;
|
|
||||||
handleGemCount = Interlocked.CompareExchange(ref this.m_OnGemUpdate, (HandleGemCount)Delegate.Combine(handleGemCount2, value), handleGemCount);
|
|
||||||
}
|
|
||||||
while (handleGemCount != handleGemCount2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleGemCount handleGemCount = this.m_OnGemUpdate;
|
|
||||||
HandleGemCount handleGemCount2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleGemCount2 = handleGemCount;
|
|
||||||
handleGemCount = Interlocked.CompareExchange(ref this.m_OnGemUpdate, (HandleGemCount)Delegate.Remove(handleGemCount2, value), handleGemCount);
|
|
||||||
}
|
|
||||||
while (handleGemCount != handleGemCount2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
@ -12,10 +10,6 @@ public class PrefsManager : MonoBehaviour
|
||||||
|
|
||||||
public static PrefsManager instance;
|
public static PrefsManager instance;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleUpdateNews m_OnUpdateNews;
|
|
||||||
|
|
||||||
private const string prefsPassword = "cRE4)&RuB.2LxL`FwDf9z58rV_*4'g";
|
private const string prefsPassword = "cRE4)&RuB.2LxL`FwDf9z58rV_*4'g";
|
||||||
|
|
||||||
private const string keyFor_iWallWarpLocation = "iWallWarpLocation";
|
private const string keyFor_iWallWarpLocation = "iWallWarpLocation";
|
||||||
|
@ -720,31 +714,7 @@ public class PrefsManager : MonoBehaviour
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event HandleUpdateNews OnUpdateNews
|
public event HandleUpdateNews OnUpdateNews;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleUpdateNews handleUpdateNews = this.m_OnUpdateNews;
|
|
||||||
HandleUpdateNews handleUpdateNews2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUpdateNews2 = handleUpdateNews;
|
|
||||||
handleUpdateNews = Interlocked.CompareExchange(ref this.m_OnUpdateNews, (HandleUpdateNews)Delegate.Combine(handleUpdateNews2, value), handleUpdateNews);
|
|
||||||
}
|
|
||||||
while (handleUpdateNews != handleUpdateNews2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleUpdateNews handleUpdateNews = this.m_OnUpdateNews;
|
|
||||||
HandleUpdateNews handleUpdateNews2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUpdateNews2 = handleUpdateNews;
|
|
||||||
handleUpdateNews = Interlocked.CompareExchange(ref this.m_OnUpdateNews, (HandleUpdateNews)Delegate.Remove(handleUpdateNews2, value), handleUpdateNews);
|
|
||||||
}
|
|
||||||
while (handleUpdateNews != handleUpdateNews2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
@ -55,18 +54,6 @@ namespace Prime31
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private Action<RaycastHit2D> m_onControllerCollidedEvent;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private Action<Collider2D> m_onTriggerEnterEvent;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private Action<Collider2D> m_onTriggerExitEvent;
|
|
||||||
|
|
||||||
public bool ignoreOneWayPlatformsThisFrame;
|
public bool ignoreOneWayPlatformsThisFrame;
|
||||||
|
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
|
@ -160,83 +147,11 @@ namespace Prime31
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event Action<RaycastHit2D> onControllerCollidedEvent
|
public event Action<RaycastHit2D> onControllerCollidedEvent;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
Action<RaycastHit2D> action = this.m_onControllerCollidedEvent;
|
|
||||||
Action<RaycastHit2D> action2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
action2 = action;
|
|
||||||
action = Interlocked.CompareExchange(ref this.m_onControllerCollidedEvent, (Action<RaycastHit2D>)Delegate.Combine(action2, value), action);
|
|
||||||
}
|
|
||||||
while (action != action2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
Action<RaycastHit2D> action = this.m_onControllerCollidedEvent;
|
|
||||||
Action<RaycastHit2D> action2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
action2 = action;
|
|
||||||
action = Interlocked.CompareExchange(ref this.m_onControllerCollidedEvent, (Action<RaycastHit2D>)Delegate.Remove(action2, value), action);
|
|
||||||
}
|
|
||||||
while (action != action2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event Action<Collider2D> onTriggerEnterEvent
|
public event Action<Collider2D> onTriggerEnterEvent;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
Action<Collider2D> action = this.m_onTriggerEnterEvent;
|
|
||||||
Action<Collider2D> action2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
action2 = action;
|
|
||||||
action = Interlocked.CompareExchange(ref this.m_onTriggerEnterEvent, (Action<Collider2D>)Delegate.Combine(action2, value), action);
|
|
||||||
}
|
|
||||||
while (action != action2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
Action<Collider2D> action = this.m_onTriggerEnterEvent;
|
|
||||||
Action<Collider2D> action2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
action2 = action;
|
|
||||||
action = Interlocked.CompareExchange(ref this.m_onTriggerEnterEvent, (Action<Collider2D>)Delegate.Remove(action2, value), action);
|
|
||||||
}
|
|
||||||
while (action != action2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event Action<Collider2D> onTriggerExitEvent
|
public event Action<Collider2D> onTriggerExitEvent;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
Action<Collider2D> action = this.m_onTriggerExitEvent;
|
|
||||||
Action<Collider2D> action2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
action2 = action;
|
|
||||||
action = Interlocked.CompareExchange(ref this.m_onTriggerExitEvent, (Action<Collider2D>)Delegate.Combine(action2, value), action);
|
|
||||||
}
|
|
||||||
while (action != action2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
Action<Collider2D> action = this.m_onTriggerExitEvent;
|
|
||||||
Action<Collider2D> action2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
action2 = action;
|
|
||||||
action = Interlocked.CompareExchange(ref this.m_onTriggerExitEvent, (Action<Collider2D>)Delegate.Remove(action2, value), action);
|
|
||||||
}
|
|
||||||
while (action != action2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Awake()
|
public void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -97,7 +97,7 @@ public class ReflectedBullet : PoolableComponent
|
||||||
LayerMask layerMask = collision.gameObject.layer;
|
LayerMask layerMask = collision.gameObject.layer;
|
||||||
Rigidbody2D rigidbody = collision.rigidbody;
|
Rigidbody2D rigidbody = collision.rigidbody;
|
||||||
BloxelTile bloxelTile = null;
|
BloxelTile bloxelTile = null;
|
||||||
switch (layerMask)
|
switch ((long)layerMask)
|
||||||
{
|
{
|
||||||
case 10L:
|
case 10L:
|
||||||
bloxelTile = rigidbody.gameObject.GetComponent<BloxelTile>();
|
bloxelTile = rigidbody.gameObject.GetComponent<BloxelTile>();
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using TMPro;
|
using TMPro;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -19,35 +17,7 @@ public class RegisterUsername : RegisterMenu
|
||||||
[Range(0f, 2f)]
|
[Range(0f, 2f)]
|
||||||
public float inputTimer = 1f;
|
public float inputTimer = 1f;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleAvatarChange OnAvatarChange;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleAvatarChange m_OnAvatarChange;
|
|
||||||
|
|
||||||
public event HandleAvatarChange OnAvatarChange
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleAvatarChange handleAvatarChange = this.m_OnAvatarChange;
|
|
||||||
HandleAvatarChange handleAvatarChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleAvatarChange2 = handleAvatarChange;
|
|
||||||
handleAvatarChange = Interlocked.CompareExchange(ref this.m_OnAvatarChange, (HandleAvatarChange)Delegate.Combine(handleAvatarChange2, value), handleAvatarChange);
|
|
||||||
}
|
|
||||||
while (handleAvatarChange != handleAvatarChange2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleAvatarChange handleAvatarChange = this.m_OnAvatarChange;
|
|
||||||
HandleAvatarChange handleAvatarChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleAvatarChange2 = handleAvatarChange;
|
|
||||||
handleAvatarChange = Interlocked.CompareExchange(ref this.m_OnAvatarChange, (HandleAvatarChange)Delegate.Remove(handleAvatarChange2, value), handleAvatarChange);
|
|
||||||
}
|
|
||||||
while (handleAvatarChange != handleAvatarChange2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private new void Awake()
|
private new void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using TMPro;
|
using TMPro;
|
||||||
|
@ -62,10 +60,6 @@ public class RegistrationController : MonoBehaviour
|
||||||
|
|
||||||
private string _parentEmail;
|
private string _parentEmail;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleParentEmail m_OnParentEmail;
|
|
||||||
|
|
||||||
public string parentEmail
|
public string parentEmail
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -82,31 +76,7 @@ public class RegistrationController : MonoBehaviour
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event HandleParentEmail OnParentEmail
|
public event HandleParentEmail OnParentEmail;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleParentEmail handleParentEmail = this.m_OnParentEmail;
|
|
||||||
HandleParentEmail handleParentEmail2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParentEmail2 = handleParentEmail;
|
|
||||||
handleParentEmail = Interlocked.CompareExchange(ref this.m_OnParentEmail, (HandleParentEmail)Delegate.Combine(handleParentEmail2, value), handleParentEmail);
|
|
||||||
}
|
|
||||||
while (handleParentEmail != handleParentEmail2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleParentEmail handleParentEmail = this.m_OnParentEmail;
|
|
||||||
HandleParentEmail handleParentEmail2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParentEmail2 = handleParentEmail;
|
|
||||||
handleParentEmail = Interlocked.CompareExchange(ref this.m_OnParentEmail, (HandleParentEmail)Delegate.Remove(handleParentEmail2, value), handleParentEmail);
|
|
||||||
}
|
|
||||||
while (handleParentEmail != handleParentEmail2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -42,189 +40,21 @@ public class SavedProject : MonoBehaviour, IBeginDragHandler, IDragHandler, IEnd
|
||||||
|
|
||||||
private bool isScrolling;
|
private bool isScrolling;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleProjectSelect m_OnSelect;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleDoubleTap m_OnDoubleTap;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleDelete m_OnDelete;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleBeginDrag m_OnDragStart;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleEndDrag m_OnDragEnd;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleDrag m_OnDragging;
|
|
||||||
|
|
||||||
private bool initComplete;
|
private bool initComplete;
|
||||||
|
|
||||||
public UnityEngine.Object libraryItemPrefab;
|
public UnityEngine.Object libraryItemPrefab;
|
||||||
|
|
||||||
public event HandleProjectSelect OnSelect
|
public event HandleProjectSelect OnSelect;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleProjectSelect handleProjectSelect = this.m_OnSelect;
|
|
||||||
HandleProjectSelect handleProjectSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleProjectSelect2 = handleProjectSelect;
|
|
||||||
handleProjectSelect = Interlocked.CompareExchange(ref this.m_OnSelect, (HandleProjectSelect)Delegate.Combine(handleProjectSelect2, value), handleProjectSelect);
|
|
||||||
}
|
|
||||||
while (handleProjectSelect != handleProjectSelect2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleProjectSelect handleProjectSelect = this.m_OnSelect;
|
|
||||||
HandleProjectSelect handleProjectSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleProjectSelect2 = handleProjectSelect;
|
|
||||||
handleProjectSelect = Interlocked.CompareExchange(ref this.m_OnSelect, (HandleProjectSelect)Delegate.Remove(handleProjectSelect2, value), handleProjectSelect);
|
|
||||||
}
|
|
||||||
while (handleProjectSelect != handleProjectSelect2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleDoubleTap OnDoubleTap
|
public event HandleDoubleTap OnDoubleTap;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleDoubleTap handleDoubleTap = this.m_OnDoubleTap;
|
|
||||||
HandleDoubleTap handleDoubleTap2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDoubleTap2 = handleDoubleTap;
|
|
||||||
handleDoubleTap = Interlocked.CompareExchange(ref this.m_OnDoubleTap, (HandleDoubleTap)Delegate.Combine(handleDoubleTap2, value), handleDoubleTap);
|
|
||||||
}
|
|
||||||
while (handleDoubleTap != handleDoubleTap2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleDoubleTap handleDoubleTap = this.m_OnDoubleTap;
|
|
||||||
HandleDoubleTap handleDoubleTap2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDoubleTap2 = handleDoubleTap;
|
|
||||||
handleDoubleTap = Interlocked.CompareExchange(ref this.m_OnDoubleTap, (HandleDoubleTap)Delegate.Remove(handleDoubleTap2, value), handleDoubleTap);
|
|
||||||
}
|
|
||||||
while (handleDoubleTap != handleDoubleTap2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleDelete OnDelete
|
public event HandleDelete OnDelete;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleDelete handleDelete = this.m_OnDelete;
|
|
||||||
HandleDelete handleDelete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDelete2 = handleDelete;
|
|
||||||
handleDelete = Interlocked.CompareExchange(ref this.m_OnDelete, (HandleDelete)Delegate.Combine(handleDelete2, value), handleDelete);
|
|
||||||
}
|
|
||||||
while (handleDelete != handleDelete2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleDelete handleDelete = this.m_OnDelete;
|
|
||||||
HandleDelete handleDelete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDelete2 = handleDelete;
|
|
||||||
handleDelete = Interlocked.CompareExchange(ref this.m_OnDelete, (HandleDelete)Delegate.Remove(handleDelete2, value), handleDelete);
|
|
||||||
}
|
|
||||||
while (handleDelete != handleDelete2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleBeginDrag OnDragStart
|
public event HandleBeginDrag OnDragStart;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleBeginDrag handleBeginDrag = this.m_OnDragStart;
|
|
||||||
HandleBeginDrag handleBeginDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBeginDrag2 = handleBeginDrag;
|
|
||||||
handleBeginDrag = Interlocked.CompareExchange(ref this.m_OnDragStart, (HandleBeginDrag)Delegate.Combine(handleBeginDrag2, value), handleBeginDrag);
|
|
||||||
}
|
|
||||||
while (handleBeginDrag != handleBeginDrag2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleBeginDrag handleBeginDrag = this.m_OnDragStart;
|
|
||||||
HandleBeginDrag handleBeginDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBeginDrag2 = handleBeginDrag;
|
|
||||||
handleBeginDrag = Interlocked.CompareExchange(ref this.m_OnDragStart, (HandleBeginDrag)Delegate.Remove(handleBeginDrag2, value), handleBeginDrag);
|
|
||||||
}
|
|
||||||
while (handleBeginDrag != handleBeginDrag2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleEndDrag OnDragEnd
|
public event HandleEndDrag OnDragEnd;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleEndDrag handleEndDrag = this.m_OnDragEnd;
|
|
||||||
HandleEndDrag handleEndDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleEndDrag2 = handleEndDrag;
|
|
||||||
handleEndDrag = Interlocked.CompareExchange(ref this.m_OnDragEnd, (HandleEndDrag)Delegate.Combine(handleEndDrag2, value), handleEndDrag);
|
|
||||||
}
|
|
||||||
while (handleEndDrag != handleEndDrag2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleEndDrag handleEndDrag = this.m_OnDragEnd;
|
|
||||||
HandleEndDrag handleEndDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleEndDrag2 = handleEndDrag;
|
|
||||||
handleEndDrag = Interlocked.CompareExchange(ref this.m_OnDragEnd, (HandleEndDrag)Delegate.Remove(handleEndDrag2, value), handleEndDrag);
|
|
||||||
}
|
|
||||||
while (handleEndDrag != handleEndDrag2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleDrag OnDragging
|
public event HandleDrag OnDragging;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleDrag handleDrag = this.m_OnDragging;
|
|
||||||
HandleDrag handleDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDrag2 = handleDrag;
|
|
||||||
handleDrag = Interlocked.CompareExchange(ref this.m_OnDragging, (HandleDrag)Delegate.Combine(handleDrag2, value), handleDrag);
|
|
||||||
}
|
|
||||||
while (handleDrag != handleDrag2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleDrag handleDrag = this.m_OnDragging;
|
|
||||||
HandleDrag handleDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDrag2 = handleDrag;
|
|
||||||
handleDrag = Interlocked.CompareExchange(ref this.m_OnDragging, (HandleDrag)Delegate.Remove(handleDrag2, value), handleDrag);
|
|
||||||
}
|
|
||||||
while (handleDrag != handleDrag2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Awake()
|
public void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
|
@ -32,35 +30,7 @@ public class ScrollSnap : MonoBehaviour
|
||||||
[Tooltip("Snap vertically")]
|
[Tooltip("Snap vertically")]
|
||||||
public bool snapInV = true;
|
public bool snapInV = true;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleSnap OnSnap;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleSnap m_OnSnap;
|
|
||||||
|
|
||||||
public event HandleSnap OnSnap
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleSnap handleSnap = this.m_OnSnap;
|
|
||||||
HandleSnap handleSnap2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleSnap2 = handleSnap;
|
|
||||||
handleSnap = Interlocked.CompareExchange(ref this.m_OnSnap, (HandleSnap)Delegate.Combine(handleSnap2, value), handleSnap);
|
|
||||||
}
|
|
||||||
while (handleSnap != handleSnap2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleSnap handleSnap = this.m_OnSnap;
|
|
||||||
HandleSnap handleSnap2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleSnap2 = handleSnap;
|
|
||||||
handleSnap = Interlocked.CompareExchange(ref this.m_OnSnap, (HandleSnap)Delegate.Remove(handleSnap2, value), handleSnap);
|
|
||||||
}
|
|
||||||
while (handleSnap != handleSnap2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -25,35 +23,7 @@ public class SequentialMenu : MonoBehaviour
|
||||||
|
|
||||||
public bool canProgress;
|
public bool canProgress;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleAnimation OnAnimationEnd;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleAnimation m_OnAnimationEnd;
|
|
||||||
|
|
||||||
public event HandleAnimation OnAnimationEnd
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleAnimation handleAnimation = this.m_OnAnimationEnd;
|
|
||||||
HandleAnimation handleAnimation2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleAnimation2 = handleAnimation;
|
|
||||||
handleAnimation = Interlocked.CompareExchange(ref this.m_OnAnimationEnd, (HandleAnimation)Delegate.Combine(handleAnimation2, value), handleAnimation);
|
|
||||||
}
|
|
||||||
while (handleAnimation != handleAnimation2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleAnimation handleAnimation = this.m_OnAnimationEnd;
|
|
||||||
HandleAnimation handleAnimation2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleAnimation2 = handleAnimation;
|
|
||||||
handleAnimation = Interlocked.CompareExchange(ref this.m_OnAnimationEnd, (HandleAnimation)Delegate.Remove(handleAnimation2, value), handleAnimation);
|
|
||||||
}
|
|
||||||
while (handleAnimation != handleAnimation2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Awake()
|
public void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -16,35 +16,7 @@ public class ThemeBuilderJob : ThreadedJob
|
||||||
|
|
||||||
public Dictionary<BlockColor, BloxelProject>[] themes;
|
public Dictionary<BlockColor, BloxelProject>[] themes;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleParseComplete OnComplete;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleParseComplete m_OnComplete;
|
|
||||||
|
|
||||||
public event HandleParseComplete OnComplete
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Combine(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleParseComplete handleParseComplete = this.m_OnComplete;
|
|
||||||
HandleParseComplete handleParseComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleParseComplete2 = handleParseComplete;
|
|
||||||
handleParseComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleParseComplete)Delegate.Remove(handleParseComplete2, value), handleParseComplete);
|
|
||||||
}
|
|
||||||
while (handleParseComplete != handleParseComplete2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void ThreadFunction()
|
protected override void ThreadFunction()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
|
||||||
public class ThreadAction : ThreadedJob
|
public class ThreadAction : ThreadedJob
|
||||||
|
@ -11,35 +9,7 @@ public class ThreadAction : ThreadedJob
|
||||||
|
|
||||||
public Action action;
|
public Action action;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleComplete OnComplete;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleComplete m_OnComplete;
|
|
||||||
|
|
||||||
public event HandleComplete OnComplete
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleComplete handleComplete = this.m_OnComplete;
|
|
||||||
HandleComplete handleComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleComplete2 = handleComplete;
|
|
||||||
handleComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleComplete)Delegate.Combine(handleComplete2, value), handleComplete);
|
|
||||||
}
|
|
||||||
while (handleComplete != handleComplete2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleComplete handleComplete = this.m_OnComplete;
|
|
||||||
HandleComplete handleComplete2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleComplete2 = handleComplete;
|
|
||||||
handleComplete = Interlocked.CompareExchange(ref this.m_OnComplete, (HandleComplete)Delegate.Remove(handleComplete2, value), handleComplete);
|
|
||||||
}
|
|
||||||
while (handleComplete != handleComplete2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public ThreadAction(Action _action)
|
public ThreadAction(Action _action)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
@ -13,37 +11,9 @@ public class UIAnimationFrameRate : UIValueAdjust
|
||||||
|
|
||||||
private static string _saveDelayName = "FrameRateSaveDelay";
|
private static string _saveDelayName = "FrameRateSaveDelay";
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleRateChange m_OnChange;
|
|
||||||
|
|
||||||
public bool hasSetFrameRate;
|
public bool hasSetFrameRate;
|
||||||
|
|
||||||
public event HandleRateChange OnChange
|
public event HandleRateChange OnChange;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleRateChange handleRateChange = this.m_OnChange;
|
|
||||||
HandleRateChange handleRateChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleRateChange2 = handleRateChange;
|
|
||||||
handleRateChange = Interlocked.CompareExchange(ref this.m_OnChange, (HandleRateChange)Delegate.Combine(handleRateChange2, value), handleRateChange);
|
|
||||||
}
|
|
||||||
while (handleRateChange != handleRateChange2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleRateChange handleRateChange = this.m_OnChange;
|
|
||||||
HandleRateChange handleRateChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleRateChange2 = handleRateChange;
|
|
||||||
handleRateChange = Interlocked.CompareExchange(ref this.m_OnChange, (HandleRateChange)Delegate.Remove(handleRateChange2, value), handleRateChange);
|
|
||||||
}
|
|
||||||
while (handleRateChange != handleRateChange2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private new void OnEnable()
|
private new void OnEnable()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -28,35 +26,7 @@ public class UIAvatarSelector : MonoBehaviour
|
||||||
|
|
||||||
private CoverBoard _cover;
|
private CoverBoard _cover;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleToggle OnToggle;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleToggle m_OnToggle;
|
|
||||||
|
|
||||||
public event HandleToggle OnToggle
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleToggle handleToggle = this.m_OnToggle;
|
|
||||||
HandleToggle handleToggle2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleToggle2 = handleToggle;
|
|
||||||
handleToggle = Interlocked.CompareExchange(ref this.m_OnToggle, (HandleToggle)Delegate.Combine(handleToggle2, value), handleToggle);
|
|
||||||
}
|
|
||||||
while (handleToggle != handleToggle2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleToggle handleToggle = this.m_OnToggle;
|
|
||||||
HandleToggle handleToggle2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleToggle2 = handleToggle;
|
|
||||||
handleToggle = Interlocked.CompareExchange(ref this.m_OnToggle, (HandleToggle)Delegate.Remove(handleToggle2, value), handleToggle);
|
|
||||||
}
|
|
||||||
while (handleToggle != handleToggle2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -24,95 +22,11 @@ public class UIBrain : UIDraggable
|
||||||
|
|
||||||
public bool isVisible;
|
public bool isVisible;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleBrainDragStart OnBrainDragStart;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleBrainDragStart m_OnBrainDragStart;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleBrainDragEnd OnBrainDragEnd;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleBrainDragEnd m_OnBrainDragEnd;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleBrainDragDrop OnBrainDragDrop;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleBrainDragDrop m_OnBrainDragDrop;
|
|
||||||
|
|
||||||
public event HandleBrainDragStart OnBrainDragStart
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleBrainDragStart handleBrainDragStart = this.m_OnBrainDragStart;
|
|
||||||
HandleBrainDragStart handleBrainDragStart2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBrainDragStart2 = handleBrainDragStart;
|
|
||||||
handleBrainDragStart = Interlocked.CompareExchange(ref this.m_OnBrainDragStart, (HandleBrainDragStart)Delegate.Combine(handleBrainDragStart2, value), handleBrainDragStart);
|
|
||||||
}
|
|
||||||
while (handleBrainDragStart != handleBrainDragStart2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleBrainDragStart handleBrainDragStart = this.m_OnBrainDragStart;
|
|
||||||
HandleBrainDragStart handleBrainDragStart2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBrainDragStart2 = handleBrainDragStart;
|
|
||||||
handleBrainDragStart = Interlocked.CompareExchange(ref this.m_OnBrainDragStart, (HandleBrainDragStart)Delegate.Remove(handleBrainDragStart2, value), handleBrainDragStart);
|
|
||||||
}
|
|
||||||
while (handleBrainDragStart != handleBrainDragStart2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleBrainDragEnd OnBrainDragEnd
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleBrainDragEnd handleBrainDragEnd = this.m_OnBrainDragEnd;
|
|
||||||
HandleBrainDragEnd handleBrainDragEnd2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBrainDragEnd2 = handleBrainDragEnd;
|
|
||||||
handleBrainDragEnd = Interlocked.CompareExchange(ref this.m_OnBrainDragEnd, (HandleBrainDragEnd)Delegate.Combine(handleBrainDragEnd2, value), handleBrainDragEnd);
|
|
||||||
}
|
|
||||||
while (handleBrainDragEnd != handleBrainDragEnd2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleBrainDragEnd handleBrainDragEnd = this.m_OnBrainDragEnd;
|
|
||||||
HandleBrainDragEnd handleBrainDragEnd2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBrainDragEnd2 = handleBrainDragEnd;
|
|
||||||
handleBrainDragEnd = Interlocked.CompareExchange(ref this.m_OnBrainDragEnd, (HandleBrainDragEnd)Delegate.Remove(handleBrainDragEnd2, value), handleBrainDragEnd);
|
|
||||||
}
|
|
||||||
while (handleBrainDragEnd != handleBrainDragEnd2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleBrainDragDrop OnBrainDragDrop
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleBrainDragDrop handleBrainDragDrop = this.m_OnBrainDragDrop;
|
|
||||||
HandleBrainDragDrop handleBrainDragDrop2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBrainDragDrop2 = handleBrainDragDrop;
|
|
||||||
handleBrainDragDrop = Interlocked.CompareExchange(ref this.m_OnBrainDragDrop, (HandleBrainDragDrop)Delegate.Combine(handleBrainDragDrop2, value), handleBrainDragDrop);
|
|
||||||
}
|
|
||||||
while (handleBrainDragDrop != handleBrainDragDrop2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleBrainDragDrop handleBrainDragDrop = this.m_OnBrainDragDrop;
|
|
||||||
HandleBrainDragDrop handleBrainDragDrop2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBrainDragDrop2 = handleBrainDragDrop;
|
|
||||||
handleBrainDragDrop = Interlocked.CompareExchange(ref this.m_OnBrainDragDrop, (HandleBrainDragDrop)Delegate.Remove(handleBrainDragDrop2, value), handleBrainDragDrop);
|
|
||||||
}
|
|
||||||
while (handleBrainDragDrop != handleBrainDragDrop2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private new void Awake()
|
private new void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
@ -14,35 +12,7 @@ public class UIBrainDisplay : MonoBehaviour
|
||||||
|
|
||||||
public UIButton uiButton;
|
public UIButton uiButton;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleSelect OnSelect;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleSelect m_OnSelect;
|
|
||||||
|
|
||||||
public event HandleSelect OnSelect
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleSelect handleSelect = this.m_OnSelect;
|
|
||||||
HandleSelect handleSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleSelect2 = handleSelect;
|
|
||||||
handleSelect = Interlocked.CompareExchange(ref this.m_OnSelect, (HandleSelect)Delegate.Combine(handleSelect2, value), handleSelect);
|
|
||||||
}
|
|
||||||
while (handleSelect != handleSelect2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleSelect handleSelect = this.m_OnSelect;
|
|
||||||
HandleSelect handleSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleSelect2 = handleSelect;
|
|
||||||
handleSelect = Interlocked.CompareExchange(ref this.m_OnSelect, (HandleSelect)Delegate.Remove(handleSelect2, value), handleSelect);
|
|
||||||
}
|
|
||||||
while (handleSelect != handleSelect2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using TMPro;
|
using TMPro;
|
||||||
|
@ -78,34 +76,6 @@ public class UIButton : MonoBehaviour, IPointerDownHandler, IPointerEnterHandler
|
||||||
[Header("Gem Lock")]
|
[Header("Gem Lock")]
|
||||||
public UIGemLock uiGemLock;
|
public UIGemLock uiGemLock;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleClick m_OnClick;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleEnter m_OnEnter;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleExit m_OnExit;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleDown m_OnDown;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleUp m_OnUp;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleToggle m_OnToggle;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleGemLock m_OnGemLock;
|
|
||||||
|
|
||||||
public bool interactable
|
public bool interactable
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -130,187 +100,19 @@ public class UIButton : MonoBehaviour, IPointerDownHandler, IPointerEnterHandler
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event HandleClick OnClick
|
public event HandleClick OnClick;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleClick handleClick = this.m_OnClick;
|
|
||||||
HandleClick handleClick2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleClick2 = handleClick;
|
|
||||||
handleClick = Interlocked.CompareExchange(ref this.m_OnClick, (HandleClick)Delegate.Combine(handleClick2, value), handleClick);
|
|
||||||
}
|
|
||||||
while (handleClick != handleClick2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleClick handleClick = this.m_OnClick;
|
|
||||||
HandleClick handleClick2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleClick2 = handleClick;
|
|
||||||
handleClick = Interlocked.CompareExchange(ref this.m_OnClick, (HandleClick)Delegate.Remove(handleClick2, value), handleClick);
|
|
||||||
}
|
|
||||||
while (handleClick != handleClick2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleEnter OnEnter
|
public event HandleEnter OnEnter;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleEnter handleEnter = this.m_OnEnter;
|
|
||||||
HandleEnter handleEnter2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleEnter2 = handleEnter;
|
|
||||||
handleEnter = Interlocked.CompareExchange(ref this.m_OnEnter, (HandleEnter)Delegate.Combine(handleEnter2, value), handleEnter);
|
|
||||||
}
|
|
||||||
while (handleEnter != handleEnter2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleEnter handleEnter = this.m_OnEnter;
|
|
||||||
HandleEnter handleEnter2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleEnter2 = handleEnter;
|
|
||||||
handleEnter = Interlocked.CompareExchange(ref this.m_OnEnter, (HandleEnter)Delegate.Remove(handleEnter2, value), handleEnter);
|
|
||||||
}
|
|
||||||
while (handleEnter != handleEnter2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleExit OnExit
|
public event HandleExit OnExit;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleExit handleExit = this.m_OnExit;
|
|
||||||
HandleExit handleExit2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleExit2 = handleExit;
|
|
||||||
handleExit = Interlocked.CompareExchange(ref this.m_OnExit, (HandleExit)Delegate.Combine(handleExit2, value), handleExit);
|
|
||||||
}
|
|
||||||
while (handleExit != handleExit2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleExit handleExit = this.m_OnExit;
|
|
||||||
HandleExit handleExit2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleExit2 = handleExit;
|
|
||||||
handleExit = Interlocked.CompareExchange(ref this.m_OnExit, (HandleExit)Delegate.Remove(handleExit2, value), handleExit);
|
|
||||||
}
|
|
||||||
while (handleExit != handleExit2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleDown OnDown
|
public event HandleDown OnDown;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleDown handleDown = this.m_OnDown;
|
|
||||||
HandleDown handleDown2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDown2 = handleDown;
|
|
||||||
handleDown = Interlocked.CompareExchange(ref this.m_OnDown, (HandleDown)Delegate.Combine(handleDown2, value), handleDown);
|
|
||||||
}
|
|
||||||
while (handleDown != handleDown2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleDown handleDown = this.m_OnDown;
|
|
||||||
HandleDown handleDown2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDown2 = handleDown;
|
|
||||||
handleDown = Interlocked.CompareExchange(ref this.m_OnDown, (HandleDown)Delegate.Remove(handleDown2, value), handleDown);
|
|
||||||
}
|
|
||||||
while (handleDown != handleDown2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleUp OnUp
|
public event HandleUp OnUp;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleUp handleUp = this.m_OnUp;
|
|
||||||
HandleUp handleUp2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUp2 = handleUp;
|
|
||||||
handleUp = Interlocked.CompareExchange(ref this.m_OnUp, (HandleUp)Delegate.Combine(handleUp2, value), handleUp);
|
|
||||||
}
|
|
||||||
while (handleUp != handleUp2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleUp handleUp = this.m_OnUp;
|
|
||||||
HandleUp handleUp2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUp2 = handleUp;
|
|
||||||
handleUp = Interlocked.CompareExchange(ref this.m_OnUp, (HandleUp)Delegate.Remove(handleUp2, value), handleUp);
|
|
||||||
}
|
|
||||||
while (handleUp != handleUp2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleToggle OnToggle
|
public event HandleToggle OnToggle;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleToggle handleToggle = this.m_OnToggle;
|
|
||||||
HandleToggle handleToggle2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleToggle2 = handleToggle;
|
|
||||||
handleToggle = Interlocked.CompareExchange(ref this.m_OnToggle, (HandleToggle)Delegate.Combine(handleToggle2, value), handleToggle);
|
|
||||||
}
|
|
||||||
while (handleToggle != handleToggle2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleToggle handleToggle = this.m_OnToggle;
|
|
||||||
HandleToggle handleToggle2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleToggle2 = handleToggle;
|
|
||||||
handleToggle = Interlocked.CompareExchange(ref this.m_OnToggle, (HandleToggle)Delegate.Remove(handleToggle2, value), handleToggle);
|
|
||||||
}
|
|
||||||
while (handleToggle != handleToggle2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleGemLock OnGemLock
|
public event HandleGemLock OnGemLock;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleGemLock handleGemLock = this.m_OnGemLock;
|
|
||||||
HandleGemLock handleGemLock2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleGemLock2 = handleGemLock;
|
|
||||||
handleGemLock = Interlocked.CompareExchange(ref this.m_OnGemLock, (HandleGemLock)Delegate.Combine(handleGemLock2, value), handleGemLock);
|
|
||||||
}
|
|
||||||
while (handleGemLock != handleGemLock2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleGemLock handleGemLock = this.m_OnGemLock;
|
|
||||||
HandleGemLock handleGemLock2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleGemLock2 = handleGemLock;
|
|
||||||
handleGemLock = Interlocked.CompareExchange(ref this.m_OnGemLock, (HandleGemLock)Delegate.Remove(handleGemLock2, value), handleGemLock);
|
|
||||||
}
|
|
||||||
while (handleGemLock != handleGemLock2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
@ -14,35 +12,7 @@ public class UIButtonGroup : MonoBehaviour
|
||||||
|
|
||||||
public int startingIndex;
|
public int startingIndex;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleChange OnChange;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleChange m_OnChange;
|
|
||||||
|
|
||||||
public event HandleChange OnChange
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleChange handleChange = this.m_OnChange;
|
|
||||||
HandleChange handleChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleChange2 = handleChange;
|
|
||||||
handleChange = Interlocked.CompareExchange(ref this.m_OnChange, (HandleChange)Delegate.Combine(handleChange2, value), handleChange);
|
|
||||||
}
|
|
||||||
while (handleChange != handleChange2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleChange handleChange = this.m_OnChange;
|
|
||||||
HandleChange handleChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleChange2 = handleChange;
|
|
||||||
handleChange = Interlocked.CompareExchange(ref this.m_OnChange, (HandleChange)Delegate.Remove(handleChange2, value), handleChange);
|
|
||||||
}
|
|
||||||
while (handleChange != handleChange2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.EventSystems;
|
using UnityEngine.EventSystems;
|
||||||
|
@ -20,35 +18,7 @@ public class UICaptureFlipToggle : MonoBehaviour, IPointerDownHandler, IEventSys
|
||||||
|
|
||||||
private UIButton _uiButtonHandle;
|
private UIButton _uiButtonHandle;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleToggle OnToggle;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleToggle m_OnToggle;
|
|
||||||
|
|
||||||
public event HandleToggle OnToggle
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleToggle handleToggle = this.m_OnToggle;
|
|
||||||
HandleToggle handleToggle2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleToggle2 = handleToggle;
|
|
||||||
handleToggle = Interlocked.CompareExchange(ref this.m_OnToggle, (HandleToggle)Delegate.Combine(handleToggle2, value), handleToggle);
|
|
||||||
}
|
|
||||||
while (handleToggle != handleToggle2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleToggle handleToggle = this.m_OnToggle;
|
|
||||||
HandleToggle handleToggle2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleToggle2 = handleToggle;
|
|
||||||
handleToggle = Interlocked.CompareExchange(ref this.m_OnToggle, (HandleToggle)Delegate.Remove(handleToggle2, value), handleToggle);
|
|
||||||
}
|
|
||||||
while (handleToggle != handleToggle2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -31,35 +29,7 @@ public class UICaptureModeToggle : MonoBehaviour, IPointerDownHandler, IEventSys
|
||||||
|
|
||||||
private UIButton _uiButtonHandle;
|
private UIButton _uiButtonHandle;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleToggle OnToggle;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleToggle m_OnToggle;
|
|
||||||
|
|
||||||
public event HandleToggle OnToggle
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleToggle handleToggle = this.m_OnToggle;
|
|
||||||
HandleToggle handleToggle2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleToggle2 = handleToggle;
|
|
||||||
handleToggle = Interlocked.CompareExchange(ref this.m_OnToggle, (HandleToggle)Delegate.Combine(handleToggle2, value), handleToggle);
|
|
||||||
}
|
|
||||||
while (handleToggle != handleToggle2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleToggle handleToggle = this.m_OnToggle;
|
|
||||||
HandleToggle handleToggle2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleToggle2 = handleToggle;
|
|
||||||
handleToggle = Interlocked.CompareExchange(ref this.m_OnToggle, (HandleToggle)Delegate.Remove(handleToggle2, value), handleToggle);
|
|
||||||
}
|
|
||||||
while (handleToggle != handleToggle2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using TMPro;
|
using TMPro;
|
||||||
|
@ -37,65 +35,9 @@ public class UIChallengeHeader : MonoBehaviour
|
||||||
|
|
||||||
public ParticleSystem ps;
|
public ParticleSystem ps;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleOnQuit OnQuit;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnQuit m_OnQuit;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleInfo OnInfo;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleInfo m_OnInfo;
|
|
||||||
|
|
||||||
public event HandleOnQuit OnQuit
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnQuit handleOnQuit = this.m_OnQuit;
|
|
||||||
HandleOnQuit handleOnQuit2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnQuit2 = handleOnQuit;
|
|
||||||
handleOnQuit = Interlocked.CompareExchange(ref this.m_OnQuit, (HandleOnQuit)Delegate.Combine(handleOnQuit2, value), handleOnQuit);
|
|
||||||
}
|
|
||||||
while (handleOnQuit != handleOnQuit2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnQuit handleOnQuit = this.m_OnQuit;
|
|
||||||
HandleOnQuit handleOnQuit2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnQuit2 = handleOnQuit;
|
|
||||||
handleOnQuit = Interlocked.CompareExchange(ref this.m_OnQuit, (HandleOnQuit)Delegate.Remove(handleOnQuit2, value), handleOnQuit);
|
|
||||||
}
|
|
||||||
while (handleOnQuit != handleOnQuit2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleInfo OnInfo
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleInfo handleInfo = this.m_OnInfo;
|
|
||||||
HandleInfo handleInfo2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleInfo2 = handleInfo;
|
|
||||||
handleInfo = Interlocked.CompareExchange(ref this.m_OnInfo, (HandleInfo)Delegate.Combine(handleInfo2, value), handleInfo);
|
|
||||||
}
|
|
||||||
while (handleInfo != handleInfo2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleInfo handleInfo = this.m_OnInfo;
|
|
||||||
HandleInfo handleInfo2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleInfo2 = handleInfo;
|
|
||||||
handleInfo = Interlocked.CompareExchange(ref this.m_OnInfo, (HandleInfo)Delegate.Remove(handleInfo2, value), handleInfo);
|
|
||||||
}
|
|
||||||
while (handleInfo != handleInfo2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using TMPro;
|
using TMPro;
|
||||||
|
@ -24,38 +22,10 @@ public class UIChallengeItem : MonoBehaviour
|
||||||
|
|
||||||
private Image _uiImageBadge;
|
private Image _uiImageBadge;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleSelect m_OnSelect;
|
|
||||||
|
|
||||||
[Header("State Tracking")]
|
[Header("State Tracking")]
|
||||||
public bool interactable;
|
public bool interactable;
|
||||||
|
|
||||||
public event HandleSelect OnSelect
|
public event HandleSelect OnSelect;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleSelect handleSelect = this.m_OnSelect;
|
|
||||||
HandleSelect handleSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleSelect2 = handleSelect;
|
|
||||||
handleSelect = Interlocked.CompareExchange(ref this.m_OnSelect, (HandleSelect)Delegate.Combine(handleSelect2, value), handleSelect);
|
|
||||||
}
|
|
||||||
while (handleSelect != handleSelect2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleSelect handleSelect = this.m_OnSelect;
|
|
||||||
HandleSelect handleSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleSelect2 = handleSelect;
|
|
||||||
handleSelect = Interlocked.CompareExchange(ref this.m_OnSelect, (HandleSelect)Delegate.Remove(handleSelect2, value), handleSelect);
|
|
||||||
}
|
|
||||||
while (handleSelect != handleSelect2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
|
@ -19,35 +17,7 @@ public class UICharacterStateSelect : MonoBehaviour
|
||||||
|
|
||||||
public Color inactiveColor;
|
public Color inactiveColor;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleStateSelect OnSelect;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleStateSelect m_OnSelect;
|
|
||||||
|
|
||||||
public event HandleStateSelect OnSelect
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleStateSelect handleStateSelect = this.m_OnSelect;
|
|
||||||
HandleStateSelect handleStateSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleStateSelect2 = handleStateSelect;
|
|
||||||
handleStateSelect = Interlocked.CompareExchange(ref this.m_OnSelect, (HandleStateSelect)Delegate.Combine(handleStateSelect2, value), handleStateSelect);
|
|
||||||
}
|
|
||||||
while (handleStateSelect != handleStateSelect2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleStateSelect handleStateSelect = this.m_OnSelect;
|
|
||||||
HandleStateSelect handleStateSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleStateSelect2 = handleStateSelect;
|
|
||||||
handleStateSelect = Interlocked.CompareExchange(ref this.m_OnSelect, (HandleStateSelect)Delegate.Remove(handleStateSelect2, value), handleStateSelect);
|
|
||||||
}
|
|
||||||
while (handleStateSelect != handleStateSelect2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
@ -16,35 +14,7 @@ public class UIColorBlock : UIInteractable
|
||||||
|
|
||||||
public PaletteColor paletteColor;
|
public PaletteColor paletteColor;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleClick OnPress;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleClick m_OnPress;
|
|
||||||
|
|
||||||
public event HandleClick OnPress
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleClick handleClick = this.m_OnPress;
|
|
||||||
HandleClick handleClick2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleClick2 = handleClick;
|
|
||||||
handleClick = Interlocked.CompareExchange(ref this.m_OnPress, (HandleClick)Delegate.Combine(handleClick2, value), handleClick);
|
|
||||||
}
|
|
||||||
while (handleClick != handleClick2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleClick handleClick = this.m_OnPress;
|
|
||||||
HandleClick handleClick2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleClick2 = handleClick;
|
|
||||||
handleClick = Interlocked.CompareExchange(ref this.m_OnPress, (HandleClick)Delegate.Remove(handleClick2, value), handleClick);
|
|
||||||
}
|
|
||||||
while (handleClick != handleClick2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private new void Awake()
|
private new void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using EnhancedUI.EnhancedScroller;
|
using EnhancedUI.EnhancedScroller;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -19,35 +17,7 @@ public class UIColorPicker : UIScrollTipController, IEnhancedScrollerDelegate
|
||||||
|
|
||||||
private UIPopupGemUnlock _popup;
|
private UIPopupGemUnlock _popup;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleColorSelect OnColorSelect;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleColorSelect m_OnColorSelect;
|
|
||||||
|
|
||||||
public event HandleColorSelect OnColorSelect
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleColorSelect handleColorSelect = this.m_OnColorSelect;
|
|
||||||
HandleColorSelect handleColorSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleColorSelect2 = handleColorSelect;
|
|
||||||
handleColorSelect = Interlocked.CompareExchange(ref this.m_OnColorSelect, (HandleColorSelect)Delegate.Combine(handleColorSelect2, value), handleColorSelect);
|
|
||||||
}
|
|
||||||
while (handleColorSelect != handleColorSelect2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleColorSelect handleColorSelect = this.m_OnColorSelect;
|
|
||||||
HandleColorSelect handleColorSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleColorSelect2 = handleColorSelect;
|
|
||||||
handleColorSelect = Interlocked.CompareExchange(ref this.m_OnColorSelect, (HandleColorSelect)Delegate.Remove(handleColorSelect2, value), handleColorSelect);
|
|
||||||
}
|
|
||||||
while (handleColorSelect != handleColorSelect2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private new void Awake()
|
private new void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using EnhancedUI.EnhancedScroller;
|
using EnhancedUI.EnhancedScroller;
|
||||||
|
@ -23,35 +21,7 @@ public class UIColorScrollElement : EnhancedScrollerCellView
|
||||||
|
|
||||||
public Image uiImageLogo;
|
public Image uiImageLogo;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleOnClick OnClick;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnClick m_OnClick;
|
|
||||||
|
|
||||||
public event HandleOnClick OnClick
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnClick handleOnClick = this.m_OnClick;
|
|
||||||
HandleOnClick handleOnClick2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnClick2 = handleOnClick;
|
|
||||||
handleOnClick = Interlocked.CompareExchange(ref this.m_OnClick, (HandleOnClick)Delegate.Combine(handleOnClick2, value), handleOnClick);
|
|
||||||
}
|
|
||||||
while (handleOnClick != handleOnClick2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnClick handleOnClick = this.m_OnClick;
|
|
||||||
HandleOnClick handleOnClick2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnClick2 = handleOnClick;
|
|
||||||
handleOnClick = Interlocked.CompareExchange(ref this.m_OnClick, (HandleOnClick)Delegate.Remove(handleOnClick2, value), handleOnClick);
|
|
||||||
}
|
|
||||||
while (handleOnClick != handleOnClick2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.EventSystems;
|
using UnityEngine.EventSystems;
|
||||||
|
@ -19,125 +17,13 @@ public class UIDraggable : MonoBehaviour, IBeginDragHandler, IDragHandler, IEndD
|
||||||
|
|
||||||
public bool isDragging;
|
public bool isDragging;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleBeginDrag OnDragStart;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleBeginDrag m_OnDragStart;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleEndDrag OnDragEnd;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleEndDrag m_OnDragEnd;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleDrag OnDragging;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleDrag m_OnDragging;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleDrop OnDropped;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleDrop m_OnDropped;
|
|
||||||
|
|
||||||
public event HandleBeginDrag OnDragStart
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleBeginDrag handleBeginDrag = this.m_OnDragStart;
|
|
||||||
HandleBeginDrag handleBeginDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBeginDrag2 = handleBeginDrag;
|
|
||||||
handleBeginDrag = Interlocked.CompareExchange(ref this.m_OnDragStart, (HandleBeginDrag)Delegate.Combine(handleBeginDrag2, value), handleBeginDrag);
|
|
||||||
}
|
|
||||||
while (handleBeginDrag != handleBeginDrag2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleBeginDrag handleBeginDrag = this.m_OnDragStart;
|
|
||||||
HandleBeginDrag handleBeginDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleBeginDrag2 = handleBeginDrag;
|
|
||||||
handleBeginDrag = Interlocked.CompareExchange(ref this.m_OnDragStart, (HandleBeginDrag)Delegate.Remove(handleBeginDrag2, value), handleBeginDrag);
|
|
||||||
}
|
|
||||||
while (handleBeginDrag != handleBeginDrag2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleEndDrag OnDragEnd
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleEndDrag handleEndDrag = this.m_OnDragEnd;
|
|
||||||
HandleEndDrag handleEndDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleEndDrag2 = handleEndDrag;
|
|
||||||
handleEndDrag = Interlocked.CompareExchange(ref this.m_OnDragEnd, (HandleEndDrag)Delegate.Combine(handleEndDrag2, value), handleEndDrag);
|
|
||||||
}
|
|
||||||
while (handleEndDrag != handleEndDrag2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleEndDrag handleEndDrag = this.m_OnDragEnd;
|
|
||||||
HandleEndDrag handleEndDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleEndDrag2 = handleEndDrag;
|
|
||||||
handleEndDrag = Interlocked.CompareExchange(ref this.m_OnDragEnd, (HandleEndDrag)Delegate.Remove(handleEndDrag2, value), handleEndDrag);
|
|
||||||
}
|
|
||||||
while (handleEndDrag != handleEndDrag2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleDrag OnDragging
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleDrag handleDrag = this.m_OnDragging;
|
|
||||||
HandleDrag handleDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDrag2 = handleDrag;
|
|
||||||
handleDrag = Interlocked.CompareExchange(ref this.m_OnDragging, (HandleDrag)Delegate.Combine(handleDrag2, value), handleDrag);
|
|
||||||
}
|
|
||||||
while (handleDrag != handleDrag2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleDrag handleDrag = this.m_OnDragging;
|
|
||||||
HandleDrag handleDrag2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDrag2 = handleDrag;
|
|
||||||
handleDrag = Interlocked.CompareExchange(ref this.m_OnDragging, (HandleDrag)Delegate.Remove(handleDrag2, value), handleDrag);
|
|
||||||
}
|
|
||||||
while (handleDrag != handleDrag2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleDrop OnDropped
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleDrop handleDrop = this.m_OnDropped;
|
|
||||||
HandleDrop handleDrop2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDrop2 = handleDrop;
|
|
||||||
handleDrop = Interlocked.CompareExchange(ref this.m_OnDropped, (HandleDrop)Delegate.Combine(handleDrop2, value), handleDrop);
|
|
||||||
}
|
|
||||||
while (handleDrop != handleDrop2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleDrop handleDrop = this.m_OnDropped;
|
|
||||||
HandleDrop handleDrop2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDrop2 = handleDrop;
|
|
||||||
handleDrop = Interlocked.CompareExchange(ref this.m_OnDropped, (HandleDrop)Delegate.Remove(handleDrop2, value), handleDrop);
|
|
||||||
}
|
|
||||||
while (handleDrop != handleDrop2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Awake()
|
public void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using TMPro;
|
using TMPro;
|
||||||
|
@ -42,10 +40,6 @@ public class UIDropdownList : UIInteractable
|
||||||
|
|
||||||
public List<UISelectableItem> itemList;
|
public List<UISelectableItem> itemList;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleValueChange m_OnValueChange;
|
|
||||||
|
|
||||||
public int value
|
public int value
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -58,31 +52,7 @@ public class UIDropdownList : UIInteractable
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event HandleValueChange OnValueChange
|
public event HandleValueChange OnValueChange;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleValueChange handleValueChange = this.m_OnValueChange;
|
|
||||||
HandleValueChange handleValueChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleValueChange2 = handleValueChange;
|
|
||||||
handleValueChange = Interlocked.CompareExchange(ref this.m_OnValueChange, (HandleValueChange)Delegate.Combine(handleValueChange2, value), handleValueChange);
|
|
||||||
}
|
|
||||||
while (handleValueChange != handleValueChange2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleValueChange handleValueChange = this.m_OnValueChange;
|
|
||||||
HandleValueChange handleValueChange2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleValueChange2 = handleValueChange;
|
|
||||||
handleValueChange = Interlocked.CompareExchange(ref this.m_OnValueChange, (HandleValueChange)Delegate.Remove(handleValueChange2, value), handleValueChange);
|
|
||||||
}
|
|
||||||
while (handleValueChange != handleValueChange2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private new void Awake()
|
private new void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -23,10 +21,6 @@ public class UIGameBuilderSecondaryMode : MonoBehaviour, IPointerClickHandler, I
|
||||||
|
|
||||||
public bool isOn;
|
public bool isOn;
|
||||||
|
|
||||||
[CompilerGenerated]
|
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleOnClick m_OnClick;
|
|
||||||
|
|
||||||
private RectTransform rect;
|
private RectTransform rect;
|
||||||
|
|
||||||
public bool isVisible = true;
|
public bool isVisible = true;
|
||||||
|
@ -37,31 +31,7 @@ public class UIGameBuilderSecondaryMode : MonoBehaviour, IPointerClickHandler, I
|
||||||
|
|
||||||
private bool hasDeterminedPosition;
|
private bool hasDeterminedPosition;
|
||||||
|
|
||||||
public event HandleOnClick OnClick
|
public event HandleOnClick OnClick;
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleOnClick handleOnClick = this.m_OnClick;
|
|
||||||
HandleOnClick handleOnClick2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnClick2 = handleOnClick;
|
|
||||||
handleOnClick = Interlocked.CompareExchange(ref this.m_OnClick, (HandleOnClick)Delegate.Combine(handleOnClick2, value), handleOnClick);
|
|
||||||
}
|
|
||||||
while (handleOnClick != handleOnClick2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleOnClick handleOnClick = this.m_OnClick;
|
|
||||||
HandleOnClick handleOnClick2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleOnClick2 = handleOnClick;
|
|
||||||
handleOnClick = Interlocked.CompareExchange(ref this.m_OnClick, (HandleOnClick)Delegate.Remove(handleOnClick2, value), handleOnClick);
|
|
||||||
}
|
|
||||||
while (handleOnClick != handleOnClick2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using DG.Tweening;
|
using DG.Tweening;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
@ -22,35 +20,7 @@ public class UIGemLock : MonoBehaviour
|
||||||
|
|
||||||
private float _startingScale;
|
private float _startingScale;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleGemUnlock OnUnlock;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleGemUnlock m_OnUnlock;
|
|
||||||
|
|
||||||
public event HandleGemUnlock OnUnlock
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleGemUnlock handleGemUnlock = this.m_OnUnlock;
|
|
||||||
HandleGemUnlock handleGemUnlock2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleGemUnlock2 = handleGemUnlock;
|
|
||||||
handleGemUnlock = Interlocked.CompareExchange(ref this.m_OnUnlock, (HandleGemUnlock)Delegate.Combine(handleGemUnlock2, value), handleGemUnlock);
|
|
||||||
}
|
|
||||||
while (handleGemUnlock != handleGemUnlock2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleGemUnlock handleGemUnlock = this.m_OnUnlock;
|
|
||||||
HandleGemUnlock handleGemUnlock2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleGemUnlock2 = handleGemUnlock;
|
|
||||||
handleGemUnlock = Interlocked.CompareExchange(ref this.m_OnUnlock, (HandleGemUnlock)Delegate.Remove(handleGemUnlock2, value), handleGemUnlock);
|
|
||||||
}
|
|
||||||
while (handleGemUnlock != handleGemUnlock2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
@ -14,35 +12,7 @@ public class UIHeroDisplay : MonoBehaviour
|
||||||
|
|
||||||
public UIButton uiButton;
|
public UIButton uiButton;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleSelect OnSelect;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleSelect m_OnSelect;
|
|
||||||
|
|
||||||
public event HandleSelect OnSelect
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleSelect handleSelect = this.m_OnSelect;
|
|
||||||
HandleSelect handleSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleSelect2 = handleSelect;
|
|
||||||
handleSelect = Interlocked.CompareExchange(ref this.m_OnSelect, (HandleSelect)Delegate.Combine(handleSelect2, value), handleSelect);
|
|
||||||
}
|
|
||||||
while (handleSelect != handleSelect2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleSelect handleSelect = this.m_OnSelect;
|
|
||||||
HandleSelect handleSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleSelect2 = handleSelect;
|
|
||||||
handleSelect = Interlocked.CompareExchange(ref this.m_OnSelect, (HandleSelect)Delegate.Remove(handleSelect2, value), handleSelect);
|
|
||||||
}
|
|
||||||
while (handleSelect != handleSelect2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.EventSystems;
|
using UnityEngine.EventSystems;
|
||||||
|
@ -21,185 +19,17 @@ public class UIInteractable : MonoBehaviour, IPointerEnterHandler, IPointerExitH
|
||||||
|
|
||||||
public RectTransform rectTransform;
|
public RectTransform rectTransform;
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleClick OnClick;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleClick m_OnClick;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleEnter OnEnter;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleEnter m_OnEnter;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleExit OnExit;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleExit m_OnExit;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleDown OnDown;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleDown m_OnDown;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleUp OnUp;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleUp m_OnUp;
|
|
||||||
|
|
||||||
[CompilerGenerated]
|
public event HandleSelect onSelect;
|
||||||
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
||||||
private HandleSelect m_onSelect;
|
|
||||||
|
|
||||||
public event HandleClick OnClick
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleClick handleClick = this.m_OnClick;
|
|
||||||
HandleClick handleClick2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleClick2 = handleClick;
|
|
||||||
handleClick = Interlocked.CompareExchange(ref this.m_OnClick, (HandleClick)Delegate.Combine(handleClick2, value), handleClick);
|
|
||||||
}
|
|
||||||
while (handleClick != handleClick2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleClick handleClick = this.m_OnClick;
|
|
||||||
HandleClick handleClick2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleClick2 = handleClick;
|
|
||||||
handleClick = Interlocked.CompareExchange(ref this.m_OnClick, (HandleClick)Delegate.Remove(handleClick2, value), handleClick);
|
|
||||||
}
|
|
||||||
while (handleClick != handleClick2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleEnter OnEnter
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleEnter handleEnter = this.m_OnEnter;
|
|
||||||
HandleEnter handleEnter2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleEnter2 = handleEnter;
|
|
||||||
handleEnter = Interlocked.CompareExchange(ref this.m_OnEnter, (HandleEnter)Delegate.Combine(handleEnter2, value), handleEnter);
|
|
||||||
}
|
|
||||||
while (handleEnter != handleEnter2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleEnter handleEnter = this.m_OnEnter;
|
|
||||||
HandleEnter handleEnter2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleEnter2 = handleEnter;
|
|
||||||
handleEnter = Interlocked.CompareExchange(ref this.m_OnEnter, (HandleEnter)Delegate.Remove(handleEnter2, value), handleEnter);
|
|
||||||
}
|
|
||||||
while (handleEnter != handleEnter2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleExit OnExit
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleExit handleExit = this.m_OnExit;
|
|
||||||
HandleExit handleExit2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleExit2 = handleExit;
|
|
||||||
handleExit = Interlocked.CompareExchange(ref this.m_OnExit, (HandleExit)Delegate.Combine(handleExit2, value), handleExit);
|
|
||||||
}
|
|
||||||
while (handleExit != handleExit2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleExit handleExit = this.m_OnExit;
|
|
||||||
HandleExit handleExit2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleExit2 = handleExit;
|
|
||||||
handleExit = Interlocked.CompareExchange(ref this.m_OnExit, (HandleExit)Delegate.Remove(handleExit2, value), handleExit);
|
|
||||||
}
|
|
||||||
while (handleExit != handleExit2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleDown OnDown
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleDown handleDown = this.m_OnDown;
|
|
||||||
HandleDown handleDown2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDown2 = handleDown;
|
|
||||||
handleDown = Interlocked.CompareExchange(ref this.m_OnDown, (HandleDown)Delegate.Combine(handleDown2, value), handleDown);
|
|
||||||
}
|
|
||||||
while (handleDown != handleDown2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleDown handleDown = this.m_OnDown;
|
|
||||||
HandleDown handleDown2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleDown2 = handleDown;
|
|
||||||
handleDown = Interlocked.CompareExchange(ref this.m_OnDown, (HandleDown)Delegate.Remove(handleDown2, value), handleDown);
|
|
||||||
}
|
|
||||||
while (handleDown != handleDown2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleUp OnUp
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleUp handleUp = this.m_OnUp;
|
|
||||||
HandleUp handleUp2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUp2 = handleUp;
|
|
||||||
handleUp = Interlocked.CompareExchange(ref this.m_OnUp, (HandleUp)Delegate.Combine(handleUp2, value), handleUp);
|
|
||||||
}
|
|
||||||
while (handleUp != handleUp2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleUp handleUp = this.m_OnUp;
|
|
||||||
HandleUp handleUp2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleUp2 = handleUp;
|
|
||||||
handleUp = Interlocked.CompareExchange(ref this.m_OnUp, (HandleUp)Delegate.Remove(handleUp2, value), handleUp);
|
|
||||||
}
|
|
||||||
while (handleUp != handleUp2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public event HandleSelect onSelect
|
|
||||||
{
|
|
||||||
add
|
|
||||||
{
|
|
||||||
HandleSelect handleSelect = this.m_onSelect;
|
|
||||||
HandleSelect handleSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleSelect2 = handleSelect;
|
|
||||||
handleSelect = Interlocked.CompareExchange(ref this.m_onSelect, (HandleSelect)Delegate.Combine(handleSelect2, value), handleSelect);
|
|
||||||
}
|
|
||||||
while (handleSelect != handleSelect2);
|
|
||||||
}
|
|
||||||
remove
|
|
||||||
{
|
|
||||||
HandleSelect handleSelect = this.m_onSelect;
|
|
||||||
HandleSelect handleSelect2;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
handleSelect2 = handleSelect;
|
|
||||||
handleSelect = Interlocked.CompareExchange(ref this.m_onSelect, (HandleSelect)Delegate.Remove(handleSelect2, value), handleSelect);
|
|
||||||
}
|
|
||||||
while (handleSelect != handleSelect2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Awake()
|
public void Awake()
|
||||||
{
|
{
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue