Beispiel #1
0
 public void LoadRecord(ref SetItem.Prop record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.prop);
     Datasheet.Parse(stream.NextString(), ref record.param);
     Datasheet.Parse(stream.NextString(), ref record.min);
     Datasheet.Parse(stream.NextString(), ref record.max);
 }
Beispiel #2
0
 public void LoadRecord(ref ItemSet record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.id);
     Datasheet.Parse(stream.NextString(), ref record.nameStr);
     Datasheet.Parse(stream.NextString(), ref record.version);
     Datasheet.Parse(stream.NextString(), ref record.level);
     record.props = new ItemSet.Prop[8];
     itemsetproploader.LoadRecord(ref record.props[0], stream);
     itemsetproploader.LoadRecord(ref record.props[1], stream);
     itemsetproploader.LoadRecord(ref record.props[2], stream);
     itemsetproploader.LoadRecord(ref record.props[3], stream);
     itemsetproploader.LoadRecord(ref record.props[4], stream);
     itemsetproploader.LoadRecord(ref record.props[5], stream);
     itemsetproploader.LoadRecord(ref record.props[6], stream);
     itemsetproploader.LoadRecord(ref record.props[7], stream);
     record.fullProps = new ItemSet.Prop[8];
     itemsetproploader.LoadRecord(ref record.fullProps[0], stream);
     itemsetproploader.LoadRecord(ref record.fullProps[1], stream);
     itemsetproploader.LoadRecord(ref record.fullProps[2], stream);
     itemsetproploader.LoadRecord(ref record.fullProps[3], stream);
     itemsetproploader.LoadRecord(ref record.fullProps[4], stream);
     itemsetproploader.LoadRecord(ref record.fullProps[5], stream);
     itemsetproploader.LoadRecord(ref record.fullProps[6], stream);
     itemsetproploader.LoadRecord(ref record.fullProps[7], stream);
     Datasheet.Parse(stream.NextString(), ref record.eol);
 }
 public void LoadRecord(ref MagicAffix.Mod record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.code);
     Datasheet.Parse(stream.NextString(), ref record.param);
     Datasheet.Parse(stream.NextString(), ref record.min);
     Datasheet.Parse(stream.NextString(), ref record.max);
 }
Beispiel #4
0
 public void LoadRecord(ref MonStat.TreasureClassInfo record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record._normal);
     Datasheet.Parse(stream.NextString(), ref record._champion);
     Datasheet.Parse(stream.NextString(), ref record._unique);
     Datasheet.Parse(stream.NextString(), ref record._quest);
 }
Beispiel #5
0
 public void LoadRecord(ref ItemPropertyInfo.Block record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.set);
     Datasheet.Parse(stream.NextString(), ref record.value);
     Datasheet.Parse(stream.NextString(), ref record.func);
     Datasheet.Parse(stream.NextString(), ref record.statId);
 }
Beispiel #6
0
 public void LoadRecord(ref LevelMazeInfo record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.name);
     Datasheet.Parse(stream.NextString(), ref record.levelId);
     record.rooms = new int[3];
     Datasheet.Parse(stream.NextString(), ref record.rooms[0]);
     Datasheet.Parse(stream.NextString(), ref record.rooms[1]);
     Datasheet.Parse(stream.NextString(), ref record.rooms[2]);
     Datasheet.Parse(stream.NextString(), ref record.sizeX);
     Datasheet.Parse(stream.NextString(), ref record.sizeY);
     Datasheet.Parse(stream.NextString(), ref record.merge);
     Datasheet.Parse(stream.NextString(), ref record.beta);
 }
Beispiel #7
0
 public void LoadRecord(ref ExpTable record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.maxLevel);
     Datasheet.Parse(stream.NextString(), ref record.amazon);
     Datasheet.Parse(stream.NextString(), ref record.sorceress);
     Datasheet.Parse(stream.NextString(), ref record.necromancer);
     Datasheet.Parse(stream.NextString(), ref record.paladin);
     Datasheet.Parse(stream.NextString(), ref record.barbarian);
     Datasheet.Parse(stream.NextString(), ref record.druid);
     Datasheet.Parse(stream.NextString(), ref record.assassin);
 }
Beispiel #8
0
 public void LoadRecord(ref ItemPropertyInfo record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.code);
     Datasheet.Parse(stream.NextString(), ref record._done);
     record._blocks = new ItemPropertyInfo.Block[7];
     itempropertyinfoblockloader.LoadRecord(ref record._blocks[0], stream);
     itempropertyinfoblockloader.LoadRecord(ref record._blocks[1], stream);
     itempropertyinfoblockloader.LoadRecord(ref record._blocks[2], stream);
     itempropertyinfoblockloader.LoadRecord(ref record._blocks[3], stream);
     itempropertyinfoblockloader.LoadRecord(ref record._blocks[4], stream);
     itempropertyinfoblockloader.LoadRecord(ref record._blocks[5], stream);
     itempropertyinfoblockloader.LoadRecord(ref record._blocks[6], stream);
     Datasheet.Parse(stream.NextString(), ref record._desc);
     Datasheet.Parse(stream.NextString(), ref record._param);
     Datasheet.Parse(stream.NextString(), ref record._min);
     Datasheet.Parse(stream.NextString(), ref record._max);
     Datasheet.Parse(stream.NextString(), ref record._notes);
     Datasheet.Parse(stream.NextString(), ref record._eol);
 }
Beispiel #9
0
 public void LoadRecord(ref SoundInfo record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.sound);
     Datasheet.Parse(stream.NextString(), ref record.index);
     Datasheet.Parse(stream.NextString(), ref record._filename);
     Datasheet.Parse(stream.NextString(), ref record._volume);
     Datasheet.Parse(stream.NextString(), ref record.groupSize);
     Datasheet.Parse(stream.NextString(), ref record.loop);
     Datasheet.Parse(stream.NextString(), ref record._fadeIn);
     Datasheet.Parse(stream.NextString(), ref record._fadeOut);
     Datasheet.Parse(stream.NextString(), ref record.deferInst);
     Datasheet.Parse(stream.NextString(), ref record.stopInst);
     Datasheet.Parse(stream.NextString(), ref record.duration);
     Datasheet.Parse(stream.NextString(), ref record.compound);
     Datasheet.Parse(stream.NextString(), ref record.reverb);
     Datasheet.Parse(stream.NextString(), ref record.falloff);
     Datasheet.Parse(stream.NextString(), ref record.cache);
     Datasheet.Parse(stream.NextString(), ref record.asyncOnly);
     Datasheet.Parse(stream.NextString(), ref record.priority);
     Datasheet.Parse(stream.NextString(), ref record.stream);
     Datasheet.Parse(stream.NextString(), ref record.stereo);
     Datasheet.Parse(stream.NextString(), ref record.tracking);
     Datasheet.Parse(stream.NextString(), ref record.solo);
     Datasheet.Parse(stream.NextString(), ref record.musicVol);
     Datasheet.Parse(stream.NextString(), ref record.block1);
     Datasheet.Parse(stream.NextString(), ref record.block2);
     Datasheet.Parse(stream.NextString(), ref record.block3);
 }
Beispiel #10
0
 public void LoadRecord(ref ItemStat record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.code);
     Datasheet.Parse(stream.NextString(), ref record.id);
     Datasheet.Parse(stream.NextString(), ref record.sendOther);
     Datasheet.Parse(stream.NextString(), ref record.signed);
     Datasheet.Parse(stream.NextString(), ref record.sendBits);
     Datasheet.Parse(stream.NextString(), ref record.sendParamBits);
     Datasheet.Parse(stream.NextString(), ref record.updateAnimRate);
     Datasheet.Parse(stream.NextString(), ref record.saved);
     Datasheet.Parse(stream.NextString(), ref record.csvSigned);
     Datasheet.Parse(stream.NextString(), ref record.csvBits);
     Datasheet.Parse(stream.NextString(), ref record.csvParam);
     Datasheet.Parse(stream.NextString(), ref record.fCallback);
     Datasheet.Parse(stream.NextString(), ref record.fMin);
     Datasheet.Parse(stream.NextString(), ref record.minAccr);
     Datasheet.Parse(stream.NextString(), ref record.encode);
     Datasheet.Parse(stream.NextString(), ref record.add);
     Datasheet.Parse(stream.NextString(), ref record.multiply);
     Datasheet.Parse(stream.NextString(), ref record.divide);
     Datasheet.Parse(stream.NextString(), ref record.valShift);
     Datasheet.Parse(stream.NextString(), ref record._1_09_SaveBits);
     Datasheet.Parse(stream.NextString(), ref record._1_09_SaveAdd);
     Datasheet.Parse(stream.NextString(), ref record.saveBits);
     Datasheet.Parse(stream.NextString(), ref record.saveAdd);
     Datasheet.Parse(stream.NextString(), ref record.saveParamBits);
     Datasheet.Parse(stream.NextString(), ref record.keepzero);
     Datasheet.Parse(stream.NextString(), ref record.op);
     Datasheet.Parse(stream.NextString(), ref record.opParam);
     Datasheet.Parse(stream.NextString(), ref record.opBase);
     Datasheet.Parse(stream.NextString(), ref record.opStat1);
     Datasheet.Parse(stream.NextString(), ref record.opStat2);
     Datasheet.Parse(stream.NextString(), ref record.opStat3);
     Datasheet.Parse(stream.NextString(), ref record.direct);
     Datasheet.Parse(stream.NextString(), ref record.maxStat);
     Datasheet.Parse(stream.NextString(), ref record.itemSpecific);
     Datasheet.Parse(stream.NextString(), ref record.damageRelated);
     Datasheet.Parse(stream.NextString(), ref record.itemEvent1);
     Datasheet.Parse(stream.NextString(), ref record.itemEventFunc1);
     Datasheet.Parse(stream.NextString(), ref record.itemEvent2);
     Datasheet.Parse(stream.NextString(), ref record.itemEventFunc2);
     Datasheet.Parse(stream.NextString(), ref record.descPriority);
     Datasheet.Parse(stream.NextString(), ref record.descFunc);
     Datasheet.Parse(stream.NextString(), ref record.descVal);
     Datasheet.Parse(stream.NextString(), ref record.descStrPositive);
     Datasheet.Parse(stream.NextString(), ref record.descStrNegative);
     Datasheet.Parse(stream.NextString(), ref record.descStr2);
     Datasheet.Parse(stream.NextString(), ref record.dgrp);
     Datasheet.Parse(stream.NextString(), ref record.dgrpfunc);
     Datasheet.Parse(stream.NextString(), ref record.dgrpval);
     Datasheet.Parse(stream.NextString(), ref record.dgrpStrPositive);
     Datasheet.Parse(stream.NextString(), ref record.dgrpStrNegative);
     Datasheet.Parse(stream.NextString(), ref record.dgrpStr2);
     Datasheet.Parse(stream.NextString(), ref record.stuff);
     Datasheet.Parse(stream.NextString(), ref record.eol);
 }
