コード例 #1
0
ファイル: NPCChatDialogID.cs プロジェクト: wtfcolt/game
 /// <summary>
 /// Writes a <see cref="NPCChatDialogID"/> to a <see cref="IValueWriter"/>.
 /// </summary>
 /// <param name="valueWriter"><see cref="IValueWriter"/> to write to.</param>
 /// <param name="name">Unique name of the <see cref="NPCChatDialogID"/> that will be used to distinguish it
 /// from other values when reading.</param>
 /// <param name="value"><see cref="NPCChatDialogID"/> to write.</param>
 public static void Write(this IValueWriter valueWriter, string name, NPCChatDialogID value)
 {
     value.Write(valueWriter, name);
 }
コード例 #2
0
ファイル: NPCChatDialogID.cs プロジェクト: wtfcolt/game
 /// <summary>
 /// Writes a <see cref="NPCChatDialogID"/> to a <see cref="BitStream"/>.
 /// </summary>
 /// <param name="bitStream"><see cref="BitStream"/> to write to.</param>
 /// <param name="value"><see cref="NPCChatDialogID"/> to write.</param>
 public static void Write(this BitStream bitStream, NPCChatDialogID value)
 {
     value.Write(bitStream);
 }