protected virtual object ReadDisableCasterList() { DisableListData data = new DisableListData(); data.time = ReadShort(); data.count = ReadByte(); ReadByte(); // subtype ListSpell[] spells = data.spells = new ListSpell[data.count]; for (int i = 0; i < data.count; i++) { spells[i].lineIndex = ReadByte(); spells[i].spellIndex = ReadByte(); } return(data); }
protected virtual object ReadDisableCasterList() { DisableListData data = new DisableListData(); data.time = ReadShort(); data.count = ReadByte(); ReadByte(); // subtype ListSpell[] spells = data.spells = new ListSpell[data.count]; for(int i=0;i<data.count;i++) { spells[i].lineIndex = ReadByte(); spells[i].spellIndex = ReadByte(); } return data; }