Beispiel #11
0
 public void LoadRecord(ref TreasureClass record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.name);
     Datasheet.Parse(stream.NextString(), ref record.group);
     Datasheet.Parse(stream.NextString(), ref record.level);
     Datasheet.Parse(stream.NextString(), ref record.picks);
     Datasheet.Parse(stream.NextString(), ref record.unique);
     Datasheet.Parse(stream.NextString(), ref record.set);
     Datasheet.Parse(stream.NextString(), ref record.rare);
     Datasheet.Parse(stream.NextString(), ref record.magic);
     Datasheet.Parse(stream.NextString(), ref record.noDrop);
     record.nodeArray = new TreasureClass.Node[10];
     treasureclassnodeloader.LoadRecord(ref record.nodeArray[0], stream);
     treasureclassnodeloader.LoadRecord(ref record.nodeArray[1], stream);
     treasureclassnodeloader.LoadRecord(ref record.nodeArray[2], stream);
     treasureclassnodeloader.LoadRecord(ref record.nodeArray[3], stream);
     treasureclassnodeloader.LoadRecord(ref record.nodeArray[4], stream);
     treasureclassnodeloader.LoadRecord(ref record.nodeArray[5], stream);
     treasureclassnodeloader.LoadRecord(ref record.nodeArray[6], stream);
     treasureclassnodeloader.LoadRecord(ref record.nodeArray[7], stream);
     treasureclassnodeloader.LoadRecord(ref record.nodeArray[8], stream);
     treasureclassnodeloader.LoadRecord(ref record.nodeArray[9], stream);
     Datasheet.Parse(stream.NextString(), ref record.sumItems);
     Datasheet.Parse(stream.NextString(), ref record.totalProb);
     Datasheet.Parse(stream.NextString(), ref record.dropChance);
     Datasheet.Parse(stream.NextString(), ref record.term);
 }
Beispiel #12
0
 public void LoadRecord(ref SkillInfo record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.skill);
     Datasheet.Parse(stream.NextString(), ref record.id);
     Datasheet.Parse(stream.NextString(), ref record.charClass);
     Datasheet.Parse(stream.NextString(), ref record.skillDescId);
     Datasheet.Parse(stream.NextString(), ref record.srvStartFunc);
     Datasheet.Parse(stream.NextString(), ref record.srvDoFunc);
     record.unused = new string[54];
     Datasheet.Parse(stream.NextString(), ref record.unused[0]);
     Datasheet.Parse(stream.NextString(), ref record.unused[1]);
     Datasheet.Parse(stream.NextString(), ref record.unused[2]);
     Datasheet.Parse(stream.NextString(), ref record.unused[3]);
     Datasheet.Parse(stream.NextString(), ref record.unused[4]);
     Datasheet.Parse(stream.NextString(), ref record.unused[5]);
     Datasheet.Parse(stream.NextString(), ref record.unused[6]);
     Datasheet.Parse(stream.NextString(), ref record.unused[7]);
     Datasheet.Parse(stream.NextString(), ref record.unused[8]);
     Datasheet.Parse(stream.NextString(), ref record.unused[9]);
     Datasheet.Parse(stream.NextString(), ref record.unused[10]);
     Datasheet.Parse(stream.NextString(), ref record.unused[11]);
     Datasheet.Parse(stream.NextString(), ref record.unused[12]);
     Datasheet.Parse(stream.NextString(), ref record.unused[13]);
     Datasheet.Parse(stream.NextString(), ref record.unused[14]);
     Datasheet.Parse(stream.NextString(), ref record.unused[15]);
     Datasheet.Parse(stream.NextString(), ref record.unused[16]);
     Datasheet.Parse(stream.NextString(), ref record.unused[17]);
     Datasheet.Parse(stream.NextString(), ref record.unused[18]);
     Datasheet.Parse(stream.NextString(), ref record.unused[19]);
     Datasheet.Parse(stream.NextString(), ref record.unused[20]);
     Datasheet.Parse(stream.NextString(), ref record.unused[21]);
     Datasheet.Parse(stream.NextString(), ref record.unused[22]);
     Datasheet.Parse(stream.NextString(), ref record.unused[23]);
     Datasheet.Parse(stream.NextString(), ref record.unused[24]);
     Datasheet.Parse(stream.NextString(), ref record.unused[25]);
     Datasheet.Parse(stream.NextString(), ref record.unused[26]);
     Datasheet.Parse(stream.NextString(), ref record.unused[27]);
     Datasheet.Parse(stream.NextString(), ref record.unused[28]);
     Datasheet.Parse(stream.NextString(), ref record.unused[29]);
     Datasheet.Parse(stream.NextString(), ref record.unused[30]);
     Datasheet.Parse(stream.NextString(), ref record.unused[31]);
     Datasheet.Parse(stream.NextString(), ref record.unused[32]);
     Datasheet.Parse(stream.NextString(), ref record.unused[33]);
     Datasheet.Parse(stream.NextString(), ref record.unused[34]);
     Datasheet.Parse(stream.NextString(), ref record.unused[35]);
     Datasheet.Parse(stream.NextString(), ref record.unused[36]);
     Datasheet.Parse(stream.NextString(), ref record.unused[37]);
     Datasheet.Parse(stream.NextString(), ref record.unused[38]);
     Datasheet.Parse(stream.NextString(), ref record.unused[39]);
     Datasheet.Parse(stream.NextString(), ref record.unused[40]);
     Datasheet.Parse(stream.NextString(), ref record.unused[41]);
     Datasheet.Parse(stream.NextString(), ref record.unused[42]);
     Datasheet.Parse(stream.NextString(), ref record.unused[43]);
     Datasheet.Parse(stream.NextString(), ref record.unused[44]);
     Datasheet.Parse(stream.NextString(), ref record.unused[45]);
     Datasheet.Parse(stream.NextString(), ref record.unused[46]);
     Datasheet.Parse(stream.NextString(), ref record.unused[47]);
     Datasheet.Parse(stream.NextString(), ref record.unused[48]);
     Datasheet.Parse(stream.NextString(), ref record.unused[49]);
     Datasheet.Parse(stream.NextString(), ref record.unused[50]);
     Datasheet.Parse(stream.NextString(), ref record.unused[51]);
     Datasheet.Parse(stream.NextString(), ref record.unused[52]);
     Datasheet.Parse(stream.NextString(), ref record.unused[53]);
     Datasheet.Parse(stream.NextString(), ref record.summon);
     Datasheet.Parse(stream.NextString(), ref record.pettype);
     Datasheet.Parse(stream.NextString(), ref record.petmax);
     Datasheet.Parse(stream.NextString(), ref record.summode);
     record.sumcalcs = new string[10];
     Datasheet.Parse(stream.NextString(), ref record.sumcalcs[0]);
     Datasheet.Parse(stream.NextString(), ref record.sumcalcs[1]);
     Datasheet.Parse(stream.NextString(), ref record.sumcalcs[2]);
     Datasheet.Parse(stream.NextString(), ref record.sumcalcs[3]);
     Datasheet.Parse(stream.NextString(), ref record.sumcalcs[4]);
     Datasheet.Parse(stream.NextString(), ref record.sumcalcs[5]);
     Datasheet.Parse(stream.NextString(), ref record.sumcalcs[6]);
     Datasheet.Parse(stream.NextString(), ref record.sumcalcs[7]);
     Datasheet.Parse(stream.NextString(), ref record.sumcalcs[8]);
     Datasheet.Parse(stream.NextString(), ref record.sumcalcs[9]);
     Datasheet.Parse(stream.NextString(), ref record.sumumod);
     Datasheet.Parse(stream.NextString(), ref record.sumoverlay);
     Datasheet.Parse(stream.NextString(), ref record.stsuccessonly);
     Datasheet.Parse(stream.NextString(), ref record._stsound);
     record.unused2 = new string[10];
     Datasheet.Parse(stream.NextString(), ref record.unused2[0]);
     Datasheet.Parse(stream.NextString(), ref record.unused2[1]);
     Datasheet.Parse(stream.NextString(), ref record.unused2[2]);
     Datasheet.Parse(stream.NextString(), ref record.unused2[3]);
     Datasheet.Parse(stream.NextString(), ref record.unused2[4]);
     Datasheet.Parse(stream.NextString(), ref record.unused2[5]);
     Datasheet.Parse(stream.NextString(), ref record.unused2[6]);
     Datasheet.Parse(stream.NextString(), ref record.unused2[7]);
     Datasheet.Parse(stream.NextString(), ref record.unused2[8]);
     Datasheet.Parse(stream.NextString(), ref record.unused2[9]);
     Datasheet.Parse(stream.NextString(), ref record.castOverlayId);
     Datasheet.Parse(stream.NextString(), ref record.clientOverlayA);
     Datasheet.Parse(stream.NextString(), ref record.clientOverlayB);
     Datasheet.Parse(stream.NextString(), ref record.clientStartFunc);
     Datasheet.Parse(stream.NextString(), ref record.clientDoFunc);
     Datasheet.Parse(stream.NextString(), ref record.clientPrqFunc1);
     Datasheet.Parse(stream.NextString(), ref record.clientPrqFunc2);
     Datasheet.Parse(stream.NextString(), ref record.clientPrqFunc3);
     Datasheet.Parse(stream.NextString(), ref record.clientMissile);
     Datasheet.Parse(stream.NextString(), ref record.clientMissileA);
     Datasheet.Parse(stream.NextString(), ref record.clientMissileB);
     Datasheet.Parse(stream.NextString(), ref record.clientMissileC);
     Datasheet.Parse(stream.NextString(), ref record.clientMissileD);
     record.clientCalcs = new string[6];
     Datasheet.Parse(stream.NextString(), ref record.clientCalcs[0]);
     Datasheet.Parse(stream.NextString(), ref record.clientCalcs[1]);
     Datasheet.Parse(stream.NextString(), ref record.clientCalcs[2]);
     Datasheet.Parse(stream.NextString(), ref record.clientCalcs[3]);
     Datasheet.Parse(stream.NextString(), ref record.clientCalcs[4]);
     Datasheet.Parse(stream.NextString(), ref record.clientCalcs[5]);
     Datasheet.Parse(stream.NextString(), ref record.warp);
     Datasheet.Parse(stream.NextString(), ref record.immediate);
     Datasheet.Parse(stream.NextString(), ref record.enhanceable);
     Datasheet.Parse(stream.NextString(), ref record.attackRank);
     Datasheet.Parse(stream.NextString(), ref record.noAmmo);
     Datasheet.Parse(stream.NextString(), ref record._range);
     Datasheet.Parse(stream.NextString(), ref record.weapSel);
     Datasheet.Parse(stream.NextString(), ref record.itemTypeA1);
     Datasheet.Parse(stream.NextString(), ref record.itemTypeA2);
     Datasheet.Parse(stream.NextString(), ref record.itemTypeA3);
     Datasheet.Parse(stream.NextString(), ref record.eItemTypeA1);
     Datasheet.Parse(stream.NextString(), ref record.eItemTypeA2);
     Datasheet.Parse(stream.NextString(), ref record.itemTypeB1);
     Datasheet.Parse(stream.NextString(), ref record.itemTypeB2);
     Datasheet.Parse(stream.NextString(), ref record.itemTypeB3);
     Datasheet.Parse(stream.NextString(), ref record.eItemTypeB1);
     Datasheet.Parse(stream.NextString(), ref record.eItemTypeB2);
     Datasheet.Parse(stream.NextString(), ref record.anim);
     Datasheet.Parse(stream.NextString(), ref record.seqTrans);
     Datasheet.Parse(stream.NextString(), ref record.monAnim);
     Datasheet.Parse(stream.NextString(), ref record.seqNum);
     Datasheet.Parse(stream.NextString(), ref record.seqInput);
     Datasheet.Parse(stream.NextString(), ref record.durability);
     Datasheet.Parse(stream.NextString(), ref record.useAttackRate);
     Datasheet.Parse(stream.NextString(), ref record.lineOfSight);
     Datasheet.Parse(stream.NextString(), ref record.targetableOnly);
     Datasheet.Parse(stream.NextString(), ref record.searchEnemyXY);
     Datasheet.Parse(stream.NextString(), ref record.searchEnemyNear);
     Datasheet.Parse(stream.NextString(), ref record.searchOpenXY);
     Datasheet.Parse(stream.NextString(), ref record.selectProc);
     Datasheet.Parse(stream.NextString(), ref record.targetCorpse);
     Datasheet.Parse(stream.NextString(), ref record.targetPet);
     Datasheet.Parse(stream.NextString(), ref record.targetAlly);
     Datasheet.Parse(stream.NextString(), ref record.targetItem);
     record.unused3 = new string[77];
     Datasheet.Parse(stream.NextString(), ref record.unused3[0]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[1]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[2]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[3]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[4]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[5]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[6]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[7]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[8]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[9]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[10]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[11]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[12]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[13]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[14]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[15]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[16]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[17]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[18]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[19]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[20]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[21]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[22]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[23]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[24]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[25]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[26]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[27]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[28]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[29]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[30]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[31]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[32]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[33]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[34]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[35]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[36]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[37]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[38]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[39]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[40]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[41]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[42]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[43]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[44]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[45]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[46]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[47]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[48]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[49]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[50]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[51]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[52]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[53]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[54]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[55]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[56]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[57]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[58]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[59]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[60]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[61]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[62]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[63]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[64]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[65]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[66]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[67]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[68]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[69]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[70]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[71]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[72]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[73]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[74]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[75]);
     Datasheet.Parse(stream.NextString(), ref record.unused3[76]);
     Datasheet.Parse(stream.NextString(), ref record.hitShift);
     Datasheet.Parse(stream.NextString(), ref record.srcDamage);
     Datasheet.Parse(stream.NextString(), ref record.minDamage);
     record.minDamagePerLevel = new int[5];
     Datasheet.Parse(stream.NextString(), ref record.minDamagePerLevel[0]);
     Datasheet.Parse(stream.NextString(), ref record.minDamagePerLevel[1]);
     Datasheet.Parse(stream.NextString(), ref record.minDamagePerLevel[2]);
     Datasheet.Parse(stream.NextString(), ref record.minDamagePerLevel[3]);
     Datasheet.Parse(stream.NextString(), ref record.minDamagePerLevel[4]);
     Datasheet.Parse(stream.NextString(), ref record.maxDamage);
     record.maxDamagePerLevel = new int[5];
     Datasheet.Parse(stream.NextString(), ref record.maxDamagePerLevel[0]);
     Datasheet.Parse(stream.NextString(), ref record.maxDamagePerLevel[1]);
     Datasheet.Parse(stream.NextString(), ref record.maxDamagePerLevel[2]);
     Datasheet.Parse(stream.NextString(), ref record.maxDamagePerLevel[3]);
     Datasheet.Parse(stream.NextString(), ref record.maxDamagePerLevel[4]);
     Datasheet.Parse(stream.NextString(), ref record.damageSymPerCalc);
     Datasheet.Parse(stream.NextString(), ref record.eType);
     Datasheet.Parse(stream.NextString(), ref record.eMin);
     record.minEDamagePerLevel = new int[5];
     Datasheet.Parse(stream.NextString(), ref record.minEDamagePerLevel[0]);
     Datasheet.Parse(stream.NextString(), ref record.minEDamagePerLevel[1]);
     Datasheet.Parse(stream.NextString(), ref record.minEDamagePerLevel[2]);
     Datasheet.Parse(stream.NextString(), ref record.minEDamagePerLevel[3]);
     Datasheet.Parse(stream.NextString(), ref record.minEDamagePerLevel[4]);
     Datasheet.Parse(stream.NextString(), ref record.eMax);
     record.maxEDamagePerLevel = new int[5];
     Datasheet.Parse(stream.NextString(), ref record.maxEDamagePerLevel[0]);
     Datasheet.Parse(stream.NextString(), ref record.maxEDamagePerLevel[1]);
     Datasheet.Parse(stream.NextString(), ref record.maxEDamagePerLevel[2]);
     Datasheet.Parse(stream.NextString(), ref record.maxEDamagePerLevel[3]);
     Datasheet.Parse(stream.NextString(), ref record.maxEDamagePerLevel[4]);
     Datasheet.Parse(stream.NextString(), ref record.eDamageSymPerCalc);
     Datasheet.Parse(stream.NextString(), ref record.eLen);
     record.eLenPerLevel = new int[3];
     Datasheet.Parse(stream.NextString(), ref record.eLenPerLevel[0]);
     Datasheet.Parse(stream.NextString(), ref record.eLenPerLevel[1]);
     Datasheet.Parse(stream.NextString(), ref record.eLenPerLevel[2]);
     Datasheet.Parse(stream.NextString(), ref record.eLenSymPerCalc);
     Datasheet.Parse(stream.NextString(), ref record.aiType);
     Datasheet.Parse(stream.NextString(), ref record.aiBonus);
     Datasheet.Parse(stream.NextString(), ref record.costMult);
     Datasheet.Parse(stream.NextString(), ref record.costAdd);
 }
