Exemple #1
0
        public static void Handle_GetCurrentAvatarInfo(ClientConnection Client, PacketReader preader, byte last)
        {
            Account User = Client.CurrentAccount;

            getCurrentAvatarInfo(User);
            //Client.SendAsync(new GetCurrentAvatarInfo_0X6D(User, last));
            Client.SendAsync(new GetCurrentAvatarInfo(User, last));
            MyRoomHandle.UpdateUserLuck(User);
        }
        public static void Handle_GetCurrentAvatarInfo(ClientConnection Client, PacketReader preader, byte last)
        {
            Account User = Client.CurrentAccount;

            getCurrentAvatarInfo(User);
            //Client.SendAsync(new GetCurrentAvatarInfo_0X6D(User, last));
            Client.SendAsync(new GetCurrentAvatarInfo(User, last));
            User.AllItemAttr.Clear();
            MyRoomHandle.UpdateSetItemAttrInfo(User);
            MyRoomHandle.UpdateUserTotalAttr(User);
            MyRoomHandle.UpdateUserLuck(User);
            MyRoomHandle.UpdateAttackInfo(User);
        }