scripts
This commit is contained in:
@@ -0,0 +1,167 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using UnityEngine.Scripting;
|
||||
|
||||
namespace UnityEngine
|
||||
{
|
||||
// Token: 0x02000066 RID: 102
|
||||
[UsedByNativeCode]
|
||||
[Serializable]
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public sealed class RectOffset
|
||||
{
|
||||
// Token: 0x060007B2 RID: 1970 RVA: 0x0000A208 File Offset: 0x00008408
|
||||
public RectOffset()
|
||||
{
|
||||
this.Init();
|
||||
}
|
||||
|
||||
// Token: 0x060007B3 RID: 1971 RVA: 0x0000A218 File Offset: 0x00008418
|
||||
internal RectOffset(object sourceStyle, IntPtr source)
|
||||
{
|
||||
this.m_SourceStyle = sourceStyle;
|
||||
this.m_Ptr = source;
|
||||
}
|
||||
|
||||
// Token: 0x060007B4 RID: 1972 RVA: 0x0000A230 File Offset: 0x00008430
|
||||
public RectOffset(int left, int right, int top, int bottom)
|
||||
{
|
||||
this.Init();
|
||||
this.left = left;
|
||||
this.right = right;
|
||||
this.top = top;
|
||||
this.bottom = bottom;
|
||||
}
|
||||
|
||||
// Token: 0x060007B5 RID: 1973
|
||||
[ThreadAndSerializationSafe]
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private extern void Init();
|
||||
|
||||
// Token: 0x060007B6 RID: 1974
|
||||
[ThreadAndSerializationSafe]
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private extern void Cleanup();
|
||||
|
||||
// Token: 0x170001AA RID: 426
|
||||
// (get) Token: 0x060007B7 RID: 1975
|
||||
// (set) Token: 0x060007B8 RID: 1976
|
||||
public extern int left
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x170001AB RID: 427
|
||||
// (get) Token: 0x060007B9 RID: 1977
|
||||
// (set) Token: 0x060007BA RID: 1978
|
||||
public extern int right
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x170001AC RID: 428
|
||||
// (get) Token: 0x060007BB RID: 1979
|
||||
// (set) Token: 0x060007BC RID: 1980
|
||||
public extern int top
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x170001AD RID: 429
|
||||
// (get) Token: 0x060007BD RID: 1981
|
||||
// (set) Token: 0x060007BE RID: 1982
|
||||
public extern int bottom
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x170001AE RID: 430
|
||||
// (get) Token: 0x060007BF RID: 1983
|
||||
public extern int horizontal
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x170001AF RID: 431
|
||||
// (get) Token: 0x060007C0 RID: 1984
|
||||
public extern int vertical
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x060007C1 RID: 1985 RVA: 0x0000A25C File Offset: 0x0000845C
|
||||
public Rect Add(Rect rect)
|
||||
{
|
||||
Rect rect2;
|
||||
RectOffset.INTERNAL_CALL_Add(this, ref rect, out rect2);
|
||||
return rect2;
|
||||
}
|
||||
|
||||
// Token: 0x060007C2 RID: 1986
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private static extern void INTERNAL_CALL_Add(RectOffset self, ref Rect rect, out Rect value);
|
||||
|
||||
// Token: 0x060007C3 RID: 1987 RVA: 0x0000A27C File Offset: 0x0000847C
|
||||
public Rect Remove(Rect rect)
|
||||
{
|
||||
Rect rect2;
|
||||
RectOffset.INTERNAL_CALL_Remove(this, ref rect, out rect2);
|
||||
return rect2;
|
||||
}
|
||||
|
||||
// Token: 0x060007C4 RID: 1988
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private static extern void INTERNAL_CALL_Remove(RectOffset self, ref Rect rect, out Rect value);
|
||||
|
||||
// Token: 0x060007C5 RID: 1989 RVA: 0x0000A29C File Offset: 0x0000849C
|
||||
~RectOffset()
|
||||
{
|
||||
if (this.m_SourceStyle == null)
|
||||
{
|
||||
this.Cleanup();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060007C6 RID: 1990 RVA: 0x0000A2D8 File Offset: 0x000084D8
|
||||
public override string ToString()
|
||||
{
|
||||
return UnityString.Format("RectOffset (l:{0} r:{1} t:{2} b:{3})", new object[] { this.left, this.right, this.top, this.bottom });
|
||||
}
|
||||
|
||||
// Token: 0x04000081 RID: 129
|
||||
[NonSerialized]
|
||||
internal IntPtr m_Ptr;
|
||||
|
||||
// Token: 0x04000082 RID: 130
|
||||
private readonly object m_SourceStyle;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user