A type of expression that players will show
예제 #1
0
 /// <summary>
 /// Adds/creates all <c>SmileyType</c>s
 /// </summary>
 public static void Init()
 {
     Smile    = new SmileyType("Smile", 0);
     Happy    = new SmileyType("Happy", Player.Height);
     Laughing = new SmileyType("Laughing", Player.Height * 2);
     Tounge   = new SmileyType("Tounge", Player.Height * 3);
     Oh       = new SmileyType("Oh", Player.Height * 4);
     Meh      = new SmileyType("Meh", Player.Height * 5);
     Sad      = new SmileyType("Sad", Player.Height * 6);
     Upset    = new SmileyType("Upset", Player.Height * 7);
 }
예제 #2
0
 public void Decode(NetIncomingMessage im)
 {
     this.ID = im.ReadByte();
     this.Smiley = SmileyType.FromID(im.ReadByte());
 }
예제 #3
0
 public PlayerSmileyMessage(Player player, SmileyType smiley)
 {
     this.ID = player.ID;
     this.Smiley = smiley;
 }
예제 #4
0
 /// <summary>
 /// Adds/creates all <c>SmileyType</c>s
 /// </summary>
 public static void Init()
 {
     Smile = new SmileyType("Smile", 0);
     Happy = new SmileyType("Happy", Player.Height);
     Laughing = new SmileyType("Laughing", Player.Height * 2);
     Tounge = new SmileyType("Tounge", Player.Height * 3);
     Oh = new SmileyType("Oh", Player.Height * 4);
     Meh = new SmileyType("Meh", Player.Height * 5);
     Sad = new SmileyType("Sad", Player.Height * 6);
     Upset = new SmileyType("Upset", Player.Height * 7);
 }