Пример #1
0
        public override void SendClientChanges(ModPlayer clientPlayer)
        {
            RecipeBrowserPlayer clone = clientPlayer as RecipeBrowserPlayer;

            if (!favoritedRecipes.SequenceEqual(clone.favoritedRecipes))
            {
                SendFavoritedRecipes(-1, player.whoAmI);
            }
        }
Пример #2
0
        public override void clientClone(ModPlayer clientClone)
        {
            RecipeBrowserPlayer clone = clientClone as RecipeBrowserPlayer;

            clone.favoritedRecipes.AddRange(favoritedRecipes);
        }