Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
显示扭蛋
Browse files Browse the repository at this point in the history
  • Loading branch information
lzghzr committed Oct 16, 2017
1 parent 600bb1f commit 04d5755
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ShowInfo/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.1.0")]
[assembly: AssemblyFileVersion("1.0.1.0")]
6 changes: 3 additions & 3 deletions ShowInfo/ShowInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
{
Expand All @@ -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)
{
Expand Down

0 comments on commit 04d5755

Please sign in to comment.