class RipperdocPerkTooltip extends AGenericTooltipController
{
	private editable var m_perkName : inkTextRef;
	private editable var m_perkIcon : inkImageRef;
	private editable var m_skeletonPerkLocKey : CName;
	private editable var m_handsPerkLocKey : CName;
	private editable var m_skeletonPerkIconName : CName;
	private editable var m_handsPerkIconName : CName;

	public override function SetData( tooltipData : ATooltipData )
	{
		var data : RipperdocPerkTooltipData;
		data = ( ( RipperdocPerkTooltipData )( tooltipData ) );
		if( data.ripperdocHoverState == RipperdocHoverState.SlotSkeleton )
		{
			inkTextRef.SetText( m_perkName, ( ( ( ( GetLocalizedItemNameByCName( m_skeletonPerkLocKey ) + " (" ) + GetLocalizedItemNameByCName( 'Gameplay-RPG-Skills-LevelName' ) ) + " " ) + IntToString( 3 ) ) + ")" );
			inkImageRef.SetTexturePart( m_perkIcon, m_skeletonPerkIconName );
		}
		if( data.ripperdocHoverState == RipperdocHoverState.SlotHands )
		{
			inkTextRef.SetLocalizedText( m_perkName, m_handsPerkLocKey );
			inkImageRef.SetTexturePart( m_perkIcon, m_handsPerkIconName );
		}
	}

}

class RipperdocPerkTooltipData extends ATooltipData
{
	var ripperdocHoverState : RipperdocHoverState;
}

