public SubscriptionHandler(GameSession session) { session.RegisterUtilHandler(0, 314, OnUtilSubscribe, "OnUtilSubscribe"); session.RegisterUtilHandler(0, 228, OnCloseAll, "OnCloseAll"); Timeout = TimeSpan.FromSeconds(120); }
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"); }
public StoreHandler(GameSession session) { session.RegisterUtilHandler(1, 237, OnGetBattlePayConfig, "OnGetBattlePayConfig"); session.RegisterUtilHandler(1, 255, OnGetBattlePayStatus, "OnGetBattlePayStatus"); }
public VersionHandler(GameSession session) { session.RegisterUtilHandler(0, 303, OnAssetsVersion, "OnAssetsVersion"); }