Beispiel #13
0
 public void LoadRecord(ref SpawnPreset record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.act);
     Datasheet.Parse(stream.NextString(), ref record.type);
     Datasheet.Parse(stream.NextString(), ref record.id);
     Datasheet.Parse(stream.NextString(), ref record.description);
     Datasheet.Parse(stream.NextString(), ref record.objectId);
     Datasheet.Parse(stream.NextString(), ref record.monstatId);
     Datasheet.Parse(stream.NextString(), ref record.direction);
     Datasheet.Parse(stream.NextString(), ref record._base);
     Datasheet.Parse(stream.NextString(), ref record.token);
     Datasheet.Parse(stream.NextString(), ref record.mode);
     Datasheet.Parse(stream.NextString(), ref record.weaponClass);
     record.gear = new string[16];
     Datasheet.Parse(stream.NextString(), ref record.gear[0]);
     Datasheet.Parse(stream.NextString(), ref record.gear[1]);
     Datasheet.Parse(stream.NextString(), ref record.gear[2]);
     Datasheet.Parse(stream.NextString(), ref record.gear[3]);
     Datasheet.Parse(stream.NextString(), ref record.gear[4]);
     Datasheet.Parse(stream.NextString(), ref record.gear[5]);
     Datasheet.Parse(stream.NextString(), ref record.gear[6]);
     Datasheet.Parse(stream.NextString(), ref record.gear[7]);
     Datasheet.Parse(stream.NextString(), ref record.gear[8]);
     Datasheet.Parse(stream.NextString(), ref record.gear[9]);
     Datasheet.Parse(stream.NextString(), ref record.gear[10]);
     Datasheet.Parse(stream.NextString(), ref record.gear[11]);
     Datasheet.Parse(stream.NextString(), ref record.gear[12]);
     Datasheet.Parse(stream.NextString(), ref record.gear[13]);
     Datasheet.Parse(stream.NextString(), ref record.gear[14]);
     Datasheet.Parse(stream.NextString(), ref record.gear[15]);
     Datasheet.Parse(stream.NextString(), ref record.colormap);
     Datasheet.Parse(stream.NextString(), ref record.index);
     Datasheet.Parse(stream.NextString(), ref record.eol);
 }
