1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 15:22:55 +08:00

Move properties and mark as get-only

This commit is contained in:
Salman Ahmed 2022-08-03 20:31:51 +03:00
parent 8b02c955d8
commit b00c3a4d6d

View File

@ -42,14 +42,15 @@ namespace osu.Desktop.LegacyIpc
public class Data
{
public string MessageType { get; }
public object MessageData { get; }
public Data(string messageType, object messageData)
{
MessageType = messageType;
MessageData = messageData;
}
public string MessageType { get; set; }
public object MessageData { get; set; }
}
}
}