public void waitClientReady() { while (true) { if (ClientLCU.IsApiReady()) { break; } Thread.Sleep(2000); } }