Beispiel #14
0
 public void LoadRecord(ref MagicAffix record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.nameStr);
     Datasheet.Parse(stream.NextString(), ref record.version);
     Datasheet.Parse(stream.NextString(), ref record.spawnable);
     Datasheet.Parse(stream.NextString(), ref record.rare);
     Datasheet.Parse(stream.NextString(), ref record.level);
     Datasheet.Parse(stream.NextString(), ref record.maxlevel);
     Datasheet.Parse(stream.NextString(), ref record.levelReq);
     Datasheet.Parse(stream.NextString(), ref record.classSpecific);
     Datasheet.Parse(stream.NextString(), ref record.classCode);
     Datasheet.Parse(stream.NextString(), ref record.classlevelreq);
     Datasheet.Parse(stream.NextString(), ref record.frequency);
     Datasheet.Parse(stream.NextString(), ref record.group);
     record.mods = new MagicAffix.Mod[3];
     magicaffixmodloader.LoadRecord(ref record.mods[0], stream);
     magicaffixmodloader.LoadRecord(ref record.mods[1], stream);
     magicaffixmodloader.LoadRecord(ref record.mods[2], stream);
     Datasheet.Parse(stream.NextString(), ref record.transform);
     Datasheet.Parse(stream.NextString(), ref record.transformcolor);
     record.itemTypes = new string[7];
     Datasheet.Parse(stream.NextString(), ref record.itemTypes[0]);
     Datasheet.Parse(stream.NextString(), ref record.itemTypes[1]);
     Datasheet.Parse(stream.NextString(), ref record.itemTypes[2]);
     Datasheet.Parse(stream.NextString(), ref record.itemTypes[3]);
     Datasheet.Parse(stream.NextString(), ref record.itemTypes[4]);
     Datasheet.Parse(stream.NextString(), ref record.itemTypes[5]);
     Datasheet.Parse(stream.NextString(), ref record.itemTypes[6]);
     record.excludeItemTypes = new string[5];
     Datasheet.Parse(stream.NextString(), ref record.excludeItemTypes[0]);
     Datasheet.Parse(stream.NextString(), ref record.excludeItemTypes[1]);
     Datasheet.Parse(stream.NextString(), ref record.excludeItemTypes[2]);
     Datasheet.Parse(stream.NextString(), ref record.excludeItemTypes[3]);
     Datasheet.Parse(stream.NextString(), ref record.excludeItemTypes[4]);
     Datasheet.Parse(stream.NextString(), ref record.divide);
     Datasheet.Parse(stream.NextString(), ref record.multiply);
     Datasheet.Parse(stream.NextString(), ref record.add);
 }
 public void LoadRecord(ref SkillDescription record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.id);
     Datasheet.Parse(stream.NextString(), ref record.skillPage);
     Datasheet.Parse(stream.NextString(), ref record.skillRow);
     Datasheet.Parse(stream.NextString(), ref record.skillColumn);
     Datasheet.Parse(stream.NextString(), ref record.listRow);
     Datasheet.Parse(stream.NextString(), ref record.listPool);
     Datasheet.Parse(stream.NextString(), ref record.iconIndex);
     Datasheet.Parse(stream.NextString(), ref record.strName);
     Datasheet.Parse(stream.NextString(), ref record.strShort);
     Datasheet.Parse(stream.NextString(), ref record.strLong);
     Datasheet.Parse(stream.NextString(), ref record.strAlt);
     Datasheet.Parse(stream.NextString(), ref record.strMana);
     Datasheet.Parse(stream.NextString(), ref record.descDam);
     record.otherFields = new string[100];
     Datasheet.Parse(stream.NextString(), ref record.otherFields[0]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[1]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[2]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[3]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[4]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[5]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[6]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[7]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[8]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[9]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[10]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[11]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[12]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[13]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[14]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[15]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[16]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[17]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[18]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[19]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[20]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[21]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[22]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[23]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[24]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[25]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[26]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[27]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[28]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[29]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[30]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[31]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[32]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[33]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[34]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[35]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[36]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[37]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[38]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[39]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[40]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[41]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[42]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[43]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[44]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[45]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[46]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[47]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[48]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[49]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[50]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[51]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[52]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[53]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[54]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[55]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[56]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[57]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[58]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[59]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[60]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[61]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[62]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[63]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[64]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[65]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[66]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[67]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[68]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[69]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[70]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[71]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[72]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[73]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[74]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[75]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[76]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[77]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[78]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[79]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[80]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[81]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[82]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[83]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[84]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[85]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[86]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[87]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[88]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[89]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[90]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[91]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[92]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[93]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[94]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[95]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[96]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[97]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[98]);
     Datasheet.Parse(stream.NextString(), ref record.otherFields[99]);
     Datasheet.Parse(stream.NextString(), ref record.eol);
 }
Beispiel #16
0
 public void LoadRecord(ref ItemRatio record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.function);
     Datasheet.Parse(stream.NextString(), ref record.version);
     Datasheet.Parse(stream.NextString(), ref record.uber);
     Datasheet.Parse(stream.NextString(), ref record.classSpecific);
     Datasheet.Parse(stream.NextString(), ref record.unique);
     Datasheet.Parse(stream.NextString(), ref record.uniqueDivisor);
     Datasheet.Parse(stream.NextString(), ref record.uniqueMin);
     Datasheet.Parse(stream.NextString(), ref record.rare);
     Datasheet.Parse(stream.NextString(), ref record.rareDivisor);
     Datasheet.Parse(stream.NextString(), ref record.rareMin);
     Datasheet.Parse(stream.NextString(), ref record.set);
     Datasheet.Parse(stream.NextString(), ref record.setDivisor);
     Datasheet.Parse(stream.NextString(), ref record.setMin);
     Datasheet.Parse(stream.NextString(), ref record.magic);
     Datasheet.Parse(stream.NextString(), ref record.magicDivisor);
     Datasheet.Parse(stream.NextString(), ref record.magicMin);
     Datasheet.Parse(stream.NextString(), ref record.hiQuality);
     Datasheet.Parse(stream.NextString(), ref record.hiQualityDivisor);
     Datasheet.Parse(stream.NextString(), ref record.normal);
     Datasheet.Parse(stream.NextString(), ref record.normalDivisor);
 }
Beispiel #17
0
 public void LoadRecord(ref MonSound record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.id);
     Datasheet.Parse(stream.NextString(), ref record._attack1);
     Datasheet.Parse(stream.NextString(), ref record._weapon1);
     Datasheet.Parse(stream.NextString(), ref record._attack1Delay);
     Datasheet.Parse(stream.NextString(), ref record._weapon1Delay);
     Datasheet.Parse(stream.NextString(), ref record.attack1Prob);
     Datasheet.Parse(stream.NextString(), ref record._weapon1Volume);
     Datasheet.Parse(stream.NextString(), ref record._attack2);
     Datasheet.Parse(stream.NextString(), ref record._weapon2);
     Datasheet.Parse(stream.NextString(), ref record._attack2Delay);
     Datasheet.Parse(stream.NextString(), ref record._weapon2Delay);
     Datasheet.Parse(stream.NextString(), ref record.attack2Prob);
     Datasheet.Parse(stream.NextString(), ref record._weapon2Volume);
     Datasheet.Parse(stream.NextString(), ref record._hitSound);
     Datasheet.Parse(stream.NextString(), ref record._deathSound);
     Datasheet.Parse(stream.NextString(), ref record._hitDelay);
     Datasheet.Parse(stream.NextString(), ref record._deathDelay);
     Datasheet.Parse(stream.NextString(), ref record._skill1);
     Datasheet.Parse(stream.NextString(), ref record._skill2);
     Datasheet.Parse(stream.NextString(), ref record._skill3);
     Datasheet.Parse(stream.NextString(), ref record._skill4);
     Datasheet.Parse(stream.NextString(), ref record._footstep);
     Datasheet.Parse(stream.NextString(), ref record._footstepLayer);
     Datasheet.Parse(stream.NextString(), ref record._fsCnt);
     Datasheet.Parse(stream.NextString(), ref record._fsOff);
     Datasheet.Parse(stream.NextString(), ref record._fsPrb);
     Datasheet.Parse(stream.NextString(), ref record._neutral);
     Datasheet.Parse(stream.NextString(), ref record._neuTime);
     Datasheet.Parse(stream.NextString(), ref record._init);
     Datasheet.Parse(stream.NextString(), ref record._taunt);
     Datasheet.Parse(stream.NextString(), ref record._flee);
     Datasheet.Parse(stream.NextString(), ref record._cvtMo1);
     Datasheet.Parse(stream.NextString(), ref record._cvtSk1);
     Datasheet.Parse(stream.NextString(), ref record._cvtTgt1);
     Datasheet.Parse(stream.NextString(), ref record._cvtMo2);
     Datasheet.Parse(stream.NextString(), ref record._cvtSk2);
     Datasheet.Parse(stream.NextString(), ref record._cvtTgt2);
     Datasheet.Parse(stream.NextString(), ref record._cvtMo3);
     Datasheet.Parse(stream.NextString(), ref record._cvtSk3);
     Datasheet.Parse(stream.NextString(), ref record._cvtTgt3);
     Datasheet.Parse(stream.NextString(), ref record.eol);
 }
