2022-01-26 21:00:12 -08:00
|
|
|
|
using QSB.Messaging;
|
2021-12-24 21:39:32 -08:00
|
|
|
|
using QSB.Tools.TranslatorTool.TranslationSync.WorldObjects;
|
2020-12-31 12:10:55 +00:00
|
|
|
|
|
2022-03-02 19:46:33 -08:00
|
|
|
|
namespace QSB.Tools.TranslatorTool.TranslationSync.Messages;
|
|
|
|
|
|
|
|
|
|
internal class SetAsTranslatedMessage : QSBWorldObjectMessage<QSBNomaiText, int>
|
2020-12-31 12:10:55 +00:00
|
|
|
|
{
|
2022-03-10 17:57:50 -08:00
|
|
|
|
public SetAsTranslatedMessage(int textId) : base(textId) { }
|
2021-12-26 20:10:38 -08:00
|
|
|
|
|
2022-03-02 19:46:33 -08:00
|
|
|
|
public override void OnReceiveRemote() => WorldObject.SetAsTranslated(Data);
|
2021-12-24 21:39:32 -08:00
|
|
|
|
}
|