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