Beispiel #18
0
 public void LoadRecord(ref ArmorInfo record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record._name);
     Datasheet.Parse(stream.NextString(), ref record.version);
     Datasheet.Parse(stream.NextString(), ref record.compactSave);
     Datasheet.Parse(stream.NextString(), ref record.rarity);
     Datasheet.Parse(stream.NextString(), ref record.spawnable);
     Datasheet.Parse(stream.NextString(), ref record.minAC);
     Datasheet.Parse(stream.NextString(), ref record.maxAC);
     Datasheet.Parse(stream.NextString(), ref record.absorbs);
     Datasheet.Parse(stream.NextString(), ref record.speed);
     Datasheet.Parse(stream.NextString(), ref record.reqStr);
     Datasheet.Parse(stream.NextString(), ref record.block);
     Datasheet.Parse(stream.NextString(), ref record.durability);
     Datasheet.Parse(stream.NextString(), ref record.noDurability);
     Datasheet.Parse(stream.NextString(), ref record._level);
     Datasheet.Parse(stream.NextString(), ref record._levelReq);
     Datasheet.Parse(stream.NextString(), ref record._cost);
     Datasheet.Parse(stream.NextString(), ref record._gambleCost);
     Datasheet.Parse(stream.NextString(), ref record._code);
     Datasheet.Parse(stream.NextString(), ref record.nameStr);
     Datasheet.Parse(stream.NextString(), ref record.magicLvl);
     Datasheet.Parse(stream.NextString(), ref record.autoPrefix);
     Datasheet.Parse(stream.NextString(), ref record._alternateGfx);
     Datasheet.Parse(stream.NextString(), ref record.openBetaGfx);
     Datasheet.Parse(stream.NextString(), ref record._normCode);
     Datasheet.Parse(stream.NextString(), ref record._uberCode);
     Datasheet.Parse(stream.NextString(), ref record._ultraCode);
     Datasheet.Parse(stream.NextString(), ref record.spellOffset);
     Datasheet.Parse(stream.NextString(), ref record._component);
     Datasheet.Parse(stream.NextString(), ref record._invWidth);
     Datasheet.Parse(stream.NextString(), ref record._invHeight);
     Datasheet.Parse(stream.NextString(), ref record.hasInv);
     Datasheet.Parse(stream.NextString(), ref record.gemSockets);
     Datasheet.Parse(stream.NextString(), ref record.gemApplyType);
     Datasheet.Parse(stream.NextString(), ref record._flippyFile);
     Datasheet.Parse(stream.NextString(), ref record._invFile);
     Datasheet.Parse(stream.NextString(), ref record._uniqueInvFile);
     Datasheet.Parse(stream.NextString(), ref record._setInvFile);
     Datasheet.Parse(stream.NextString(), ref record.rArm);
     Datasheet.Parse(stream.NextString(), ref record.lArm);
     Datasheet.Parse(stream.NextString(), ref record.torso);
     Datasheet.Parse(stream.NextString(), ref record.legs);
     Datasheet.Parse(stream.NextString(), ref record.rSPad);
     Datasheet.Parse(stream.NextString(), ref record.lSPad);
     Datasheet.Parse(stream.NextString(), ref record.usable);
     Datasheet.Parse(stream.NextString(), ref record.throwable);
     Datasheet.Parse(stream.NextString(), ref record.stackable);
     Datasheet.Parse(stream.NextString(), ref record.minStack);
     Datasheet.Parse(stream.NextString(), ref record.maxStack);
     Datasheet.Parse(stream.NextString(), ref record._type1);
     Datasheet.Parse(stream.NextString(), ref record._type2);
     Datasheet.Parse(stream.NextString(), ref record._dropSound);
     Datasheet.Parse(stream.NextString(), ref record._dropSoundFrame);
     Datasheet.Parse(stream.NextString(), ref record._useSound);
     Datasheet.Parse(stream.NextString(), ref record._alwaysUnique);
     record.skipped2 = new string[110];
     Datasheet.Parse(stream.NextString(), ref record.skipped2[0]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[1]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[2]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[3]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[4]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[5]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[6]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[7]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[8]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[9]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[10]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[11]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[12]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[13]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[14]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[15]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[16]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[17]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[18]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[19]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[20]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[21]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[22]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[23]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[24]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[25]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[26]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[27]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[28]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[29]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[30]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[31]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[32]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[33]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[34]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[35]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[36]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[37]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[38]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[39]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[40]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[41]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[42]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[43]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[44]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[45]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[46]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[47]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[48]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[49]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[50]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[51]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[52]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[53]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[54]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[55]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[56]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[57]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[58]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[59]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[60]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[61]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[62]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[63]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[64]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[65]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[66]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[67]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[68]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[69]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[70]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[71]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[72]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[73]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[74]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[75]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[76]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[77]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[78]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[79]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[80]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[81]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[82]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[83]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[84]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[85]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[86]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[87]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[88]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[89]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[90]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[91]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[92]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[93]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[94]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[95]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[96]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[97]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[98]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[99]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[100]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[101]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[102]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[103]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[104]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[105]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[106]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[107]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[108]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[109]);
 }
 public void LoadRecord(ref MissileInfo.Param record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.value);
     Datasheet.Parse(stream.NextString(), ref record.description);
 }
Beispiel #20
0
 public void LoadRecord(ref MonStat record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.id);
     Datasheet.Parse(stream.NextString(), ref record.hcIndex);
     Datasheet.Parse(stream.NextString(), ref record.baseId);
     Datasheet.Parse(stream.NextString(), ref record.nextInClass);
     Datasheet.Parse(stream.NextString(), ref record.transLvl);
     Datasheet.Parse(stream.NextString(), ref record.nameStr);
     Datasheet.Parse(stream.NextString(), ref record.monStatEx);
     Datasheet.Parse(stream.NextString(), ref record.monProp);
     Datasheet.Parse(stream.NextString(), ref record.monType);
     Datasheet.Parse(stream.NextString(), ref record.ai);
     Datasheet.Parse(stream.NextString(), ref record.descStr);
     Datasheet.Parse(stream.NextString(), ref record.code);
     Datasheet.Parse(stream.NextString(), ref record.enabled);
     Datasheet.Parse(stream.NextString(), ref record.rangedType);
     Datasheet.Parse(stream.NextString(), ref record.placeSpawn);
     Datasheet.Parse(stream.NextString(), ref record.spawn);
     Datasheet.Parse(stream.NextString(), ref record.spawnX);
     Datasheet.Parse(stream.NextString(), ref record.spawnY);
     Datasheet.Parse(stream.NextString(), ref record.spawnMode);
     Datasheet.Parse(stream.NextString(), ref record.minion1Id);
     Datasheet.Parse(stream.NextString(), ref record.minion2Id);
     Datasheet.Parse(stream.NextString(), ref record.SetBoss);
     Datasheet.Parse(stream.NextString(), ref record.BossXfer);
     Datasheet.Parse(stream.NextString(), ref record.partyMin);
     Datasheet.Parse(stream.NextString(), ref record.partyMax);
     Datasheet.Parse(stream.NextString(), ref record.minGrp);
     Datasheet.Parse(stream.NextString(), ref record.maxGrp);
     Datasheet.Parse(stream.NextString(), ref record.sparsePopulate);
     Datasheet.Parse(stream.NextString(), ref record.speed);
     Datasheet.Parse(stream.NextString(), ref record.runSpeed);
     Datasheet.Parse(stream.NextString(), ref record.Rarity);
     record.level = new int[3];
     Datasheet.Parse(stream.NextString(), ref record.level[0]);
     Datasheet.Parse(stream.NextString(), ref record.level[1]);
     Datasheet.Parse(stream.NextString(), ref record.level[2]);
     Datasheet.Parse(stream.NextString(), ref record.monSoundId);
     Datasheet.Parse(stream.NextString(), ref record.uMonSoundId);
     Datasheet.Parse(stream.NextString(), ref record.threat);
     record.aidel = new string[3];
     Datasheet.Parse(stream.NextString(), ref record.aidel[0]);
     Datasheet.Parse(stream.NextString(), ref record.aidel[1]);
     Datasheet.Parse(stream.NextString(), ref record.aidel[2]);
     record.aidist = new string[3];
     Datasheet.Parse(stream.NextString(), ref record.aidist[0]);
     Datasheet.Parse(stream.NextString(), ref record.aidist[1]);
     Datasheet.Parse(stream.NextString(), ref record.aidist[2]);
     record.aip1 = new string[24];
     Datasheet.Parse(stream.NextString(), ref record.aip1[0]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[1]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[2]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[3]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[4]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[5]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[6]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[7]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[8]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[9]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[10]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[11]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[12]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[13]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[14]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[15]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[16]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[17]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[18]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[19]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[20]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[21]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[22]);
     Datasheet.Parse(stream.NextString(), ref record.aip1[23]);
     Datasheet.Parse(stream.NextString(), ref record.MissA1);
     Datasheet.Parse(stream.NextString(), ref record.MissA2);
     Datasheet.Parse(stream.NextString(), ref record.MissS1);
     Datasheet.Parse(stream.NextString(), ref record.MissS2);
     Datasheet.Parse(stream.NextString(), ref record.MissS3);
     Datasheet.Parse(stream.NextString(), ref record.MissS4);
     Datasheet.Parse(stream.NextString(), ref record.MissC);
     Datasheet.Parse(stream.NextString(), ref record.MissSQ);
     Datasheet.Parse(stream.NextString(), ref record.Align);
     Datasheet.Parse(stream.NextString(), ref record.isSpawn);
     Datasheet.Parse(stream.NextString(), ref record.isMelee);
     Datasheet.Parse(stream.NextString(), ref record.npc);
     Datasheet.Parse(stream.NextString(), ref record.interact);
     Datasheet.Parse(stream.NextString(), ref record.inventory);
     Datasheet.Parse(stream.NextString(), ref record.inTown);
     Datasheet.Parse(stream.NextString(), ref record.lUndead);
     Datasheet.Parse(stream.NextString(), ref record.hUndead);
     Datasheet.Parse(stream.NextString(), ref record.demon);
     Datasheet.Parse(stream.NextString(), ref record.flying);
     Datasheet.Parse(stream.NextString(), ref record.opendoors);
     Datasheet.Parse(stream.NextString(), ref record.boss);
     Datasheet.Parse(stream.NextString(), ref record.primeevil);
     Datasheet.Parse(stream.NextString(), ref record.killable);
     Datasheet.Parse(stream.NextString(), ref record.switchai);
     Datasheet.Parse(stream.NextString(), ref record.noAura);
     Datasheet.Parse(stream.NextString(), ref record.nomultishot);
     Datasheet.Parse(stream.NextString(), ref record.neverCount);
     Datasheet.Parse(stream.NextString(), ref record.petIgnore);
     Datasheet.Parse(stream.NextString(), ref record.deathDmg);
     Datasheet.Parse(stream.NextString(), ref record.genericSpawn);
     Datasheet.Parse(stream.NextString(), ref record.zoo);
     Datasheet.Parse(stream.NextString(), ref record.SendSkills);
     Datasheet.Parse(stream.NextString(), ref record.Skill1);
     Datasheet.Parse(stream.NextString(), ref record.Sk1mode);
     Datasheet.Parse(stream.NextString(), ref record.Sk1lvl);
     record.remainingSkillsInfo = new string[21];
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[0]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[1]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[2]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[3]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[4]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[5]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[6]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[7]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[8]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[9]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[10]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[11]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[12]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[13]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[14]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[15]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[16]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[17]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[18]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[19]);
     Datasheet.Parse(stream.NextString(), ref record.remainingSkillsInfo[20]);
     record.drain = new string[3];
     Datasheet.Parse(stream.NextString(), ref record.drain[0]);
     Datasheet.Parse(stream.NextString(), ref record.drain[1]);
     Datasheet.Parse(stream.NextString(), ref record.drain[2]);
     record.coldEffect = new string[3];
     Datasheet.Parse(stream.NextString(), ref record.coldEffect[0]);
     Datasheet.Parse(stream.NextString(), ref record.coldEffect[1]);
     Datasheet.Parse(stream.NextString(), ref record.coldEffect[2]);
     Datasheet.Parse(stream.NextString(), ref record.ResDm);
     Datasheet.Parse(stream.NextString(), ref record.ResMa);
     Datasheet.Parse(stream.NextString(), ref record.ResFi);
     Datasheet.Parse(stream.NextString(), ref record.ResLi);
     Datasheet.Parse(stream.NextString(), ref record.ResCo);
     Datasheet.Parse(stream.NextString(), ref record.ResPo);
     record.remainingResInfo = new string[12];
     Datasheet.Parse(stream.NextString(), ref record.remainingResInfo[0]);
     Datasheet.Parse(stream.NextString(), ref record.remainingResInfo[1]);
     Datasheet.Parse(stream.NextString(), ref record.remainingResInfo[2]);
     Datasheet.Parse(stream.NextString(), ref record.remainingResInfo[3]);
     Datasheet.Parse(stream.NextString(), ref record.remainingResInfo[4]);
     Datasheet.Parse(stream.NextString(), ref record.remainingResInfo[5]);
     Datasheet.Parse(stream.NextString(), ref record.remainingResInfo[6]);
     Datasheet.Parse(stream.NextString(), ref record.remainingResInfo[7]);
     Datasheet.Parse(stream.NextString(), ref record.remainingResInfo[8]);
     Datasheet.Parse(stream.NextString(), ref record.remainingResInfo[9]);
     Datasheet.Parse(stream.NextString(), ref record.remainingResInfo[10]);
     Datasheet.Parse(stream.NextString(), ref record.remainingResInfo[11]);
     Datasheet.Parse(stream.NextString(), ref record.DamageRegen);
     Datasheet.Parse(stream.NextString(), ref record.skillDamage);
     Datasheet.Parse(stream.NextString(), ref record.noRatio);
     Datasheet.Parse(stream.NextString(), ref record.NoShldBlock);
     record.toBlock = new string[3];
     Datasheet.Parse(stream.NextString(), ref record.toBlock[0]);
     Datasheet.Parse(stream.NextString(), ref record.toBlock[1]);
     Datasheet.Parse(stream.NextString(), ref record.toBlock[2]);
     Datasheet.Parse(stream.NextString(), ref record.Crit);
     record.stats = new MonStat.Stats[3];
     monstatstatsloader.LoadRecord(ref record.stats[0], stream);
     monstatstatsloader.LoadRecord(ref record.stats[1], stream);
     monstatstatsloader.LoadRecord(ref record.stats[2], stream);
     record.elementalDamage = new string[42];
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[0]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[1]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[2]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[3]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[4]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[5]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[6]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[7]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[8]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[9]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[10]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[11]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[12]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[13]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[14]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[15]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[16]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[17]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[18]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[19]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[20]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[21]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[22]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[23]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[24]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[25]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[26]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[27]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[28]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[29]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[30]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[31]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[32]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[33]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[34]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[35]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[36]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[37]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[38]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[39]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[40]);
     Datasheet.Parse(stream.NextString(), ref record.elementalDamage[41]);
     record.treasureClass = new MonStat.TreasureClassInfo[3];
     monstattreasureclassinfoloader.LoadRecord(ref record.treasureClass[0], stream);
     monstattreasureclassinfoloader.LoadRecord(ref record.treasureClass[1], stream);
     monstattreasureclassinfoloader.LoadRecord(ref record.treasureClass[2], stream);
     Datasheet.Parse(stream.NextString(), ref record.TCQuestId);
     Datasheet.Parse(stream.NextString(), ref record.TCQuestCP);
     Datasheet.Parse(stream.NextString(), ref record.SplEndDeath);
     Datasheet.Parse(stream.NextString(), ref record.SplGetModeChart);
     Datasheet.Parse(stream.NextString(), ref record.SplEndGeneric);
     Datasheet.Parse(stream.NextString(), ref record.SplClientEnd);
     Datasheet.Parse(stream.NextString(), ref record.eol);
 }
