Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added season 1 crafting recipes #250

Merged
merged 2 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class CDataMDataCraftMaterial
public uint ItemId { get; set; }
public uint Num { get; set; }
public uint SortNo { get; set; }
public bool Unk0 { get; set; }
public bool IsSp { get; set; }

public class Serializer : EntitySerializer<CDataMDataCraftMaterial>
{
Expand All @@ -16,7 +16,7 @@ public override void Write(IBuffer buffer, CDataMDataCraftMaterial obj)
WriteUInt32(buffer, obj.ItemId);
WriteUInt32(buffer, obj.Num);
WriteUInt32(buffer, obj.SortNo);
WriteBool(buffer, obj.Unk0);
WriteBool(buffer, obj.IsSp);
}

public override CDataMDataCraftMaterial Read(IBuffer buffer)
Expand All @@ -25,7 +25,7 @@ public override CDataMDataCraftMaterial Read(IBuffer buffer)
obj.ItemId = ReadUInt32(buffer);
obj.Num = ReadUInt32(buffer);
obj.SortNo = ReadUInt32(buffer);
obj.Unk0 = ReadBool(buffer);
obj.IsSp = ReadBool(buffer);
return obj;
}
}
Expand Down
Loading
Loading