Ejemplo n.º 1
0
        public SubscriptionHandler(GameSession session)
        {
            session.RegisterUtilHandler(0, 314, OnUtilSubscribe, "OnUtilSubscribe");
            session.RegisterUtilHandler(0, 228, OnCloseAll, "OnCloseAll");

            Timeout = TimeSpan.FromSeconds(120);
        }
Ejemplo n.º 2
0
 public AccountHandler(GameSession session)
 {
     session.RegisterUtilHandler(0, 201, OnGetAccountInfo, "OnGetAccountInfo");
     session.RegisterUtilHandler(0, 205, OnUpdateLogin, "OnUpdateLogin");
     session.RegisterUtilHandler(0, 223, OnAckCardSeen, "OnAckCardSeen");
     session.RegisterUtilHandler(0, 239, OnSetOptions, "OnSetOptions");
     session.RegisterUtilHandler(0, 240, OnGetOptions, "OnGetOptions");
     session.RegisterUtilHandler(0, 253, OnGetAchieves, "OnGetAchieves");
     session.RegisterUtilHandler(0, 267, OnCheckAccountLicenses, "OnCheckAccountLicenses");
     session.RegisterUtilHandler(1, 276, OnCheckGameLicenses, "OnCheckGameLicenses");
     session.RegisterUtilHandler(0, 284, OnValidateAchieve, "OnValidateAchieve");
     session.RegisterUtilHandler(0, 305, OnGetAdventureProgress, "OnGetAdventureProgress");
 }
Ejemplo n.º 3
0
 public StoreHandler(GameSession session)
 {
     session.RegisterUtilHandler(1, 237, OnGetBattlePayConfig, "OnGetBattlePayConfig");
     session.RegisterUtilHandler(1, 255, OnGetBattlePayStatus, "OnGetBattlePayStatus");
 }
Ejemplo n.º 4
0
 public VersionHandler(GameSession session)
 {
     session.RegisterUtilHandler(0, 303, OnAssetsVersion, "OnAssetsVersion");
 }