コード例 #1
0
 /// <summary>
 /// Adds a special to the database.
 /// </summary>
 /// <param name="s"></param>
 public static void AddSpecial(Special s)
 {
     Database.AddSpecial(s);
 }
コード例 #2
0
 /// <summary>
 /// Removes this item's special marker.
 /// </summary>
 public void ClearSpecial()
 {
     isDeferHeader = false;
     isDiscounted  = false;
     special_ID    = null;
 }
 /// <summary>
 /// Returns the position of the first special that affects
 /// the given item in the list of tokens.
 /// </summary>
 /// <param name="name"></param>
 /// <returns></returns>
 private int HasTokenPosition(Special name)
 {
     return(HasTokenPosition(name.itemAffected));
 }