This repository has been archived by the owner on Apr 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ public ShowInfo() | |
PluginName = "用户信息"; | ||
PluginDesc = "显示投喂用户的隐藏信息"; | ||
PluginCont = "[email protected]"; | ||
PluginVer = "v1.0.0"; | ||
PluginVer = "v1.0.1"; | ||
} | ||
private void B_ReceivedDanmaku(object sender, ReceivedDanmakuArgs e) | ||
{ | ||
|
@@ -51,7 +51,7 @@ private void B_ReceivedDanmaku(object sender, ReceivedDanmakuArgs e) | |
userLog += String.Format(" {0}{1}", value, e.Danmaku.GiftName); | ||
} | ||
|
||
Regex normalCapsule = new Regex("\"normal\":{ \"coin\":\"?(\\d+)"); | ||
Regex normalCapsule = new Regex("\"normal\":{\"coin\":\"?(\\d+)"); | ||
Match hasNormalCapsule = normalCapsule.Match(rawData); | ||
if (hasNormalCapsule.Success) | ||
{ | ||
|
@@ -60,7 +60,7 @@ private void B_ReceivedDanmaku(object sender, ReceivedDanmakuArgs e) | |
userLog += String.Format(" {0}普通扭蛋", value); | ||
} | ||
|
||
Regex colorfulCapsule = new Regex("\"colorful\":{ \"coin\":\"?(\\d+)"); | ||
Regex colorfulCapsule = new Regex("\"colorful\":{\"coin\":\"?(\\d+)"); | ||
Match hascClorfulCapsule = colorfulCapsule.Match(rawData); | ||
if (hascClorfulCapsule.Success) | ||
{ | ||
|