public void LoadData(out EquipmentMask mask) { mask = new EquipmentMask() { a = a }; }
public void LoadDataOut(out EquipmentMask mask) { mask = new EquipmentMask() { array = array.ToArray() }; }
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); } } }
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); } }
// Token: 0x0600279B RID: 10139 RVA: 0x000B88F4 File Offset: 0x000B6AF4 public static void _WriteEquipmentMask_None(NetworkWriter writer, EquipmentMask value) { writer.WritePackedUInt32(value.a); }
public EquipmentMaskData(EquipmentMask mask) { a = mask.a; }
public EquipmentMaskData(EquipmentMask mask) { array = mask.array.ToArray(); }