Exemple #1
0
        public static void Postfix(HudManager __instance)
        {
            if (PlayerControl.LocalPlayer == null || !PlayerControl.LocalPlayer.CanMove)
            {
                return;
            }

            EmojiController.Update();
        }
Exemple #2
0
        protected override void Handle()
        {
            var Player  = ReadPlayer();
            var EmojiId = Reader.ReadInt32();

            if (Player != null)
            {
                EmojiController.SpawnEmoji(Player, EmojiId);
            }
        }
Exemple #3
0
 public static void Load()
 {
     EmojiController.AddEmoji(BUTTON);
     EmojiController.AddEmoji(ATTENTION);
     EmojiController.AddEmoji(FIRE);
     EmojiController.AddEmoji(GHOST);
     EmojiController.AddEmoji(POOP);
     EmojiController.AddEmoji(QUESTION);
     EmojiController.AddEmoji(SLEEP);
     EmojiController.AddEmoji(THUNDER);
     EmojiController.AddEmoji(LOVE);
 }