private void Main_OnTick()
 {
     if (DiscordRPCInfo.rpcClient != null && !DiscordRPCInfo.rpcClient.IsDisposed)
     {
         DiscordRPCInfo.Update();
     }
 }
예제 #2
0
 public override void PostUpdate()
 {
     if (DiscordRPCInfo.rpcClient != null)
     {
         DiscordRPCInfo.Update();
     }
 }