public FightDispellableEffectExtendedInformations( uint actionId, double sourceId, AbstractFightDispellableEffect effect) { this.actionId = actionId; this.sourceId = sourceId; this.effect = effect; }
public virtual void Deserialize(IDataReader reader) { this.actionId = (uint)reader.ReadVarUhShort(); if (this.actionId < 0U) { throw new Exception("Forbidden value (" + (object)this.actionId + ") on element of FightDispellableEffectExtendedInformations.actionId."); } this.sourceId = reader.ReadDouble(); if (this.sourceId < -9.00719925474099E+15 || this.sourceId > 9.00719925474099E+15) { throw new Exception("Forbidden value (" + (object)this.sourceId + ") on element of FightDispellableEffectExtendedInformations.sourceId."); } this.effect = ProtocolTypeManager.GetInstance <AbstractFightDispellableEffect>((uint)reader.ReadUShort()); this.effect.Deserialize(reader); }