-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Willian Henrique <[email protected]>
- Loading branch information
1 parent
ce10544
commit 214f5fb
Showing
5 changed files
with
102 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
23 changes: 23 additions & 0 deletions
23
DemoParser/src/Parser/Components/Messages/UserMessages/WitchBloodSplatter.cs
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using System.Numerics; | ||
using DemoParser.Parser.Components.Abstract; | ||
using DemoParser.Utils; | ||
using DemoParser.Utils.BitStreams; | ||
|
||
namespace DemoParser.Parser.Components.Messages.UserMessages { | ||
|
||
public class WitchBloodSplatter : UserMessage { | ||
|
||
public Vector3 Pos; | ||
|
||
|
||
public WitchBloodSplatter(SourceDemo? demoRef, byte value) : base(demoRef, value) {} | ||
|
||
protected override void Parse(ref BitStreamReader bsr) { | ||
bsr.ReadVectorCoord(out Pos); | ||
} | ||
|
||
public override void PrettyWrite(IPrettyWriter pw) { | ||
pw.Append($"pos: {Pos}"); | ||
} | ||
} | ||
} |
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
Binary file not shown.
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