// Token: 0x060018AC RID: 6316 RVA: 0x0006A334 File Offset: 0x00068534
        public void Copy([NotNull] RuleMask src)
        {
            byte[] bytes  = src.bytes;
            byte[] bytes2 = this.bytes;
            int    i      = 0;
            int    num    = bytes2.Length;

            while (i < num)
            {
                bytes2[i] = bytes[i];
                i++;
            }
        }
        // Token: 0x060018AA RID: 6314 RVA: 0x0006A2C4 File Offset: 0x000684C4
        public override bool Equals(object obj)
        {
            RuleMask ruleMask = obj as RuleMask;

            if (ruleMask != null)
            {
                for (int i = 0; i < this.bytes.Length; i++)
                {
                    if (this.bytes[i] != ruleMask.bytes[i])
                    {
                        return(false);
                    }
                }
            }
            return(true);
        }
Exemplo n.º 3
0
 // Token: 0x060009B8 RID: 2488 RVA: 0x00030CDB File Offset: 0x0002EEDB
 public static void ReadRuleMask(this NetworkReader reader, RuleMask dest)
 {
     dest.Deserialize(reader);
 }
Exemplo n.º 4
0
 // Token: 0x060009B7 RID: 2487 RVA: 0x00030CD2 File Offset: 0x0002EED2
 public static void Write(this NetworkWriter writer, RuleMask src)
 {
     src.Serialize(writer);
 }