Example #1
0
 public void Initiate(PBMessenger messenger, ServiceAPI svr_api)
 {
     SvrAPI           = svr_api;
     BillingConnected = false;
     MessageInitiate(messenger);
     if (!OptionCollection.Instance.Get <LobbyConfig>().BillingDisable)
     {
         LogSys.Log(LOG_TYPE.INFO, "Initiate Billing connection");
         InitiateBillingConnection(messenger);
     }
     else
     {
         LogSys.Log(LOG_TYPE.INFO, "Billing disable");
     }
     svr_api.AddTimer(0, 500, (api, s, c) => Tick());
 }