Commit 7a2e3e76 authored by mercury233's avatar mercury233

update 0x1337: STATUS_DISABLED

parent bef08d3b
......@@ -46,3 +46,4 @@ AI_core_vs2017solution/core.VC.db
AI_core_vs2017solution/core.VC.VC.opendb
AI_core_vs2017solution/System.Servicemodel.Faltexception.dll
[Ll]ibrary_/
AI_core_vs2017solution/.vs
......@@ -763,12 +763,11 @@ public static class BinaryExtensions
}
if ((flag & (int)Query.Owner) != 0)
r.ReadInt32();
if ((flag & (int)Query.IsDisabled) != 0)
if ((flag & (int)Query.Status) != 0)
{
cardToRefresh.disabled = (r.ReadInt32() != 0);
int status = r.ReadInt32();
cardToRefresh.disabled = (status & 0x0001) == 0x0001;
}
if ((flag & (int)Query.IsPublic) != 0)
r.ReadInt32();
if ((flag & (int)Query.LScale) != 0)
data.LScale = r.ReadInt32();
if ((flag & (int)Query.RScale) != 0)
......
......@@ -21,8 +21,7 @@
OverlayCard = 0x10000,
Counters = 0x20000,
Owner = 0x40000,
IsDisabled = 0x80000,
IsPublic = 0x100000,
Status = 0x80000,
LScale = 0x200000,
RScale = 0x400000
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment