예제 #1
0
 public void LoadData(out EquipmentMask mask)
 {
     mask = new EquipmentMask()
     {
         a = a
     };
 }
예제 #2
0
 public void LoadDataOut(out EquipmentMask mask)
 {
     mask = new EquipmentMask()
     {
         array = array.ToArray()
     };
 }
예제 #3
0
 private static void LoadBlackListEquipment()
 {
     _equipment = new EquipmentMask();
     foreach (var piece in ShareSuite.EquipmentBlacklist.Value.Split(','))
     {
         if (int.TryParse(piece.Trim(), out var equipmentIndex))
         {
             _equipment.Add((EquipmentIndex)equipmentIndex);
         }
     }
 }
예제 #4
0
        private static void LoadBlackListEquipment()
        {
            _equipment = new EquipmentMask();
            foreach (var piece in ShareSuite.EquipmentBlacklist.Value.Split(','))
            {
                // if (int.TryParse(piece.Trim(), out var equipmentIndex))
                //     _equipment.Add((EquipmentIndex) equipmentIndex);
                var equip = EquipmentCatalog.FindEquipmentIndex(piece);
                if (equip == EquipmentIndex.None)
                {
                    continue;
                }

                _equipment.Add(equip);
            }
        }
예제 #5
0
		// Token: 0x0600279B RID: 10139 RVA: 0x000B88F4 File Offset: 0x000B6AF4
		public static void _WriteEquipmentMask_None(NetworkWriter writer, EquipmentMask value)
		{
			writer.WritePackedUInt32(value.a);
		}
예제 #6
0
 public EquipmentMaskData(EquipmentMask mask)
 {
     a = mask.a;
 }
예제 #7
0
 public EquipmentMaskData(EquipmentMask mask)
 {
     array = mask.array.ToArray();
 }