Beispiel #21
0
 public void LoadRecord(ref ObjectInfo record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.nameStr);
     Datasheet.Parse(stream.NextString(), ref record.description);
     Datasheet.Parse(stream.NextString(), ref record.id);
     Datasheet.Parse(stream.NextString(), ref record.token);
     Datasheet.Parse(stream.NextString(), ref record.spawnMax);
     record.selectable = new bool[8];
     Datasheet.Parse(stream.NextString(), ref record.selectable[0]);
     Datasheet.Parse(stream.NextString(), ref record.selectable[1]);
     Datasheet.Parse(stream.NextString(), ref record.selectable[2]);
     Datasheet.Parse(stream.NextString(), ref record.selectable[3]);
     Datasheet.Parse(stream.NextString(), ref record.selectable[4]);
     Datasheet.Parse(stream.NextString(), ref record.selectable[5]);
     Datasheet.Parse(stream.NextString(), ref record.selectable[6]);
     Datasheet.Parse(stream.NextString(), ref record.selectable[7]);
     Datasheet.Parse(stream.NextString(), ref record.trapProb);
     Datasheet.Parse(stream.NextString(), ref record.sizeX);
     Datasheet.Parse(stream.NextString(), ref record.sizeY);
     Datasheet.Parse(stream.NextString(), ref record.nTgtFX);
     Datasheet.Parse(stream.NextString(), ref record.nTgtFY);
     Datasheet.Parse(stream.NextString(), ref record.nTgtBX);
     Datasheet.Parse(stream.NextString(), ref record.nTgtBY);
     record.frameCount = new int[8];
     Datasheet.Parse(stream.NextString(), ref record.frameCount[0]);
     Datasheet.Parse(stream.NextString(), ref record.frameCount[1]);
     Datasheet.Parse(stream.NextString(), ref record.frameCount[2]);
     Datasheet.Parse(stream.NextString(), ref record.frameCount[3]);
     Datasheet.Parse(stream.NextString(), ref record.frameCount[4]);
     Datasheet.Parse(stream.NextString(), ref record.frameCount[5]);
     Datasheet.Parse(stream.NextString(), ref record.frameCount[6]);
     Datasheet.Parse(stream.NextString(), ref record.frameCount[7]);
     record.frameDelta = new int[8];
     Datasheet.Parse(stream.NextString(), ref record.frameDelta[0]);
     Datasheet.Parse(stream.NextString(), ref record.frameDelta[1]);
     Datasheet.Parse(stream.NextString(), ref record.frameDelta[2]);
     Datasheet.Parse(stream.NextString(), ref record.frameDelta[3]);
     Datasheet.Parse(stream.NextString(), ref record.frameDelta[4]);
     Datasheet.Parse(stream.NextString(), ref record.frameDelta[5]);
     Datasheet.Parse(stream.NextString(), ref record.frameDelta[6]);
     Datasheet.Parse(stream.NextString(), ref record.frameDelta[7]);
     record.cycleAnim = new bool[8];
     Datasheet.Parse(stream.NextString(), ref record.cycleAnim[0]);
     Datasheet.Parse(stream.NextString(), ref record.cycleAnim[1]);
     Datasheet.Parse(stream.NextString(), ref record.cycleAnim[2]);
     Datasheet.Parse(stream.NextString(), ref record.cycleAnim[3]);
     Datasheet.Parse(stream.NextString(), ref record.cycleAnim[4]);
     Datasheet.Parse(stream.NextString(), ref record.cycleAnim[5]);
     Datasheet.Parse(stream.NextString(), ref record.cycleAnim[6]);
     Datasheet.Parse(stream.NextString(), ref record.cycleAnim[7]);
     record.lit = new int[8];
     Datasheet.Parse(stream.NextString(), ref record.lit[0]);
     Datasheet.Parse(stream.NextString(), ref record.lit[1]);
     Datasheet.Parse(stream.NextString(), ref record.lit[2]);
     Datasheet.Parse(stream.NextString(), ref record.lit[3]);
     Datasheet.Parse(stream.NextString(), ref record.lit[4]);
     Datasheet.Parse(stream.NextString(), ref record.lit[5]);
     Datasheet.Parse(stream.NextString(), ref record.lit[6]);
     Datasheet.Parse(stream.NextString(), ref record.lit[7]);
     record.blocksLight = new bool[8];
     Datasheet.Parse(stream.NextString(), ref record.blocksLight[0]);
     Datasheet.Parse(stream.NextString(), ref record.blocksLight[1]);
     Datasheet.Parse(stream.NextString(), ref record.blocksLight[2]);
     Datasheet.Parse(stream.NextString(), ref record.blocksLight[3]);
     Datasheet.Parse(stream.NextString(), ref record.blocksLight[4]);
     Datasheet.Parse(stream.NextString(), ref record.blocksLight[5]);
     Datasheet.Parse(stream.NextString(), ref record.blocksLight[6]);
     Datasheet.Parse(stream.NextString(), ref record.blocksLight[7]);
     record.hasCollision = new bool[8];
     Datasheet.Parse(stream.NextString(), ref record.hasCollision[0]);
     Datasheet.Parse(stream.NextString(), ref record.hasCollision[1]);
     Datasheet.Parse(stream.NextString(), ref record.hasCollision[2]);
     Datasheet.Parse(stream.NextString(), ref record.hasCollision[3]);
     Datasheet.Parse(stream.NextString(), ref record.hasCollision[4]);
     Datasheet.Parse(stream.NextString(), ref record.hasCollision[5]);
     Datasheet.Parse(stream.NextString(), ref record.hasCollision[6]);
     Datasheet.Parse(stream.NextString(), ref record.hasCollision[7]);
     Datasheet.Parse(stream.NextString(), ref record.isAttackable);
     record.start = new int[8];
     Datasheet.Parse(stream.NextString(), ref record.start[0]);
     Datasheet.Parse(stream.NextString(), ref record.start[1]);
     Datasheet.Parse(stream.NextString(), ref record.start[2]);
     Datasheet.Parse(stream.NextString(), ref record.start[3]);
     Datasheet.Parse(stream.NextString(), ref record.start[4]);
     Datasheet.Parse(stream.NextString(), ref record.start[5]);
     Datasheet.Parse(stream.NextString(), ref record.start[6]);
     Datasheet.Parse(stream.NextString(), ref record.start[7]);
     Datasheet.Parse(stream.NextString(), ref record.envEffect);
     Datasheet.Parse(stream.NextString(), ref record.isDoor);
     Datasheet.Parse(stream.NextString(), ref record.blockVis);
     Datasheet.Parse(stream.NextString(), ref record.orientation);
     Datasheet.Parse(stream.NextString(), ref record.trans);
     record.orderFlag = new int[8];
     Datasheet.Parse(stream.NextString(), ref record.orderFlag[0]);
     Datasheet.Parse(stream.NextString(), ref record.orderFlag[1]);
     Datasheet.Parse(stream.NextString(), ref record.orderFlag[2]);
     Datasheet.Parse(stream.NextString(), ref record.orderFlag[3]);
     Datasheet.Parse(stream.NextString(), ref record.orderFlag[4]);
     Datasheet.Parse(stream.NextString(), ref record.orderFlag[5]);
     Datasheet.Parse(stream.NextString(), ref record.orderFlag[6]);
     Datasheet.Parse(stream.NextString(), ref record.orderFlag[7]);
     Datasheet.Parse(stream.NextString(), ref record.preOperate);
     record.mode = new bool[8];
     Datasheet.Parse(stream.NextString(), ref record.mode[0]);
     Datasheet.Parse(stream.NextString(), ref record.mode[1]);
     Datasheet.Parse(stream.NextString(), ref record.mode[2]);
     Datasheet.Parse(stream.NextString(), ref record.mode[3]);
     Datasheet.Parse(stream.NextString(), ref record.mode[4]);
     Datasheet.Parse(stream.NextString(), ref record.mode[5]);
     Datasheet.Parse(stream.NextString(), ref record.mode[6]);
     Datasheet.Parse(stream.NextString(), ref record.mode[7]);
     Datasheet.Parse(stream.NextString(), ref record.yOffset);
     Datasheet.Parse(stream.NextString(), ref record.xOffset);
     Datasheet.Parse(stream.NextString(), ref record.draw);
     Datasheet.Parse(stream.NextString(), ref record.red);
     Datasheet.Parse(stream.NextString(), ref record.blue);
     Datasheet.Parse(stream.NextString(), ref record.green);
     record.layersSelectable = new bool[16];
     Datasheet.Parse(stream.NextString(), ref record.layersSelectable[0]);
     Datasheet.Parse(stream.NextString(), ref record.layersSelectable[1]);
     Datasheet.Parse(stream.NextString(), ref record.layersSelectable[2]);
     Datasheet.Parse(stream.NextString(), ref record.layersSelectable[3]);
     Datasheet.Parse(stream.NextString(), ref record.layersSelectable[4]);
     Datasheet.Parse(stream.NextString(), ref record.layersSelectable[5]);
     Datasheet.Parse(stream.NextString(), ref record.layersSelectable[6]);
     Datasheet.Parse(stream.NextString(), ref record.layersSelectable[7]);
     Datasheet.Parse(stream.NextString(), ref record.layersSelectable[8]);
     Datasheet.Parse(stream.NextString(), ref record.layersSelectable[9]);
     Datasheet.Parse(stream.NextString(), ref record.layersSelectable[10]);
     Datasheet.Parse(stream.NextString(), ref record.layersSelectable[11]);
     Datasheet.Parse(stream.NextString(), ref record.layersSelectable[12]);
     Datasheet.Parse(stream.NextString(), ref record.layersSelectable[13]);
     Datasheet.Parse(stream.NextString(), ref record.layersSelectable[14]);
     Datasheet.Parse(stream.NextString(), ref record.layersSelectable[15]);
     Datasheet.Parse(stream.NextString(), ref record.totalPieces);
     Datasheet.Parse(stream.NextString(), ref record.subClass);
     Datasheet.Parse(stream.NextString(), ref record.xSpace);
     Datasheet.Parse(stream.NextString(), ref record.ySpace);
     Datasheet.Parse(stream.NextString(), ref record.nameOffset);
     Datasheet.Parse(stream.NextString(), ref record.monsterOk);
     Datasheet.Parse(stream.NextString(), ref record.operateRange);
     Datasheet.Parse(stream.NextString(), ref record.shrineFunction);
     Datasheet.Parse(stream.NextString(), ref record.restore);
     record.parm = new int[8];
     Datasheet.Parse(stream.NextString(), ref record.parm[0]);
     Datasheet.Parse(stream.NextString(), ref record.parm[1]);
     Datasheet.Parse(stream.NextString(), ref record.parm[2]);
     Datasheet.Parse(stream.NextString(), ref record.parm[3]);
     Datasheet.Parse(stream.NextString(), ref record.parm[4]);
     Datasheet.Parse(stream.NextString(), ref record.parm[5]);
     Datasheet.Parse(stream.NextString(), ref record.parm[6]);
     Datasheet.Parse(stream.NextString(), ref record.parm[7]);
     Datasheet.Parse(stream.NextString(), ref record.act);
     Datasheet.Parse(stream.NextString(), ref record.lockable);
     Datasheet.Parse(stream.NextString(), ref record.gore);
     Datasheet.Parse(stream.NextString(), ref record.sync);
     Datasheet.Parse(stream.NextString(), ref record.flicker);
     Datasheet.Parse(stream.NextString(), ref record.damage);
     Datasheet.Parse(stream.NextString(), ref record.beta);
     Datasheet.Parse(stream.NextString(), ref record.overlay);
     Datasheet.Parse(stream.NextString(), ref record.collisionSubst);
     Datasheet.Parse(stream.NextString(), ref record.left);
     Datasheet.Parse(stream.NextString(), ref record.top);
     Datasheet.Parse(stream.NextString(), ref record.width);
     Datasheet.Parse(stream.NextString(), ref record.height);
     Datasheet.Parse(stream.NextString(), ref record.operateFn);
     Datasheet.Parse(stream.NextString(), ref record.populateFn);
     Datasheet.Parse(stream.NextString(), ref record.initFn);
     Datasheet.Parse(stream.NextString(), ref record.clientFn);
     Datasheet.Parse(stream.NextString(), ref record.restoreVirgins);
     Datasheet.Parse(stream.NextString(), ref record.blocksMissile);
     Datasheet.Parse(stream.NextString(), ref record.drawUnder);
     Datasheet.Parse(stream.NextString(), ref record.openWarp);
     Datasheet.Parse(stream.NextString(), ref record.autoMap);
 }
