public void Read(IDataInput param1, ICommandLookup lookup) { this.skillColorId = param1.ReadInt(); this.skillColorId = param1.Shift(this.skillColorId, 16); this.targetUserId = param1.ReadInt(); this.targetUserId = param1.Shift(this.targetUserId, 11); this.attackType = lookup.Lookup(param1) as AttackTypeModule; this.attackType.Read(param1, lookup); }
public AttackMissedCommand(AttackTypeModule param1 = null, int param2 = 0, int param3 = 0) { if (param1 == null) { this.attackType = new AttackTypeModule(); } else { this.attackType = param1; } this.targetUserId = param2; this.skillColorId = param3; }
public void Read(IDataInput param1, ICommandLookup lookup) { this.damage = param1.ReadInt(); this.damage = param1.Shift(this.damage, 17); this.skilled = param1.ReadBoolean(); this.victimId = param1.ReadInt(); this.victimId = param1.Shift(this.victimId, 28); this.victimHitpoints = param1.ReadInt(); this.victimHitpoints = param1.Shift(this.victimHitpoints, 25); this.victimNanoHull = param1.ReadInt(); this.victimNanoHull = param1.Shift(this.victimNanoHull, 16); this.attackerId = param1.ReadInt(); this.attackerId = param1.Shift(this.attackerId, 18); this.attackType = lookup.Lookup(param1) as AttackTypeModule; this.attackType.Read(param1, lookup); this.victimShield = param1.ReadInt(); this.victimShield = param1.Shift(this.victimShield, 2); }
public AttackHitCommand(AttackTypeModule param1 = null, int param2 = 0, int param3 = 0, int param4 = 0, int param5 = 0, int param6 = 0, int param7 = 0, bool param8 = false) { if (param1 == null) { this.attackType = new AttackTypeModule(); } else { this.attackType = param1; } this.attackerId = param2; this.victimId = param3; this.victimHitpoints = param4; this.victimShield = param5; this.victimNanoHull = param6; this.damage = param7; this.skilled = param8; }