Пример #1
0
        /// <summary>
        /// Streamへフォント座標ヘッダーを書き込む。
        /// </summary>
        /// <param name="writer">Stream</param>
        public void Write(BinaryWriter writer)
        {
            //// ToDo: ファイル名や内部名の長さを求める処理を追加。
            writer.Write(this.GameObjectFileID);
            writer.Write(this.GameObjectPathID);
            FsbBinUtils.WriteBoolean(writer, this.GameObjectEnables);

            writer.Write(this.ScriptFileID);
            writer.Write(this.ScriptPathID);
            FsbBinUtils.WriteString(writer, this.ScriptName);

            writer.Write(this.MaterialFileID);
            writer.Write(this.MaterialPathID);

            writer.Write(this.UVRectX);
            writer.Write(this.UVRectY);
            writer.Write(this.UVRectWidth);
            writer.Write(this.UVRectHeight);

            writer.Write(this.BMFontSize);
            writer.Write(this.BMFontBase);
            writer.Write(this.BMFontWidth);
            writer.Write(this.BMFontHeight);

            FsbBinUtils.WriteString(writer, this.SpriteName);
        }
Пример #2
0
        /// <summary>
        /// Streamにデータを書き込む。
        /// </summary>
        /// <param name="bw">Stream</param>
        public void Write(BinaryWriter bw)
        {
            this.LanguageCategoryFile.Write(bw);

            FsbBinUtils.WriteBoolean(bw, this.CaseInsensitiveTerms);
            bw.Write(this.AssetsCount);
            FsbBinUtils.WriteBoolean(bw, this.NeverDestroy);
            FsbBinUtils.WriteBoolean(bw, this.UserAgreesToHaveItOnTheScene);
        }
Пример #3
0
 /// <summary>
 /// ヘッダー情報をStreamに書き出す。
 /// </summary>
 /// <param name="bw">stream</param>
 public void Write(BinaryWriter bw)
 {
     bw.Write(this.GameObjectFileID);
     bw.Write(this.GameObjectPathID);
     FsbBinUtils.WriteBoolean(bw, this.Enabled);
     bw.Write(this.ScriptFileID);
     bw.Write(this.ScriptPathID);
     FsbBinUtils.WriteString(bw, this.Name);
     FsbBinUtils.WriteString(bw, this.LanguageKey);
     FsbBinUtils.WriteString(bw, this.MasterLanguageKey);
 }
Пример #4
0
 /// <summary>
 /// Streamにデータを書き込む。
 /// </summary>
 /// <param name="bw">Stream</param>
 public void Write(BinaryWriter bw)
 {
     bw.Write(this.GameObjectFileID);
     bw.Write(this.GameObjectPathID);
     FsbBinUtils.WriteBoolean(bw, this.Enabled);
     bw.Write(this.ScriptFileID);
     bw.Write(this.ScriptPathID);
     FsbBinUtils.WriteString(bw, this.Name);
     FsbBinUtils.WriteString(bw, this.GoogleWebServiceURL);
     FsbBinUtils.WriteString(bw, this.GoogleSpreadsheetKey);
     FsbBinUtils.WriteString(bw, this.GoogleSpreadsheetName);
     FsbBinUtils.WriteString(bw, this.GoogleLastUpdatedVersion);
     bw.Write(this.GoogleUpdateFrequency);
 }