33 lines
777 B
TypeScript
33 lines
777 B
TypeScript
// Metro module 11601 (f11602).
|
|
import { createExperiment } from "../../../experiments/index";
|
|
import { useGameServerEnabled } from "../GameServerExperiment";
|
|
const experiment = createExperiment({
|
|
kind: "guild",
|
|
id: "2026-03_game_server_pricing",
|
|
label: "Game Server Pricing",
|
|
defaultConfig: {
|
|
enabled: false
|
|
},
|
|
treatments: [{
|
|
id: 1,
|
|
label: "Enable Game Server Pricing",
|
|
config: {
|
|
enabled: true
|
|
}
|
|
}]
|
|
});
|
|
export { experiment as GameServerPricingExperiment };
|
|
export function useIsGameServerPricingEnabled(a0, a1) {
|
|
let r10 = useGameServerEnabled(a0, a1);
|
|
const enabled = experiment.useExperiment({
|
|
guildId: a0,
|
|
location: a1
|
|
}, {
|
|
autoTrackExposure: false
|
|
}).enabled;
|
|
if (r10) {
|
|
r10 = enabled;
|
|
}
|
|
return r10;
|
|
}
|