using System; using System.Runtime.CompilerServices; using UnityEngine.Scripting; namespace UnityEngine { // Token: 0x020000DA RID: 218 [UsedByNativeCode] public struct Hash128 { // Token: 0x06001039 RID: 4153 RVA: 0x00015BB8 File Offset: 0x00013DB8 public Hash128(uint u32_0, uint u32_1, uint u32_2, uint u32_3) { this.m_u32_0 = u32_0; this.m_u32_1 = u32_1; this.m_u32_2 = u32_2; this.m_u32_3 = u32_3; } // Token: 0x1700036A RID: 874 // (get) Token: 0x0600103A RID: 4154 RVA: 0x00015BD8 File Offset: 0x00013DD8 public bool isValid { get { return this.m_u32_0 != 0U || this.m_u32_1 != 0U || this.m_u32_2 != 0U || this.m_u32_3 != 0U; } } // Token: 0x0600103B RID: 4155 RVA: 0x00015C20 File Offset: 0x00013E20 public override string ToString() { return Hash128.Internal_Hash128ToString(this.m_u32_0, this.m_u32_1, this.m_u32_2, this.m_u32_3); } // Token: 0x0600103C RID: 4156 RVA: 0x00015C54 File Offset: 0x00013E54 public static Hash128 Parse(string hashString) { Hash128 hash; Hash128.INTERNAL_CALL_Parse(hashString, out hash); return hash; } // Token: 0x0600103D RID: 4157 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] private static extern void INTERNAL_CALL_Parse(string hashString, out Hash128 value); // Token: 0x0600103E RID: 4158 [GeneratedByOldBindingsGenerator] [MethodImpl(MethodImplOptions.InternalCall)] internal static extern string Internal_Hash128ToString(uint d0, uint d1, uint d2, uint d3); // Token: 0x0600103F RID: 4159 RVA: 0x00015C74 File Offset: 0x00013E74 public override bool Equals(object obj) { return obj is Hash128 && this == (Hash128)obj; } // Token: 0x06001040 RID: 4160 RVA: 0x00015CA8 File Offset: 0x00013EA8 public override int GetHashCode() { return this.m_u32_0.GetHashCode() ^ this.m_u32_1.GetHashCode() ^ this.m_u32_2.GetHashCode() ^ this.m_u32_3.GetHashCode(); } // Token: 0x06001041 RID: 4161 RVA: 0x00015D04 File Offset: 0x00013F04 public static bool operator ==(Hash128 hash1, Hash128 hash2) { return hash1.m_u32_0 == hash2.m_u32_0 && hash1.m_u32_1 == hash2.m_u32_1 && hash1.m_u32_2 == hash2.m_u32_2 && hash1.m_u32_3 == hash2.m_u32_3; } // Token: 0x06001042 RID: 4162 RVA: 0x00015D68 File Offset: 0x00013F68 public static bool operator !=(Hash128 hash1, Hash128 hash2) { return !(hash1 == hash2); } // Token: 0x040001F5 RID: 501 private uint m_u32_0; // Token: 0x040001F6 RID: 502 private uint m_u32_1; // Token: 0x040001F7 RID: 503 private uint m_u32_2; // Token: 0x040001F8 RID: 504 private uint m_u32_3; } }