-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add method to handle speaker say with multiple texts
- Loading branch information
Showing
10 changed files
with
104 additions
and
1 deletion.
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
13 changes: 13 additions & 0 deletions
13
src/common/Edelstein.Common.Gameplay.Game/Objects/User/Effects/Field/FieldEffectType.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,13 @@ | ||
namespace Edelstein.Common.Gameplay.Game.Objects.User.Effects.Field; | ||
|
||
public enum FieldEffectType | ||
{ | ||
Summon = 0x0, | ||
Tremble = 0x1, | ||
Object = 0x2, | ||
Screen = 0x3, | ||
Sound = 0x4, | ||
MobHPTag = 0x5, | ||
ChangeBGM = 0x6, | ||
RewordRullet = 0x7 | ||
} |
14 changes: 14 additions & 0 deletions
14
src/common/Edelstein.Common.Gameplay.Game/Objects/User/Effects/Field/ScreenFieldEffect.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,14 @@ | ||
using Edelstein.Protocol.Utilities.Packets; | ||
|
||
namespace Edelstein.Common.Gameplay.Game.Objects.User.Effects.Field; | ||
|
||
public record ScreenFieldEffect( | ||
string Path | ||
) : IPacketWritable | ||
{ | ||
public void WriteTo(IPacketWriter writer) | ||
{ | ||
writer.WriteByte((byte)FieldEffectType.Screen); | ||
writer.WriteString(Path); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/common/Edelstein.Common.Gameplay.Game/Objects/User/Effects/ReservedEffect.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,14 @@ | ||
using Edelstein.Protocol.Utilities.Packets; | ||
|
||
namespace Edelstein.Common.Gameplay.Game.Objects.User.Effects; | ||
|
||
public record ReservedEffect( | ||
string Path | ||
) : IPacketWritable | ||
{ | ||
public void WriteTo(IPacketWriter writer) | ||
{ | ||
writer.WriteByte((byte)EffectType.ReservedEffect); | ||
writer.WriteString(Path); | ||
} | ||
} |
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
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