Prayers Again (#10960)
* prayer system * verbs * localize * Praying changes * praying + cleanup * Revert "praying + cleanup" This reverts commit e8ee90f9f0be9a2eeb4d660359f0913c9e82aba3. * Prayers (actually) * forgot to remove this * slight fixes * veritius reviews * I did it * less HD images Co-authored-by: Just-a-Unity-Dev <just-a-unity-dev@users.noreply.github.com>
This commit is contained in:
17
Content.Client/Prayer/PrayerSystem.cs
Normal file
17
Content.Client/Prayer/PrayerSystem.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Content.Shared.Administration;
|
||||
using Content.Shared.Prayer;
|
||||
|
||||
namespace Content.Client.Prayer;
|
||||
/// <summary>
|
||||
/// System to handle subtle messages and praying
|
||||
/// </summary>
|
||||
public sealed class PrayerSystem : SharedPrayerSystem
|
||||
{
|
||||
protected override void OnPrayerTextMessage(PrayerTextMessage message, EntitySessionEventArgs eventArgs)
|
||||
{
|
||||
var bwoinkMessage = new SharedBwoinkSystem.BwoinkTextMessage(eventArgs.SenderSession.UserId,
|
||||
eventArgs.SenderSession.UserId, message.Text);
|
||||
|
||||
RaiseNetworkEvent(bwoinkMessage);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user