private static void ProcessSelection_Prefix_ShowHitChance(PlayerControl __instance) { var playerControl = new PlayerControl_Proxy(__instance); s_logic.Init(playerControl); s_logic.ShowHitChance(); }
public void Init(PlayerControl_Proxy playerControl) { _playerControl = playerControl; _player = _playerControl.CharacterComponent; }
public Boolean TryGetAimInfo(PlayerControl_Proxy playerControl, out String aimChance) { aimChance = playerControl.MakeStringCTH(Character); return(aimChance.Contains("%")); }