
    X9Z^]                     4    S SK r S rS rSS jrS rS rS rg)	    Nc                  Z    [         R                  " 5       R                  S   R                  $ )zP
Get the current WillowPlayerController Object.
:return: WillowPlayerController
r   )	unrealsdk	GetEngineGamePlayersActor     eZ:\mnt\Skyabridged\SteamLibrary\steamapps\common\Borderlands 2\sdk_mods\FirstPersonDriver\bl2tools.pyget_player_controllerr      s$    
  ,,Q/555r	   c                 4    U (       a  U R                  U 5      $ g)zk
Get the full correct name of the provided object.
:param object: UObject
:return: String of the Path Name
None)PathName)objects    r
   get_obj_path_namer      s     v&&r	   c                 6    [        5       R                  X5        g)z
Executes a normal console command
:param command: String, the command to execute.
:param bWriteToLog: Bool, write to Log
:return: None
N)r   ConsoleCommand)commandbWriteToLogs     r
   console_commandr      s     **7@r	   c                 Z    [        U R                  [        R                  " U5      :H  5      $ )z
Compares the given Objects class with the given class.
:param obj: UObject
:param inClass: String, the Class to compare with
:return: Bool, whether or not it's in the Class.
)boolClassr   	FindClass)objinClasss     r
   obj_is_in_classr   "   s#     		Y0099::r	   c                      [         R                  " 5       R                  S   R                  R                  R
                  $ )zQ
Get the weapon the WillowPlayerPawn is currently holding.
:return: WillowWeapon
r   )r   r   r   r   PawnWeaponr   r	   r
   get_weapon_holdingr    ,   s0    
  ,,Q/55::AAAr	   c                  H    [         R                  " 5       R                  5       $ )N)r   r   GetCurrentWorldInfor   r	   r
   get_world_infor#   4   s     4466r	   )F)r   r   r   r   r   r    r#   r   r	   r
   <module>r$      s(    6	A;B7r	   