Beispiel #22
0
 public void LoadRecord(ref MonStat.Stats record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.minHP);
     Datasheet.Parse(stream.NextString(), ref record.maxHP);
     Datasheet.Parse(stream.NextString(), ref record.armorClass);
     Datasheet.Parse(stream.NextString(), ref record.exp);
     Datasheet.Parse(stream.NextString(), ref record.A1MinDamage);
     Datasheet.Parse(stream.NextString(), ref record.A1MaxDamage);
     Datasheet.Parse(stream.NextString(), ref record.A1ToHit);
     Datasheet.Parse(stream.NextString(), ref record.A2MinDamage);
     Datasheet.Parse(stream.NextString(), ref record.A2MaxDamage);
     Datasheet.Parse(stream.NextString(), ref record.A2ToHit);
     Datasheet.Parse(stream.NextString(), ref record.S1MinDamage);
     Datasheet.Parse(stream.NextString(), ref record.S1MaxDamage);
     Datasheet.Parse(stream.NextString(), ref record.S1ToHit);
 }
Beispiel #23
0
 public void LoadRecord(ref BodyLoc record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.name);
     Datasheet.Parse(stream.NextString(), ref record.code);
 }
Beispiel #24
0
 public void LoadRecord(ref MiscInfo record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.name1);
     Datasheet.Parse(stream.NextString(), ref record.name2);
     Datasheet.Parse(stream.NextString(), ref record.flavorText);
     Datasheet.Parse(stream.NextString(), ref record.compactSave);
     Datasheet.Parse(stream.NextString(), ref record.version);
     Datasheet.Parse(stream.NextString(), ref record._level);
     Datasheet.Parse(stream.NextString(), ref record._levelReq);
     Datasheet.Parse(stream.NextString(), ref record.rarity);
     Datasheet.Parse(stream.NextString(), ref record.spawnable);
     Datasheet.Parse(stream.NextString(), ref record.speed);
     Datasheet.Parse(stream.NextString(), ref record.noDurability);
     Datasheet.Parse(stream.NextString(), ref record._cost);
     Datasheet.Parse(stream.NextString(), ref record._gambleCost);
     Datasheet.Parse(stream.NextString(), ref record._code);
     Datasheet.Parse(stream.NextString(), ref record._alternateGfx);
     Datasheet.Parse(stream.NextString(), ref record.nameStr);
     Datasheet.Parse(stream.NextString(), ref record._component);
     Datasheet.Parse(stream.NextString(), ref record._invWidth);
     Datasheet.Parse(stream.NextString(), ref record._invHeight);
     Datasheet.Parse(stream.NextString(), ref record._hasInv);
     Datasheet.Parse(stream.NextString(), ref record._gemSockets);
     Datasheet.Parse(stream.NextString(), ref record._gemApplyType);
     Datasheet.Parse(stream.NextString(), ref record._flippyFile);
     Datasheet.Parse(stream.NextString(), ref record._invFile);
     Datasheet.Parse(stream.NextString(), ref record._uniqueInvFile);
     Datasheet.Parse(stream.NextString(), ref record.special);
     Datasheet.Parse(stream.NextString(), ref record.transmogrify);
     Datasheet.Parse(stream.NextString(), ref record.tMogType);
     Datasheet.Parse(stream.NextString(), ref record.tMogMin);
     Datasheet.Parse(stream.NextString(), ref record.tMogMax);
     Datasheet.Parse(stream.NextString(), ref record.useable);
     Datasheet.Parse(stream.NextString(), ref record._throwable);
     Datasheet.Parse(stream.NextString(), ref record._type1);
     Datasheet.Parse(stream.NextString(), ref record._type2);
     Datasheet.Parse(stream.NextString(), ref record._dropSound);
     Datasheet.Parse(stream.NextString(), ref record._dropSoundFrame);
     Datasheet.Parse(stream.NextString(), ref record._useSound);
     Datasheet.Parse(stream.NextString(), ref record._alwaysUnique);
     Datasheet.Parse(stream.NextString(), ref record.transparent);
     Datasheet.Parse(stream.NextString(), ref record.transTbl);
     Datasheet.Parse(stream.NextString(), ref record.lightRadius);
     Datasheet.Parse(stream.NextString(), ref record.belt);
     Datasheet.Parse(stream.NextString(), ref record.autobelt);
     Datasheet.Parse(stream.NextString(), ref record.stackable);
     Datasheet.Parse(stream.NextString(), ref record.minStack);
     Datasheet.Parse(stream.NextString(), ref record.maxStack);
     Datasheet.Parse(stream.NextString(), ref record.spawnStack);
     Datasheet.Parse(stream.NextString(), ref record.quest);
     Datasheet.Parse(stream.NextString(), ref record.questDiffCheck);
     Datasheet.Parse(stream.NextString(), ref record.missileType);
     Datasheet.Parse(stream.NextString(), ref record._spellIcon);
     Datasheet.Parse(stream.NextString(), ref record._useFunction);
     Datasheet.Parse(stream.NextString(), ref record.state);
     Datasheet.Parse(stream.NextString(), ref record.cstate1);
     Datasheet.Parse(stream.NextString(), ref record.cstate2);
     Datasheet.Parse(stream.NextString(), ref record._len);
     Datasheet.Parse(stream.NextString(), ref record.stat1);
     Datasheet.Parse(stream.NextString(), ref record.calc1);
     Datasheet.Parse(stream.NextString(), ref record.stat2);
     Datasheet.Parse(stream.NextString(), ref record.calc2);
     Datasheet.Parse(stream.NextString(), ref record.stat3);
     Datasheet.Parse(stream.NextString(), ref record.calc3);
     record.skipped2 = new string[106];
     Datasheet.Parse(stream.NextString(), ref record.skipped2[0]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[1]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[2]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[3]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[4]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[5]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[6]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[7]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[8]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[9]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[10]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[11]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[12]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[13]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[14]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[15]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[16]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[17]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[18]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[19]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[20]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[21]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[22]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[23]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[24]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[25]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[26]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[27]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[28]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[29]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[30]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[31]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[32]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[33]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[34]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[35]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[36]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[37]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[38]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[39]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[40]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[41]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[42]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[43]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[44]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[45]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[46]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[47]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[48]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[49]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[50]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[51]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[52]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[53]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[54]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[55]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[56]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[57]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[58]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[59]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[60]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[61]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[62]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[63]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[64]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[65]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[66]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[67]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[68]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[69]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[70]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[71]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[72]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[73]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[74]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[75]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[76]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[77]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[78]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[79]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[80]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[81]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[82]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[83]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[84]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[85]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[86]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[87]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[88]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[89]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[90]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[91]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[92]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[93]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[94]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[95]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[96]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[97]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[98]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[99]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[100]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[101]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[102]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[103]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[104]);
     Datasheet.Parse(stream.NextString(), ref record.skipped2[105]);
 }
