public virtual void ClientSetupSkeleton(
            IItem item,
            ICharacter character,
            IComponentSkeleton skeletonRenderer,
            List <IClientComponent> skeletonComponents)
        {
            ClientSkeletonItemInHandHelper.Setup(
                skeletonRenderer,
                "WeaponMelee",
                this.GetCharacterTextureResource(item, character));

            var isActive = GetPublicState(item).IsActive;

            this.ClientSetupSkeletonAnimation(isActive, item, character, skeletonRenderer, skeletonComponents);

            if (!isActive)
            {
                // not active light
                return;
            }

            var sceneObject              = Client.Scene.GetSceneObject(character);
            var componentLightSource     = this.ClientCreateLightSource(item, character, sceneObject);
            var componentLightInSkeleton = sceneObject.AddComponent <ClientComponentLightInSkeleton>();

            componentLightInSkeleton.Setup(character,
                                           skeletonRenderer,
                                           this.ItemLightConfig,
                                           componentLightSource,
                                           "Weapon",
                                           "Weapon");

            skeletonComponents.Add(componentLightSource);
            skeletonComponents.Add(componentLightInSkeleton);
        }
 public virtual void ClientSetupSkeleton(
     IItem item,
     ICharacter character,
     IComponentSkeleton skeletonRenderer,
     List <IClientComponent> skeletonComponents)
 {
     ClientSkeletonItemInHandHelper.Setup(
         skeletonRenderer,
         "WeaponMelee",
         this.CharacterTextureResource);
 }
 private static void ClientResetWeaponAttachments(IComponentSkeleton skeletonRenderer)
 {
     ClientSkeletonItemInHandHelper.Reset(skeletonRenderer);
 }