コード例 #1
0
 public Territory(Xiv.TerritoryType type)
     : this(type.Sheet.Collection.PackCollection, type.Name, type.Bg)
 {
 }
コード例 #2
0
        protected virtual System.IO.FileInfo GetTargetFile(Xiv.Items.Equipment item, Xiv.Stain stain)
        {
            const int DirectorySeperationInterval = 100;

            var fileName = string.Format("{0} - {1}", item.Key, item.Name);
            if (stain != null)
                fileName += string.Format(" (s{0:D4} {1})", stain.Key, stain.Name);
            return new System.IO.FileInfo(System.IO.Path.Combine("Renders", (item.Key - item.Key % DirectorySeperationInterval).ToString(), fileName));
        }
コード例 #3
0
 protected virtual string GetName(Xiv.Items.Equipment item, Xiv.Stain stain)
 {
     var sb = new StringBuilder();
     sb.Append(item.Name);
     if(stain != null && stain.Key > 0)
         sb.AppendFormat(" (s{0:D4} {1})", stain.Key, stain.Name);
     return sb.ToString();
 }
コード例 #4
0
 protected System.IO.FileInfo GetTargetFile(Xiv.Items.Equipment item)
 {
     return GetTargetFile(item, null);
 }
コード例 #5
0
 protected string GetName(Xiv.Items.Equipment item)
 {
     return GetName(item, null);
 }