Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- byte active = p.Read<byte>("Active Quests");
- for (int i = 0; i < active; i++)
- {
- p.Read<int>("QuestID");
- p.Read<byte>("Repetition amount");
- p.Read<byte>("Unknown");
- byte questtype = p.Read<byte>("QuestType");
- if (questtype == 0x1C)
- {
- p.Read<int>("Time");
- }
- p.Read<byte>("Unknown");
- byte objectives = p.Read<byte>("Objective count");
- for (int l = 0; l < objectives; l++)
- {
- p.Read<byte>("Objective order number");
- p.Read<byte>("Status");
- //p.Read<string>("objectivename");
- short c = p.Read<short>("length");
- for (int d = 0; d < c; d++)
- {
- p.Read<byte>("namebyte");
- }
- byte task = p.Read<byte>("Taskcount");
- for (int z = 0; z < task; z++)
- {
- p.Read<int>("unknown");
- }
- }
- byte npccount = p.Read<byte>("Npccount");
- for (int y = 0; y < npccount; y++)
- {
- p.Read<int>("NPC ID");
- }
- }
Add Comment
Please, Sign In to add comment