/// <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); }
/// <summary> /// 言語データエントリーをStreamに書き出す。 /// </summary> /// <param name="bw">Stream</param> public void Write(BinaryWriter bw) { FsbBinUtils.WriteString(bw, this.TranslationId); FsbBinUtils.WriteString(bw, this.TranslationText); bw.Write(this.LastModificationTicks); FsbBinUtils.WriteString(bw, this.HumanlyReadableDate); }
/// <summary> /// Streamにデータを書き込む。 /// </summary> /// <param name="bw">Stream</param> public void Write(BinaryWriter bw) { FsbBinUtils.WriteString(bw, this.EntryID); bw.Write(this.TermType); FsbBinUtils.WriteString(bw, this.Description); //// Texts bw.Write(this.Texts.Count); foreach (var text in this.Texts) { FsbBinUtils.WriteString(bw, text); } //// LanguagesTouch bw.Write(this.LanguagesTouch.Count); foreach (var entry in this.LanguagesTouch) { FsbBinUtils.WriteString(bw, entry); } //// Flags bw.Write(this.Flags.Count); foreach (var entry in this.Flags) { bw.Write(entry); } }
/// <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); }
/// <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); }
/// <summary> /// Streamに言語テーブルエントリーを書き込む。 /// </summary> /// <param name="bw">Stream</param> public void Write(BinaryWriter bw) { FsbBinUtils.WriteString(bw, this.Name); FsbBinUtils.WriteString(bw, this.Code); }