Ejemplo n.º 1
0
 /// <summary>
 /// Sends the status icon message to a player.
 /// </summary>
 /// <param name="player">
 /// The player to whom to send <see cref="Player"/>
 /// </param>
 /// <param name="status">
 /// The state of the status icon (hide, show, flash) <see cref="StatusIconState"/>
 /// </param>
 /// <param name="spriteName">
 /// The sprite which to use <see cref="System.String"/>
 /// </param>
 /// <param name="color">
 /// A color <see cref="Color"/>
 /// </param>
 public static void SendStatusIconMessage(this Player player, StatusIconState status, string spriteName, Color color)
 {
     player.SendStatusIconMessage((byte)status, spriteName, color.R, color.G, color.B);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Sends the status icon message to a player.
 /// </summary>
 /// <param name="player">
 /// The player to whom to send <see cref="Player"/>
 /// </param>
 /// <param name="status">
 /// The state of the status icon (hide, show, flash) <see cref="StatusIconState"/>
 /// </param>
 /// <param name="spriteName">
 /// The sprite which to use <see cref="System.String"/>
 /// </param>
 /// <param name="color">
 /// A color <see cref="Color"/>
 /// </param>
 public static void SendStatusIconMessage(this Player player, StatusIconState status, string spriteName, Color color)
 {
     player.SendStatusIconMessage((byte)status, spriteName, color.R, color.G, color.B);
 }