decord/source/modules/poggermode/PoggermodeActionCreators.tsx

70 lines
2.2 KiB
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 7071
// Function ID: 56533
2026-07-20 16:05:17 +00:00
// Name: updatePoggermodeSettings
2026-07-24 07:16:23 +00:00
// Dependencies: [1194, 6919, 7072, 686, 7074, 2]
2026-07-20 16:05:17 +00:00
// Exports: clearMessageCombo, updateCombo, updateComboOnMessageSend, updatePoggermodeSettings
2026-07-24 07:16:23 +00:00
// Module 7071 (updatePoggermodeSettings)
2026-07-23 10:11:24 +00:00
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
import closure_3 from "_isNativeReflectConstruct";
import closure_4 from "_isNativeReflectConstruct";
const result = require("_isNativeReflectConstruct").fileFinishedImporting("modules/poggermode/PoggermodeActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export const updatePoggermodeSettings = function updatePoggermodeSettings(settings) {
2026-07-23 10:11:24 +00:00
let obj = importDefault(686);
2026-07-20 16:05:17 +00:00
obj = { type: "POGGERMODE_SETTINGS_UPDATE", settings };
obj.dispatch(obj);
obj = {};
const merged = Object.assign(state.getState());
const merged1 = Object.assign(settings);
2026-07-24 07:16:23 +00:00
importDefault(7074)(obj);
2026-07-20 16:05:17 +00:00
};
export const updateCombo = function updateCombo(arg0) {
2026-07-23 10:11:24 +00:00
let obj = importDefault(686);
2026-07-20 16:05:17 +00:00
obj = { type: "POGGERMODE_UPDATE_COMBO" };
const merged = Object.assign(arg0);
obj.dispatch(obj);
};
export const clearMessageCombo = function clearMessageCombo(arg0) {
2026-07-23 10:11:24 +00:00
let obj = importDefault(686);
2026-07-20 16:05:17 +00:00
obj = { type: "POGGERMODE_UPDATE_MESSAGE_COMBO" };
obj = {};
const merged = Object.assign(arg0);
obj["displayed"] = true;
obj.comboMessage = obj;
obj.dispatch(obj);
};
2026-07-23 10:11:24 +00:00
export const updateComboOnMessageSend = function updateComboOnMessageSend(outer1_0, id) {
2026-07-20 16:05:17 +00:00
id = id.getId();
2026-07-23 10:11:24 +00:00
const iter = userCombo.getUserCombo(id, outer1_0);
2026-07-20 16:05:17 +00:00
if (null != iter) {
2026-07-23 10:11:24 +00:00
let obj = importDefault(686);
2026-07-20 16:05:17 +00:00
obj = { type: "POGGERMODE_UPDATE_MESSAGE_COMBO" };
2026-07-23 10:11:24 +00:00
obj = { combo: iter, channelId: outer1_0, messageId: id, displayed: false };
2026-07-20 16:05:17 +00:00
obj.comboMessage = obj;
obj.dispatch(obj);
}
let num2 = 1;
if (null != iter) {
let value;
if (null != iter) {
value = iter.value;
}
num2 = 1;
if (value > 0) {
let multiplier;
if (null != iter) {
multiplier = iter.multiplier;
}
let num4 = 0;
if (null != multiplier) {
num4 = multiplier;
}
num2 = num4 + 1;
}
}
2026-07-23 10:11:24 +00:00
const obj1 = { type: "POGGERMODE_UPDATE_COMBO", channelId: outer1_0, userId: id, multiplier: num2, value: 0 };
importDefault(686).dispatch(obj1);
2026-07-20 16:05:17 +00:00
};