public static void Postfix(HudManager __instance) { if (PlayerControl.LocalPlayer == null || !PlayerControl.LocalPlayer.CanMove) { return; } EmojiController.Update(); }
protected override void Handle() { var Player = ReadPlayer(); var EmojiId = Reader.ReadInt32(); if (Player != null) { EmojiController.SpawnEmoji(Player, EmojiId); } }
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); }