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