-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGamelibResultCodeMst.cs
More file actions
34 lines (28 loc) · 1.14 KB
/
GamelibResultCodeMst.cs
File metadata and controls
34 lines (28 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using System.Runtime.Serialization;
namespace Edelstein.Data.Msts;
[Serializable]
public class GamelibResultCodeMst : IGameMst, ISerializable
{
public int ResultCode { get; set; }
public required string MasterDialogId { get; set; }
public uint StayFlag { get; set; }
public uint SilentFlag { get; set; }
public uint MasterReleaseLabelId { get; set; }
public GamelibResultCodeMst() { }
protected GamelibResultCodeMst(SerializationInfo info, StreamingContext context)
{
ResultCode = info.GetInt32("_resultCode");
MasterDialogId = info.GetString("_masterDialogId")!;
StayFlag = info.GetUInt32("_stayFlag");
SilentFlag = info.GetUInt32("_silentFlag");
MasterReleaseLabelId = info.GetUInt32("_masterReleaseLabelId");
}
public void GetObjectData(SerializationInfo info, StreamingContext context)
{
info.AddValue("_resultCode", ResultCode);
info.AddValue("_masterDialogId", MasterDialogId);
info.AddValue("_stayFlag", StayFlag);
info.AddValue("_silentFlag", SilentFlag);
info.AddValue("_masterReleaseLabelId", MasterReleaseLabelId);
}
}