コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <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);
 }
コード例 #3
0
 /// <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;
 }
コード例 #4
0
 /// <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;
 }
コード例 #5
0
 /// <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);
 }
コード例 #6
0
 /// <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;
 }