mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-04 03:39:55 +00:00
12 lines
379 B
C#
12 lines
379 B
C#
using QSB.Messaging;
|
|
using QSB.Tools.TranslatorTool.TranslationSync.WorldObjects;
|
|
|
|
namespace QSB.Tools.TranslatorTool.TranslationSync.Messages
|
|
{
|
|
internal class SetAsTranslatedMessage : QSBWorldObjectMessage<QSBNomaiText, int>
|
|
{
|
|
public SetAsTranslatedMessage(int textId) => Data = textId;
|
|
|
|
public override void OnReceiveRemote() => WorldObject.SetAsTranslated(Data);
|
|
}
|
|
} |