Beispiel #25
0
 public void LoadRecord(ref SetItem record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.id);
     Datasheet.Parse(stream.NextString(), ref record.setId);
     Datasheet.Parse(stream.NextString(), ref record.itemCode);
     Datasheet.Parse(stream.NextString(), ref record._item);
     Datasheet.Parse(stream.NextString(), ref record.rarity);
     Datasheet.Parse(stream.NextString(), ref record.level);
     Datasheet.Parse(stream.NextString(), ref record.levelReq);
     Datasheet.Parse(stream.NextString(), ref record.chrTransform);
     Datasheet.Parse(stream.NextString(), ref record.invTransform);
     Datasheet.Parse(stream.NextString(), ref record.invFile);
     Datasheet.Parse(stream.NextString(), ref record.flippyFile);
     Datasheet.Parse(stream.NextString(), ref record._dropSound);
     Datasheet.Parse(stream.NextString(), ref record._dropSoundFrame);
     Datasheet.Parse(stream.NextString(), ref record._useSound);
     Datasheet.Parse(stream.NextString(), ref record.costMult);
     Datasheet.Parse(stream.NextString(), ref record.costAdd);
     Datasheet.Parse(stream.NextString(), ref record.addFunc);
     record.props = new SetItem.Prop[9];
     setitemproploader.LoadRecord(ref record.props[0], stream);
     setitemproploader.LoadRecord(ref record.props[1], stream);
     setitemproploader.LoadRecord(ref record.props[2], stream);
     setitemproploader.LoadRecord(ref record.props[3], stream);
     setitemproploader.LoadRecord(ref record.props[4], stream);
     setitemproploader.LoadRecord(ref record.props[5], stream);
     setitemproploader.LoadRecord(ref record.props[6], stream);
     setitemproploader.LoadRecord(ref record.props[7], stream);
     setitemproploader.LoadRecord(ref record.props[8], stream);
     record.additionalProps = new SetItem.Prop[10];
     setitemproploader.LoadRecord(ref record.additionalProps[0], stream);
     setitemproploader.LoadRecord(ref record.additionalProps[1], stream);
     setitemproploader.LoadRecord(ref record.additionalProps[2], stream);
     setitemproploader.LoadRecord(ref record.additionalProps[3], stream);
     setitemproploader.LoadRecord(ref record.additionalProps[4], stream);
     setitemproploader.LoadRecord(ref record.additionalProps[5], stream);
     setitemproploader.LoadRecord(ref record.additionalProps[6], stream);
     setitemproploader.LoadRecord(ref record.additionalProps[7], stream);
     setitemproploader.LoadRecord(ref record.additionalProps[8], stream);
     setitemproploader.LoadRecord(ref record.additionalProps[9], stream);
     Datasheet.Parse(stream.NextString(), ref record.eol);
 }
 public void LoadRecord(ref TreasureClass.Node record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.code);
     Datasheet.Parse(stream.NextString(), ref record.prob);
 }
Beispiel #27
0
 public void LoadRecord(ref Translation record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.key);
     Datasheet.Parse(stream.NextString(), ref record.value);
 }
 public void LoadRecord(ref CharStatsInfo.StartingItem record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.code);
             Datasheet.Parse(stream.NextString(), ref record.loc);
             Datasheet.Parse(stream.NextString(), ref record.count);
 }
Beispiel #29
0
 public void LoadRecord(ref MonPreset record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.act);
     Datasheet.Parse(stream.NextString(), ref record.place);
 }
Beispiel #30
0
 public void LoadRecord(ref StateInfo record, Datasheet.Stream stream)
 {
     Datasheet.Parse(stream.NextString(), ref record.code);
     Datasheet.Parse(stream.NextString(), ref record.id);
     Datasheet.Parse(stream.NextString(), ref record.group);
     Datasheet.Parse(stream.NextString(), ref record.remhit);
     Datasheet.Parse(stream.NextString(), ref record.nosend);
     Datasheet.Parse(stream.NextString(), ref record.transform);
     Datasheet.Parse(stream.NextString(), ref record.aura);
     Datasheet.Parse(stream.NextString(), ref record.curable);
     Datasheet.Parse(stream.NextString(), ref record.curse);
     Datasheet.Parse(stream.NextString(), ref record.active);
     Datasheet.Parse(stream.NextString(), ref record.immed);
     Datasheet.Parse(stream.NextString(), ref record.restrict);
     Datasheet.Parse(stream.NextString(), ref record.disguise);
     Datasheet.Parse(stream.NextString(), ref record.blue);
     Datasheet.Parse(stream.NextString(), ref record.attblue);
     Datasheet.Parse(stream.NextString(), ref record.damblue);
     Datasheet.Parse(stream.NextString(), ref record.armblue);
     Datasheet.Parse(stream.NextString(), ref record.rfblue);
     Datasheet.Parse(stream.NextString(), ref record.rlblue);
     Datasheet.Parse(stream.NextString(), ref record.rcblue);
     Datasheet.Parse(stream.NextString(), ref record.stambarblue);
     Datasheet.Parse(stream.NextString(), ref record.rpblue);
     Datasheet.Parse(stream.NextString(), ref record.attred);
     Datasheet.Parse(stream.NextString(), ref record.damred);
     Datasheet.Parse(stream.NextString(), ref record.armred);
     Datasheet.Parse(stream.NextString(), ref record.rfred);
     Datasheet.Parse(stream.NextString(), ref record.rlred);
     Datasheet.Parse(stream.NextString(), ref record.rcred);
     Datasheet.Parse(stream.NextString(), ref record.rpred);
     Datasheet.Parse(stream.NextString(), ref record.exp);
     Datasheet.Parse(stream.NextString(), ref record.plrstaydeath);
     Datasheet.Parse(stream.NextString(), ref record.monstaydeath);
     Datasheet.Parse(stream.NextString(), ref record.bossstaydeath);
     Datasheet.Parse(stream.NextString(), ref record.hide);
     Datasheet.Parse(stream.NextString(), ref record.shatter);
     Datasheet.Parse(stream.NextString(), ref record.udead);
     Datasheet.Parse(stream.NextString(), ref record.life);
     Datasheet.Parse(stream.NextString(), ref record.green);
     Datasheet.Parse(stream.NextString(), ref record.pgsv);
     Datasheet.Parse(stream.NextString(), ref record.nooverlays);
     Datasheet.Parse(stream.NextString(), ref record.noclear);
     Datasheet.Parse(stream.NextString(), ref record.bossinv);
     Datasheet.Parse(stream.NextString(), ref record.meleeonly);
     Datasheet.Parse(stream.NextString(), ref record.notondead);
     Datasheet.Parse(stream.NextString(), ref record.overlay1);
     Datasheet.Parse(stream.NextString(), ref record.overlay2);
     Datasheet.Parse(stream.NextString(), ref record.overlay3);
     Datasheet.Parse(stream.NextString(), ref record.overlay4);
     Datasheet.Parse(stream.NextString(), ref record.pgsvoverlay);
     Datasheet.Parse(stream.NextString(), ref record.castoverlay);
     Datasheet.Parse(stream.NextString(), ref record.removerlay);
     Datasheet.Parse(stream.NextString(), ref record.stat);
     Datasheet.Parse(stream.NextString(), ref record.setfunc);
     Datasheet.Parse(stream.NextString(), ref record.remfunc);
     Datasheet.Parse(stream.NextString(), ref record.missile);
     Datasheet.Parse(stream.NextString(), ref record.skill);
     Datasheet.Parse(stream.NextString(), ref record.itemtype);
     Datasheet.Parse(stream.NextString(), ref record.itemtrans);
     Datasheet.Parse(stream.NextString(), ref record.colorpri);
     Datasheet.Parse(stream.NextString(), ref record.colorshift);
     Datasheet.Parse(stream.NextString(), ref record.lightr);
     Datasheet.Parse(stream.NextString(), ref record.lightg);
     Datasheet.Parse(stream.NextString(), ref record.lightb);
     Datasheet.Parse(stream.NextString(), ref record.onsound);
     Datasheet.Parse(stream.NextString(), ref record.offsound);
     Datasheet.Parse(stream.NextString(), ref record.gfxtype);
     Datasheet.Parse(stream.NextString(), ref record.gfxclass);
     Datasheet.Parse(stream.NextString(), ref record.cltevent);
     Datasheet.Parse(stream.NextString(), ref record.clteventfunc);
     Datasheet.Parse(stream.NextString(), ref record.cltactivefunc);
     Datasheet.Parse(stream.NextString(), ref record.srvactivefunc);
     Datasheet.Parse(stream.NextString(), ref record.eol);
 }