Exemplo n.º 1
0
        internal static async void openTattooShop(ClassicPlayer player, Server_Tattoo_Shops tattooShop)
        {
            if (player == null || !player.Exists || player.CharacterId <= 0 || player.IsCefOpen() || tattooShop == null)
            {
                return;
            }
            await LoginHandler.setCefStatus(player, true);

            int gender = Convert.ToInt32(Characters.GetCharacterGender(player.CharacterId));

            player.EmitAsync("Client:TattooShop:openShop", gender, tattooShop.id, CharactersTattoos.GetAccountOwnTattoos(player.CharacterId));
        }