steamutils 1.4.19 → 1.4.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.idea/git_toolbox_blame.xml +6 -0
- package/.idea/git_toolbox_prj.xml +15 -0
- package/SteamClient.js +12 -0
- package/package.json +1 -1
@@ -0,0 +1,15 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="GitToolBoxProjectSettings">
|
4
|
+
<option name="commitMessageIssueKeyValidationOverride">
|
5
|
+
<BoolValueOverride>
|
6
|
+
<option name="enabled" value="true" />
|
7
|
+
</BoolValueOverride>
|
8
|
+
</option>
|
9
|
+
<option name="commitMessageValidationEnabledOverride">
|
10
|
+
<BoolValueOverride>
|
11
|
+
<option name="enabled" value="true" />
|
12
|
+
</BoolValueOverride>
|
13
|
+
</option>
|
14
|
+
</component>
|
15
|
+
</project>
|
package/SteamClient.js
CHANGED
@@ -2245,6 +2245,17 @@ function SteamClient({ username, password, cookie, clientJsToken, isAutoRequestF
|
|
2245
2245
|
});
|
2246
2246
|
}
|
2247
2247
|
|
2248
|
+
function acknowledgePenalty() {
|
2249
|
+
steamClient.sendToGC(
|
2250
|
+
730,
|
2251
|
+
Protos.csgo.ECsgoGCMsg.k_EMsgGCCStrike15_v2_AcknowledgePenalty,
|
2252
|
+
{},
|
2253
|
+
protoEncode(Protos.csgo.CMsgGCCStrike15_v2_AcknowledgePenalty, {
|
2254
|
+
acknowledged: 1,
|
2255
|
+
}),
|
2256
|
+
);
|
2257
|
+
}
|
2258
|
+
|
2248
2259
|
return {
|
2249
2260
|
init,
|
2250
2261
|
partySearch,
|
@@ -2449,6 +2460,7 @@ function SteamClient({ username, password, cookie, clientJsToken, isAutoRequestF
|
|
2449
2460
|
},
|
2450
2461
|
redeemFreeReward,
|
2451
2462
|
requestJoinFriendData,
|
2463
|
+
acknowledgePenalty,
|
2452
2464
|
};
|
2453
2465
|
}
|
2454
2466
|
|