Add endpoint to cheat

This commit is contained in:
Ethan O'Brien
2026-02-06 14:39:49 -06:00
parent f4fcbf30ed
commit 8a666a56b5
5 changed files with 251 additions and 215 deletions

View File

@@ -66,10 +66,10 @@ pub fn check_for_region(user: &mut JsonValue, headers: &HeaderMap) {
// true - limit reached
// false - all good
const GIFT_LIMIT: usize = 100000;
const LIMIT_ITEMS: i64 = 200000000;
const LIMIT_COINS: i64 = 2000000000;
const LIMIT_PRIMOGEMS: i64 = 1000000;
pub const GIFT_LIMIT: usize = 100000;
pub const LIMIT_ITEMS: i64 = 200000000;
pub const LIMIT_COINS: i64 = 2000000000;
pub const LIMIT_PRIMOGEMS: i64 = 1000000;
fn give(array: &mut JsonValue, shop_id: &str, master_item_id: i64, limit: i64, count_id: &str, count: i64, default_push: JsonValue) -> bool {
for data in array.members_mut() {