/// <summary> /// Initializes a new instance of the <see cref="CharacterStatusEffectTable"/> class. /// </summary> /// <param name="characterID">The initial value for the corresponding property.</param> /// <param name="iD">The initial value for the corresponding property.</param> /// <param name="power">The initial value for the corresponding property.</param> /// <param name="statusEffect">The initial value for the corresponding property.</param> /// <param name="timeLeftSecs">The initial value for the corresponding property.</param> public CharacterStatusEffectTable(CharacterID @characterID, ActiveStatusEffectID @iD, UInt16 @power, StatusEffectType @statusEffect, UInt16 @timeLeftSecs) { CharacterID = @characterID; ID = @iD; Power = @power; StatusEffect = @statusEffect; TimeLeftSecs = @timeLeftSecs; }
/// <summary> /// Deletes an <see cref="ActiveStatusEffect"/> from the database using the <see cref="ActiveStatusEffectID"/>. /// </summary> /// <param name="id">The <see cref="ActiveStatusEffectID"/> to delete form the database.</param> static void DeleteFromDatabase(ActiveStatusEffectID id) { _deleteQuery.Execute(id); }
/// <summary> /// Initializes a new instance of the <see cref="ASEWithID"/> struct. /// </summary> /// <param name="id">The <see cref="ActiveStatusEffectID"/>.</param> /// <param name="value">The <see cref="ActiveStatusEffect"/>.</param> public ASEWithID(ActiveStatusEffectID id, ActiveStatusEffect value) { _id = id; _value = value; }
/// <summary> /// Initializes a new instance of the <see cref="CharacterStatusEffectTable"/> class. /// </summary> /// <param name="characterID">The initial value for the corresponding property.</param> /// <param name="iD">The initial value for the corresponding property.</param> /// <param name="power">The initial value for the corresponding property.</param> /// <param name="statusEffect">The initial value for the corresponding property.</param> /// <param name="timeLeftSecs">The initial value for the corresponding property.</param> public CharacterStatusEffectTable(CharacterID @characterID, ActiveStatusEffectID @iD, UInt16 @power, StatusEffectType @statusEffect, UInt16 @timeLeftSecs) { CharacterID = @characterID; ID = @iD; Power = @power; StatusEffect = @statusEffect; TimeLeftSecs = @timeLeftSecs; }
/// <summary> /// Deletes an <see cref="ActiveStatusEffect"/> from the database using the <see cref="ActiveStatusEffectID"/>. /// </summary> /// <param name="id">The <see cref="ActiveStatusEffectID"/> to delete form the database.</param> static void DeleteFromDatabase(ActiveStatusEffectID id) { _deleteQuery.Execute(id); }
/// <summary> /// Initializes a new instance of the <see cref="ASEWithID"/> struct. /// </summary> /// <param name="id">The <see cref="ActiveStatusEffectID"/>.</param> /// <param name="value">The <see cref="ActiveStatusEffect"/>.</param> public ASEWithID(ActiveStatusEffectID id, ActiveStatusEffect value) { _id = id; _value = value; }