-
Notifications
You must be signed in to change notification settings - Fork 18
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
1 parent
2a3d6e9
commit 78a8a45
Showing
13 changed files
with
90 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace VoiceCraft.Core.Packets.MCComm | ||
{ | ||
public class ChannelAdd : MCCommPacket | ||
{ | ||
public override byte PacketId => (byte)MCCommPacketTypes.ChannelAdd; | ||
public string PlayerId { get; set; } = string.Empty; | ||
public byte ChannelId { get; set; } = 0; //0 For Main; | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace VoiceCraft.Core.Packets.MCComm | ||
{ | ||
public class ChannelRemove : MCCommPacket | ||
{ | ||
public override byte PacketId => (byte)MCCommPacketTypes.ChannelRemove; | ||
public string PlayerId { get; set; } = string.Empty; | ||
public byte ChannelId { get; set; } = 0; //0 For Main. If participant is removed from another channel, they will automatically be added to main. you cannot remove participants that are only in main. | ||
} | ||
} |
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,8 @@ | ||
namespace VoiceCraft.Core.Packets.MCComm | ||
{ | ||
public class DeafenParticipant : MCCommPacket | ||
{ | ||
public override byte PacketId => (byte)MCCommPacketTypes.DeafenParticipant; | ||
public string PlayerId { get; set; } = string.Empty; | ||
} | ||
} |
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,8 @@ | ||
namespace VoiceCraft.Core.Packets.MCComm | ||
{ | ||
public class GetParticipantBitmask : MCCommPacket | ||
{ | ||
public override byte PacketId => (byte)MCCommPacketTypes.GetParticipantBitmask; | ||
public byte Bitmask { get; set; } | ||
} | ||
} |
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,8 @@ | ||
namespace VoiceCraft.Core.Packets.MCComm | ||
{ | ||
public class MuteParticipant : MCCommPacket | ||
{ | ||
public override byte PacketId => (byte)MCCommPacketTypes.MuteParticipant; | ||
public string PlayerId { get; set; } = string.Empty; | ||
} | ||
} |
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,8 @@ | ||
namespace VoiceCraft.Core.Packets.MCComm | ||
{ | ||
public class SetParticipantBitmask : MCCommPacket | ||
{ | ||
public override byte PacketId => (byte)MCCommPacketTypes.SetParticipantBitmask; | ||
public byte Bitmask { get; set; } | ||
} | ||
} |
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,8 @@ | ||
namespace VoiceCraft.Core.Packets.MCComm | ||
{ | ||
public class UndeafenParticipant : MCCommPacket | ||
{ | ||
public override byte PacketId => (byte)MCCommPacketTypes.UndeafenParticipant; | ||
public string PlayerId { get; set; } = string.Empty; | ||
} | ||
} |
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,8 @@ | ||
namespace VoiceCraft.Core.Packets.MCComm | ||
{ | ||
public class UnmuteParticipant : MCCommPacket | ||
{ | ||
public override byte PacketId => (byte)MCCommPacketTypes.UnmuteParticipant; | ||
public string PlayerId { get; set; } = string.Empty; | ||
} | ||
} |
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
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