Example #1
0
        public void UpdateClothing(Client client)
        {
            if (!client.HasData(EntityData.Account))
            {
                return;
            }

            Account acc = client.GetData(EntityData.Account) as Account;

            Appearance app = Appearance.RetrieveAppearance(acc);

            app.Attach(client);

            Clothing clothing = Clothing.RetrieveClothing(acc);

            clothing.Attach(client);
        }