public void LoadRecord(ref UniqueItem.Prop record, DatasheetStream stream)
 {
     stream.Read(ref record.prop);
     stream.Read(ref record.param);
     stream.Read(ref record.min);
     stream.Read(ref record.max);
 }
 public void LoadRecord(ref MonStat.TreasureClassInfo record, DatasheetStream stream)
 {
     stream.Read(ref record._normal);
     stream.Read(ref record._champion);
     stream.Read(ref record._unique);
     stream.Read(ref record._quest);
 }
Esempio n. 3
0
 public void LoadRecord(ref ItemPropertyInfo.Block record, DatasheetStream stream)
 {
     stream.Read(ref record.set);
     stream.Read(ref record.value);
     stream.Read(ref record.func);
     stream.Read(ref record.statId);
 }
Esempio n. 4
0
 public void LoadRecord(ref ItemSet record, DatasheetStream stream)
 {
     stream.Read(ref record.id);
     stream.Read(ref record.nameStr);
     stream.Read(ref record.version);
     stream.Read(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);
     stream.Read(ref record.eol);
 }
Esempio n. 5
0
 public void LoadRecord(ref MagicAffix.Mod record, DatasheetStream stream)
 {
     stream.Read(ref record.code);
     stream.Read(ref record.param);
     stream.Read(ref record.min);
     stream.Read(ref record.max);
 }
 public void LoadRecord(ref LevelMazeInfo record, DatasheetStream stream)
 {
     stream.Read(ref record.name);
     stream.Read(ref record.levelId);
     record.rooms = new int[3];
     stream.Read(ref record.rooms[0]);
     stream.Read(ref record.rooms[1]);
     stream.Read(ref record.rooms[2]);
     stream.Read(ref record.sizeX);
     stream.Read(ref record.sizeY);
     stream.Read(ref record.merge);
     stream.Read(ref record.beta);
 }
Esempio n. 7
0
 public void LoadRecord(ref ExpTable record, DatasheetStream stream)
 {
     stream.Read(ref record.maxLevel);
     stream.Read(ref record.amazon);
     stream.Read(ref record.sorceress);
     stream.Read(ref record.necromancer);
     stream.Read(ref record.paladin);
     stream.Read(ref record.barbarian);
     stream.Read(ref record.druid);
     stream.Read(ref record.assassin);
 }
 public void LoadRecord(ref ItemPropertyInfo record, DatasheetStream stream)
 {
     stream.Read(ref record.code);
     stream.Read(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);
     stream.Read(ref record._desc);
     stream.Read(ref record._param);
     stream.Read(ref record._min);
     stream.Read(ref record._max);
     stream.Read(ref record._notes);
     stream.Read(ref record._eol);
 }
Esempio n. 9
0
 public void LoadRecord(ref MonLvl record, DatasheetStream stream)
 {
     stream.Read(ref record.level);
     record.armor = new int[6];
     stream.Read(ref record.armor[0]);
     stream.Read(ref record.armor[1]);
     stream.Read(ref record.armor[2]);
     stream.Read(ref record.armor[3]);
     stream.Read(ref record.armor[4]);
     stream.Read(ref record.armor[5]);
     record.toHit = new int[6];
     stream.Read(ref record.toHit[0]);
     stream.Read(ref record.toHit[1]);
     stream.Read(ref record.toHit[2]);
     stream.Read(ref record.toHit[3]);
     stream.Read(ref record.toHit[4]);
     stream.Read(ref record.toHit[5]);
     record.hp = new int[6];
     stream.Read(ref record.hp[0]);
     stream.Read(ref record.hp[1]);
     stream.Read(ref record.hp[2]);
     stream.Read(ref record.hp[3]);
     stream.Read(ref record.hp[4]);
     stream.Read(ref record.hp[5]);
     record.damage = new int[6];
     stream.Read(ref record.damage[0]);
     stream.Read(ref record.damage[1]);
     stream.Read(ref record.damage[2]);
     stream.Read(ref record.damage[3]);
     stream.Read(ref record.damage[4]);
     stream.Read(ref record.damage[5]);
     record.experience = new int[6];
     stream.Read(ref record.experience[0]);
     stream.Read(ref record.experience[1]);
     stream.Read(ref record.experience[2]);
     stream.Read(ref record.experience[3]);
     stream.Read(ref record.experience[4]);
     stream.Read(ref record.experience[5]);
 }
Esempio n. 10
0
 public void LoadRecord(ref MonSound record, DatasheetStream stream)
 {
     stream.Read(ref record.id);
     stream.Read(ref record._attack1);
     stream.Read(ref record._weapon1);
     stream.Read(ref record._attack1Delay);
     stream.Read(ref record._weapon1Delay);
     stream.Read(ref record.attack1Prob);
     stream.Read(ref record._weapon1Volume);
     stream.Read(ref record._attack2);
     stream.Read(ref record._weapon2);
     stream.Read(ref record._attack2Delay);
     stream.Read(ref record._weapon2Delay);
     stream.Read(ref record.attack2Prob);
     stream.Read(ref record._weapon2Volume);
     stream.Read(ref record._hitSound);
     stream.Read(ref record._deathSound);
     stream.Read(ref record._hitDelay);
     stream.Read(ref record._deathDelay);
     stream.Read(ref record._skill1);
     stream.Read(ref record._skill2);
     stream.Read(ref record._skill3);
     stream.Read(ref record._skill4);
     stream.Read(ref record._footstep);
     stream.Read(ref record._footstepLayer);
     stream.Read(ref record._fsCnt);
     stream.Read(ref record._fsOff);
     stream.Read(ref record._fsPrb);
     stream.Read(ref record._neutral);
     stream.Read(ref record._neuTime);
     stream.Read(ref record._init);
     stream.Read(ref record._taunt);
     stream.Read(ref record._flee);
     stream.Read(ref record._cvtMo1);
     stream.Read(ref record._cvtSk1);
     stream.Read(ref record._cvtTgt1);
     stream.Read(ref record._cvtMo2);
     stream.Read(ref record._cvtSk2);
     stream.Read(ref record._cvtTgt2);
     stream.Read(ref record._cvtMo3);
     stream.Read(ref record._cvtSk3);
     stream.Read(ref record._cvtTgt3);
     stream.Read(ref record.eol);
 }
Esempio n. 11
0
 public void LoadRecord(ref SkillInfo record, DatasheetStream stream)
 {
     stream.Read(ref record.skill);
     stream.Read(ref record.id);
     stream.Read(ref record.charClass);
     stream.Read(ref record.skillDescId);
     stream.Read(ref record.srvStartFunc);
     stream.Read(ref record.srvDoFunc);
     record.unused = new string[54];
     stream.Read(ref record.unused[0]);
     stream.Read(ref record.unused[1]);
     stream.Read(ref record.unused[2]);
     stream.Read(ref record.unused[3]);
     stream.Read(ref record.unused[4]);
     stream.Read(ref record.unused[5]);
     stream.Read(ref record.unused[6]);
     stream.Read(ref record.unused[7]);
     stream.Read(ref record.unused[8]);
     stream.Read(ref record.unused[9]);
     stream.Read(ref record.unused[10]);
     stream.Read(ref record.unused[11]);
     stream.Read(ref record.unused[12]);
     stream.Read(ref record.unused[13]);
     stream.Read(ref record.unused[14]);
     stream.Read(ref record.unused[15]);
     stream.Read(ref record.unused[16]);
     stream.Read(ref record.unused[17]);
     stream.Read(ref record.unused[18]);
     stream.Read(ref record.unused[19]);
     stream.Read(ref record.unused[20]);
     stream.Read(ref record.unused[21]);
     stream.Read(ref record.unused[22]);
     stream.Read(ref record.unused[23]);
     stream.Read(ref record.unused[24]);
     stream.Read(ref record.unused[25]);
     stream.Read(ref record.unused[26]);
     stream.Read(ref record.unused[27]);
     stream.Read(ref record.unused[28]);
     stream.Read(ref record.unused[29]);
     stream.Read(ref record.unused[30]);
     stream.Read(ref record.unused[31]);
     stream.Read(ref record.unused[32]);
     stream.Read(ref record.unused[33]);
     stream.Read(ref record.unused[34]);
     stream.Read(ref record.unused[35]);
     stream.Read(ref record.unused[36]);
     stream.Read(ref record.unused[37]);
     stream.Read(ref record.unused[38]);
     stream.Read(ref record.unused[39]);
     stream.Read(ref record.unused[40]);
     stream.Read(ref record.unused[41]);
     stream.Read(ref record.unused[42]);
     stream.Read(ref record.unused[43]);
     stream.Read(ref record.unused[44]);
     stream.Read(ref record.unused[45]);
     stream.Read(ref record.unused[46]);
     stream.Read(ref record.unused[47]);
     stream.Read(ref record.unused[48]);
     stream.Read(ref record.unused[49]);
     stream.Read(ref record.unused[50]);
     stream.Read(ref record.unused[51]);
     stream.Read(ref record.unused[52]);
     stream.Read(ref record.unused[53]);
     stream.Read(ref record.summon);
     stream.Read(ref record.pettype);
     stream.Read(ref record.petmax);
     stream.Read(ref record.summode);
     record.sumcalcs = new string[10];
     stream.Read(ref record.sumcalcs[0]);
     stream.Read(ref record.sumcalcs[1]);
     stream.Read(ref record.sumcalcs[2]);
     stream.Read(ref record.sumcalcs[3]);
     stream.Read(ref record.sumcalcs[4]);
     stream.Read(ref record.sumcalcs[5]);
     stream.Read(ref record.sumcalcs[6]);
     stream.Read(ref record.sumcalcs[7]);
     stream.Read(ref record.sumcalcs[8]);
     stream.Read(ref record.sumcalcs[9]);
     stream.Read(ref record.sumumod);
     stream.Read(ref record.sumoverlay);
     stream.Read(ref record.stsuccessonly);
     stream.Read(ref record._stsound);
     record.unused2 = new string[10];
     stream.Read(ref record.unused2[0]);
     stream.Read(ref record.unused2[1]);
     stream.Read(ref record.unused2[2]);
     stream.Read(ref record.unused2[3]);
     stream.Read(ref record.unused2[4]);
     stream.Read(ref record.unused2[5]);
     stream.Read(ref record.unused2[6]);
     stream.Read(ref record.unused2[7]);
     stream.Read(ref record.unused2[8]);
     stream.Read(ref record.unused2[9]);
     stream.Read(ref record.castOverlayId);
     stream.Read(ref record.clientOverlayA);
     stream.Read(ref record.clientOverlayB);
     stream.Read(ref record.clientStartFunc);
     stream.Read(ref record.clientDoFunc);
     stream.Read(ref record.clientPrqFunc1);
     stream.Read(ref record.clientPrqFunc2);
     stream.Read(ref record.clientPrqFunc3);
     stream.Read(ref record.clientMissile);
     stream.Read(ref record.clientMissileA);
     stream.Read(ref record.clientMissileB);
     stream.Read(ref record.clientMissileC);
     stream.Read(ref record.clientMissileD);
     record.clientCalcs = new string[6];
     stream.Read(ref record.clientCalcs[0]);
     stream.Read(ref record.clientCalcs[1]);
     stream.Read(ref record.clientCalcs[2]);
     stream.Read(ref record.clientCalcs[3]);
     stream.Read(ref record.clientCalcs[4]);
     stream.Read(ref record.clientCalcs[5]);
     stream.Read(ref record.warp);
     stream.Read(ref record.immediate);
     stream.Read(ref record.enhanceable);
     stream.Read(ref record.attackRank);
     stream.Read(ref record.noAmmo);
     stream.Read(ref record._range);
     stream.Read(ref record.weapSel);
     stream.Read(ref record.itemTypeA1);
     stream.Read(ref record.itemTypeA2);
     stream.Read(ref record.itemTypeA3);
     stream.Read(ref record.eItemTypeA1);
     stream.Read(ref record.eItemTypeA2);
     stream.Read(ref record.itemTypeB1);
     stream.Read(ref record.itemTypeB2);
     stream.Read(ref record.itemTypeB3);
     stream.Read(ref record.eItemTypeB1);
     stream.Read(ref record.eItemTypeB2);
     stream.Read(ref record.anim);
     stream.Read(ref record.seqTrans);
     stream.Read(ref record.monAnim);
     stream.Read(ref record.seqNum);
     stream.Read(ref record.seqInput);
     stream.Read(ref record.durability);
     stream.Read(ref record.useAttackRate);
     stream.Read(ref record.lineOfSight);
     stream.Read(ref record.targetableOnly);
     stream.Read(ref record.searchEnemyXY);
     stream.Read(ref record.searchEnemyNear);
     stream.Read(ref record.searchOpenXY);
     stream.Read(ref record.selectProc);
     stream.Read(ref record.targetCorpse);
     stream.Read(ref record.targetPet);
     stream.Read(ref record.targetAlly);
     stream.Read(ref record.targetItem);
     record.unused3 = new string[77];
     stream.Read(ref record.unused3[0]);
     stream.Read(ref record.unused3[1]);
     stream.Read(ref record.unused3[2]);
     stream.Read(ref record.unused3[3]);
     stream.Read(ref record.unused3[4]);
     stream.Read(ref record.unused3[5]);
     stream.Read(ref record.unused3[6]);
     stream.Read(ref record.unused3[7]);
     stream.Read(ref record.unused3[8]);
     stream.Read(ref record.unused3[9]);
     stream.Read(ref record.unused3[10]);
     stream.Read(ref record.unused3[11]);
     stream.Read(ref record.unused3[12]);
     stream.Read(ref record.unused3[13]);
     stream.Read(ref record.unused3[14]);
     stream.Read(ref record.unused3[15]);
     stream.Read(ref record.unused3[16]);
     stream.Read(ref record.unused3[17]);
     stream.Read(ref record.unused3[18]);
     stream.Read(ref record.unused3[19]);
     stream.Read(ref record.unused3[20]);
     stream.Read(ref record.unused3[21]);
     stream.Read(ref record.unused3[22]);
     stream.Read(ref record.unused3[23]);
     stream.Read(ref record.unused3[24]);
     stream.Read(ref record.unused3[25]);
     stream.Read(ref record.unused3[26]);
     stream.Read(ref record.unused3[27]);
     stream.Read(ref record.unused3[28]);
     stream.Read(ref record.unused3[29]);
     stream.Read(ref record.unused3[30]);
     stream.Read(ref record.unused3[31]);
     stream.Read(ref record.unused3[32]);
     stream.Read(ref record.unused3[33]);
     stream.Read(ref record.unused3[34]);
     stream.Read(ref record.unused3[35]);
     stream.Read(ref record.unused3[36]);
     stream.Read(ref record.unused3[37]);
     stream.Read(ref record.unused3[38]);
     stream.Read(ref record.unused3[39]);
     stream.Read(ref record.unused3[40]);
     stream.Read(ref record.unused3[41]);
     stream.Read(ref record.unused3[42]);
     stream.Read(ref record.unused3[43]);
     stream.Read(ref record.unused3[44]);
     stream.Read(ref record.unused3[45]);
     stream.Read(ref record.unused3[46]);
     stream.Read(ref record.unused3[47]);
     stream.Read(ref record.unused3[48]);
     stream.Read(ref record.unused3[49]);
     stream.Read(ref record.unused3[50]);
     stream.Read(ref record.unused3[51]);
     stream.Read(ref record.unused3[52]);
     stream.Read(ref record.unused3[53]);
     stream.Read(ref record.unused3[54]);
     stream.Read(ref record.unused3[55]);
     stream.Read(ref record.unused3[56]);
     stream.Read(ref record.unused3[57]);
     stream.Read(ref record.unused3[58]);
     stream.Read(ref record.unused3[59]);
     stream.Read(ref record.unused3[60]);
     stream.Read(ref record.unused3[61]);
     stream.Read(ref record.unused3[62]);
     stream.Read(ref record.unused3[63]);
     stream.Read(ref record.unused3[64]);
     stream.Read(ref record.unused3[65]);
     stream.Read(ref record.unused3[66]);
     stream.Read(ref record.unused3[67]);
     stream.Read(ref record.unused3[68]);
     stream.Read(ref record.unused3[69]);
     stream.Read(ref record.unused3[70]);
     stream.Read(ref record.unused3[71]);
     stream.Read(ref record.unused3[72]);
     stream.Read(ref record.unused3[73]);
     stream.Read(ref record.unused3[74]);
     stream.Read(ref record.unused3[75]);
     stream.Read(ref record.unused3[76]);
     stream.Read(ref record.hitShift);
     stream.Read(ref record.srcDamage);
     stream.Read(ref record.minDamage);
     record.minDamagePerLevel = new int[5];
     stream.Read(ref record.minDamagePerLevel[0]);
     stream.Read(ref record.minDamagePerLevel[1]);
     stream.Read(ref record.minDamagePerLevel[2]);
     stream.Read(ref record.minDamagePerLevel[3]);
     stream.Read(ref record.minDamagePerLevel[4]);
     stream.Read(ref record.maxDamage);
     record.maxDamagePerLevel = new int[5];
     stream.Read(ref record.maxDamagePerLevel[0]);
     stream.Read(ref record.maxDamagePerLevel[1]);
     stream.Read(ref record.maxDamagePerLevel[2]);
     stream.Read(ref record.maxDamagePerLevel[3]);
     stream.Read(ref record.maxDamagePerLevel[4]);
     stream.Read(ref record.damageSymPerCalc);
     stream.Read(ref record.eType);
     stream.Read(ref record.eMin);
     record.minEDamagePerLevel = new int[5];
     stream.Read(ref record.minEDamagePerLevel[0]);
     stream.Read(ref record.minEDamagePerLevel[1]);
     stream.Read(ref record.minEDamagePerLevel[2]);
     stream.Read(ref record.minEDamagePerLevel[3]);
     stream.Read(ref record.minEDamagePerLevel[4]);
     stream.Read(ref record.eMax);
     record.maxEDamagePerLevel = new int[5];
     stream.Read(ref record.maxEDamagePerLevel[0]);
     stream.Read(ref record.maxEDamagePerLevel[1]);
     stream.Read(ref record.maxEDamagePerLevel[2]);
     stream.Read(ref record.maxEDamagePerLevel[3]);
     stream.Read(ref record.maxEDamagePerLevel[4]);
     stream.Read(ref record.eDamageSymPerCalc);
     stream.Read(ref record.eLen);
     record.eLenPerLevel = new int[3];
     stream.Read(ref record.eLenPerLevel[0]);
     stream.Read(ref record.eLenPerLevel[1]);
     stream.Read(ref record.eLenPerLevel[2]);
     stream.Read(ref record.eLenSymPerCalc);
     stream.Read(ref record.aiType);
     stream.Read(ref record.aiBonus);
     stream.Read(ref record.costMult);
     stream.Read(ref record.costAdd);
 }
 public void LoadRecord(ref CharStatsInfo.StartingItem record, DatasheetStream stream)
 {
     stream.Read(ref record.code);
     stream.Read(ref record.loc);
     stream.Read(ref record.count);
 }
Esempio n. 13
0
 public void LoadRecord(ref MonStat.Stats record, DatasheetStream stream)
 {
     stream.Read(ref record.minHP);
     stream.Read(ref record.maxHP);
     stream.Read(ref record.armorClass);
     stream.Read(ref record.exp);
     stream.Read(ref record.A1MinDamage);
     stream.Read(ref record.A1MaxDamage);
     stream.Read(ref record.A1ToHit);
     stream.Read(ref record.A2MinDamage);
     stream.Read(ref record.A2MaxDamage);
     stream.Read(ref record.A2ToHit);
     stream.Read(ref record.S1MinDamage);
     stream.Read(ref record.S1MaxDamage);
     stream.Read(ref record.S1ToHit);
 }
Esempio n. 14
0
 public void LoadRecord(ref ItemType record, DatasheetStream stream)
 {
     stream.Read(ref record.name);
     stream.Read(ref record.code);
     stream.Read(ref record._equiv1);
     stream.Read(ref record._equiv2);
     stream.Read(ref record.repair);
     stream.Read(ref record.body);
     stream.Read(ref record.bodyLoc1Code);
     stream.Read(ref record.bodyLoc2Code);
     stream.Read(ref record.shoots);
     stream.Read(ref record.quiver);
     stream.Read(ref record.throwable);
     stream.Read(ref record.reload);
     stream.Read(ref record.reEquip);
     stream.Read(ref record.autoStack);
     stream.Read(ref record.alwaysMagic);
     stream.Read(ref record.canBeRare);
     stream.Read(ref record.alwaysNormal);
     stream.Read(ref record.charm);
     stream.Read(ref record.gem);
     stream.Read(ref record.beltable);
     stream.Read(ref record.maxSock1);
     stream.Read(ref record.maxSock25);
     stream.Read(ref record.maxSock40);
     stream.Read(ref record.treasureClass);
     stream.Read(ref record.rarity);
     stream.Read(ref record.staffMods);
     stream.Read(ref record.costFormula);
     stream.Read(ref record.classCode);
     stream.Read(ref record.varInvGfx);
     record.invGfx = new string[6];
     stream.Read(ref record.invGfx[0]);
     stream.Read(ref record.invGfx[1]);
     stream.Read(ref record.invGfx[2]);
     stream.Read(ref record.invGfx[3]);
     stream.Read(ref record.invGfx[4]);
     stream.Read(ref record.invGfx[5]);
     stream.Read(ref record.storePage);
     stream.Read(ref record.eol);
 }
Esempio n. 15
0
 public void LoadRecord(ref MissileInfo record, DatasheetStream stream)
 {
     stream.Read(ref record.missile);
     stream.Read(ref record.id);
     stream.Read(ref record.clientDoFunc);
     stream.Read(ref record.clientHitFunc);
     stream.Read(ref record.serverDoFunc);
     stream.Read(ref record.serverHitFunc);
     stream.Read(ref record.serverDmgFunc);
     stream.Read(ref record.serverCalc1);
     stream.Read(ref record.serverCalc1Description);
     record.parameters = new MissileInfo.Param[5];
     missileinfoparamloader.LoadRecord(ref record.parameters[0], stream);
     missileinfoparamloader.LoadRecord(ref record.parameters[1], stream);
     missileinfoparamloader.LoadRecord(ref record.parameters[2], stream);
     missileinfoparamloader.LoadRecord(ref record.parameters[3], stream);
     missileinfoparamloader.LoadRecord(ref record.parameters[4], stream);
     stream.Read(ref record.clientCalc1);
     stream.Read(ref record.clientCalc1Description);
     record.clientParameters = new MissileInfo.Param[5];
     missileinfoparamloader.LoadRecord(ref record.clientParameters[0], stream);
     missileinfoparamloader.LoadRecord(ref record.clientParameters[1], stream);
     missileinfoparamloader.LoadRecord(ref record.clientParameters[2], stream);
     missileinfoparamloader.LoadRecord(ref record.clientParameters[3], stream);
     missileinfoparamloader.LoadRecord(ref record.clientParameters[4], stream);
     stream.Read(ref record.serverHitCalc1);
     stream.Read(ref record.serverHitCalc1Description);
     record.serverHitParameters = new MissileInfo.Param[3];
     missileinfoparamloader.LoadRecord(ref record.serverHitParameters[0], stream);
     missileinfoparamloader.LoadRecord(ref record.serverHitParameters[1], stream);
     missileinfoparamloader.LoadRecord(ref record.serverHitParameters[2], stream);
     stream.Read(ref record.clientHitCalc1);
     stream.Read(ref record.clientHitCalc1Description);
     record.clientHitParameters = new MissileInfo.Param[3];
     missileinfoparamloader.LoadRecord(ref record.clientHitParameters[0], stream);
     missileinfoparamloader.LoadRecord(ref record.clientHitParameters[1], stream);
     missileinfoparamloader.LoadRecord(ref record.clientHitParameters[2], stream);
     stream.Read(ref record.damageCalc1);
     stream.Read(ref record.damageCalc1Description);
     record.damageCalcParameters = new MissileInfo.Param[2];
     missileinfoparamloader.LoadRecord(ref record.damageCalcParameters[0], stream);
     missileinfoparamloader.LoadRecord(ref record.damageCalcParameters[1], stream);
     stream.Read(ref record.velocity);
     stream.Read(ref record.maxVelocity);
     stream.Read(ref record.velocityPerLevel);
     stream.Read(ref record.accel);
     stream.Read(ref record.range);
     stream.Read(ref record.levRange);
     stream.Read(ref record.light);
     stream.Read(ref record.flicker);
     stream.Read(ref record.red);
     stream.Read(ref record.green);
     stream.Read(ref record.blue);
     stream.Read(ref record.initSteps);
     stream.Read(ref record.activate);
     stream.Read(ref record.loopAnim);
     stream.Read(ref record.celFile);
     stream.Read(ref record.animRate);
     stream.Read(ref record.animLen);
     stream.Read(ref record.animSpeed);
     stream.Read(ref record.randStart);
     stream.Read(ref record.subLoop);
     stream.Read(ref record.subStart);
     stream.Read(ref record.subStop);
     stream.Read(ref record._collideType);
     stream.Read(ref record.collideKill);
     stream.Read(ref record.collideFriend);
     stream.Read(ref record.lastCollide);
     stream.Read(ref record.collision);
     stream.Read(ref record.clientCol);
     stream.Read(ref record.clientSend);
     stream.Read(ref record.nextHit);
     stream.Read(ref record.nextDelay);
     stream.Read(ref record.xOffset);
     stream.Read(ref record.yOffset);
     stream.Read(ref record.zOffset);
     stream.Read(ref record.size);
     stream.Read(ref record.srcTown);
     stream.Read(ref record.clientSrcTown);
     stream.Read(ref record.canDestroy);
     stream.Read(ref record.toHit);
     stream.Read(ref record.alwaysExplode);
     stream.Read(ref record.explosion);
     stream.Read(ref record.town);
     stream.Read(ref record.noUniqueMod);
     stream.Read(ref record.noMultiShot);
     stream.Read(ref record.holy);
     stream.Read(ref record.canSlow);
     stream.Read(ref record.returnFire);
     stream.Read(ref record.getHit);
     stream.Read(ref record.softHit);
     stream.Read(ref record.knockBack);
     stream.Read(ref record.trans);
     stream.Read(ref record.useQuantity);
     stream.Read(ref record.pierce);
     stream.Read(ref record.specialSetup);
     stream.Read(ref record.missileSkill);
     stream.Read(ref record.skill);
     stream.Read(ref record.resultFlags);
     stream.Read(ref record.hitFlags);
     stream.Read(ref record.hitShift);
     stream.Read(ref record.applyMastery);
     stream.Read(ref record.srcDamage);
     stream.Read(ref record.half2HSrc);
     stream.Read(ref record.srcMissDamage);
     stream.Read(ref record.minDamage);
     record.minDamagePerLevel = new int[5];
     stream.Read(ref record.minDamagePerLevel[0]);
     stream.Read(ref record.minDamagePerLevel[1]);
     stream.Read(ref record.minDamagePerLevel[2]);
     stream.Read(ref record.minDamagePerLevel[3]);
     stream.Read(ref record.minDamagePerLevel[4]);
     stream.Read(ref record.maxDamage);
     record.maxDamagePerLevel = new int[5];
     stream.Read(ref record.maxDamagePerLevel[0]);
     stream.Read(ref record.maxDamagePerLevel[1]);
     stream.Read(ref record.maxDamagePerLevel[2]);
     stream.Read(ref record.maxDamagePerLevel[3]);
     stream.Read(ref record.maxDamagePerLevel[4]);
     stream.Read(ref record.damageSymPerCalc);
     stream.Read(ref record.eType);
     stream.Read(ref record.eMin);
     record.minEDamagePerLevel = new int[5];
     stream.Read(ref record.minEDamagePerLevel[0]);
     stream.Read(ref record.minEDamagePerLevel[1]);
     stream.Read(ref record.minEDamagePerLevel[2]);
     stream.Read(ref record.minEDamagePerLevel[3]);
     stream.Read(ref record.minEDamagePerLevel[4]);
     stream.Read(ref record.eMax);
     record.maxEDamagePerLevel = new int[5];
     stream.Read(ref record.maxEDamagePerLevel[0]);
     stream.Read(ref record.maxEDamagePerLevel[1]);
     stream.Read(ref record.maxEDamagePerLevel[2]);
     stream.Read(ref record.maxEDamagePerLevel[3]);
     stream.Read(ref record.maxEDamagePerLevel[4]);
     stream.Read(ref record.eDamageSymPerCalc);
     stream.Read(ref record.eLen);
     record.eLenPerLevel = new int[3];
     stream.Read(ref record.eLenPerLevel[0]);
     stream.Read(ref record.eLenPerLevel[1]);
     stream.Read(ref record.eLenPerLevel[2]);
     stream.Read(ref record.hitClass);
     stream.Read(ref record.numDirections);
     stream.Read(ref record.localBlood);
     stream.Read(ref record.damageRate);
     stream.Read(ref record.travelSoundId);
     stream.Read(ref record.hitSoundId);
     stream.Read(ref record.progSoundId);
     stream.Read(ref record.progOverlayId);
     stream.Read(ref record.explosionMissileId);
     record.subMissileId = new string[3];
     stream.Read(ref record.subMissileId[0]);
     stream.Read(ref record.subMissileId[1]);
     stream.Read(ref record.subMissileId[2]);
     record.hitSubMissileId = new string[4];
     stream.Read(ref record.hitSubMissileId[0]);
     stream.Read(ref record.hitSubMissileId[1]);
     stream.Read(ref record.hitSubMissileId[2]);
     stream.Read(ref record.hitSubMissileId[3]);
     record.clientSubMissileId = new string[3];
     stream.Read(ref record.clientSubMissileId[0]);
     stream.Read(ref record.clientSubMissileId[1]);
     stream.Read(ref record.clientSubMissileId[2]);
     record.clientHitSubMissileId = new string[4];
     stream.Read(ref record.clientHitSubMissileId[0]);
     stream.Read(ref record.clientHitSubMissileId[1]);
     stream.Read(ref record.clientHitSubMissileId[2]);
     stream.Read(ref record.clientHitSubMissileId[3]);
     stream.Read(ref record.eol);
 }
Esempio n. 16
0
 public void LoadRecord(ref TreasureClass record, DatasheetStream stream)
 {
     stream.Read(ref record.name);
     stream.Read(ref record.group);
     stream.Read(ref record.level);
     stream.Read(ref record.picks);
     stream.Read(ref record.unique);
     stream.Read(ref record.set);
     stream.Read(ref record.rare);
     stream.Read(ref record.magic);
     stream.Read(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);
     stream.Read(ref record.sumItems);
     stream.Read(ref record.totalProb);
     stream.Read(ref record.dropChance);
     stream.Read(ref record.term);
 }
 public void LoadRecord(ref SoundEnvironment record, DatasheetStream stream)
 {
     stream.Read(ref record.handle);
     stream.Read(ref record.index);
     stream.Read(ref record.songId);
     stream.Read(ref record.dayAmbienceId);
     stream.Read(ref record.nightAmbienceId);
     stream.Read(ref record.dayEventId);
     stream.Read(ref record.nightEventId);
     stream.Read(ref record._eventDelay);
     stream.Read(ref record.indoors);
     stream.Read(ref record.material1);
     stream.Read(ref record.material2);
     stream.Read(ref record.EAXEnviron);
     stream.Read(ref record.EAXEnvSize);
     stream.Read(ref record.EAXEnvDiff);
     stream.Read(ref record.EAXRoomVol);
     stream.Read(ref record.EAXRoomHF);
     stream.Read(ref record.EAXDecayTime);
     stream.Read(ref record.EAXDecayHF);
     stream.Read(ref record.EAXReflect);
     stream.Read(ref record.EAXReflectDelay);
     stream.Read(ref record.EAXReverb);
     stream.Read(ref record.EAXRevDelay);
     stream.Read(ref record.EAXRoomRoll);
     stream.Read(ref record.EAXAirAbsorb);
 }
Esempio n. 18
0
 public void LoadRecord(ref SpawnPreset record, DatasheetStream stream)
 {
     stream.Read(ref record.act);
     stream.Read(ref record.type);
     stream.Read(ref record.id);
     stream.Read(ref record.description);
     stream.Read(ref record.objectId);
     stream.Read(ref record.monstatId);
     stream.Read(ref record.direction);
     stream.Read(ref record._base);
     stream.Read(ref record.token);
     stream.Read(ref record.mode);
     stream.Read(ref record.weaponClass);
     record.gear = new string[16];
     stream.Read(ref record.gear[0]);
     stream.Read(ref record.gear[1]);
     stream.Read(ref record.gear[2]);
     stream.Read(ref record.gear[3]);
     stream.Read(ref record.gear[4]);
     stream.Read(ref record.gear[5]);
     stream.Read(ref record.gear[6]);
     stream.Read(ref record.gear[7]);
     stream.Read(ref record.gear[8]);
     stream.Read(ref record.gear[9]);
     stream.Read(ref record.gear[10]);
     stream.Read(ref record.gear[11]);
     stream.Read(ref record.gear[12]);
     stream.Read(ref record.gear[13]);
     stream.Read(ref record.gear[14]);
     stream.Read(ref record.gear[15]);
     stream.Read(ref record.colormap);
     stream.Read(ref record.index);
     stream.Read(ref record.eol);
 }
Esempio n. 19
0
 public void LoadRecord(ref StateInfo record, DatasheetStream stream)
 {
     stream.Read(ref record.code);
     stream.Read(ref record.id);
     stream.Read(ref record.group);
     stream.Read(ref record.remhit);
     stream.Read(ref record.nosend);
     stream.Read(ref record.transform);
     stream.Read(ref record.aura);
     stream.Read(ref record.curable);
     stream.Read(ref record.curse);
     stream.Read(ref record.active);
     stream.Read(ref record.immed);
     stream.Read(ref record.restrict);
     stream.Read(ref record.disguise);
     stream.Read(ref record.blue);
     stream.Read(ref record.attblue);
     stream.Read(ref record.damblue);
     stream.Read(ref record.armblue);
     stream.Read(ref record.rfblue);
     stream.Read(ref record.rlblue);
     stream.Read(ref record.rcblue);
     stream.Read(ref record.stambarblue);
     stream.Read(ref record.rpblue);
     stream.Read(ref record.attred);
     stream.Read(ref record.damred);
     stream.Read(ref record.armred);
     stream.Read(ref record.rfred);
     stream.Read(ref record.rlred);
     stream.Read(ref record.rcred);
     stream.Read(ref record.rpred);
     stream.Read(ref record.exp);
     stream.Read(ref record.plrstaydeath);
     stream.Read(ref record.monstaydeath);
     stream.Read(ref record.bossstaydeath);
     stream.Read(ref record.hide);
     stream.Read(ref record.shatter);
     stream.Read(ref record.udead);
     stream.Read(ref record.life);
     stream.Read(ref record.green);
     stream.Read(ref record.pgsv);
     stream.Read(ref record.nooverlays);
     stream.Read(ref record.noclear);
     stream.Read(ref record.bossinv);
     stream.Read(ref record.meleeonly);
     stream.Read(ref record.notondead);
     stream.Read(ref record.overlay1);
     stream.Read(ref record.overlay2);
     stream.Read(ref record.overlay3);
     stream.Read(ref record.overlay4);
     stream.Read(ref record.pgsvoverlay);
     stream.Read(ref record.castoverlay);
     stream.Read(ref record.removerlay);
     stream.Read(ref record.stat);
     stream.Read(ref record.setfunc);
     stream.Read(ref record.remfunc);
     stream.Read(ref record.missile);
     stream.Read(ref record.skill);
     stream.Read(ref record.itemtype);
     stream.Read(ref record.itemtrans);
     stream.Read(ref record.colorpri);
     stream.Read(ref record.colorshift);
     stream.Read(ref record.lightr);
     stream.Read(ref record.lightg);
     stream.Read(ref record.lightb);
     stream.Read(ref record.onsound);
     stream.Read(ref record.offsound);
     stream.Read(ref record.gfxtype);
     stream.Read(ref record.gfxclass);
     stream.Read(ref record.cltevent);
     stream.Read(ref record.clteventfunc);
     stream.Read(ref record.cltactivefunc);
     stream.Read(ref record.srvactivefunc);
     stream.Read(ref record.eol);
 }
Esempio n. 20
0
 public void LoadRecord(ref UniqueItem record, DatasheetStream stream)
 {
     stream.Read(ref record.nameStr);
     stream.Read(ref record.version);
     stream.Read(ref record.enabled);
     stream.Read(ref record.ladder);
     stream.Read(ref record.rarity);
     stream.Read(ref record.noLimit);
     stream.Read(ref record.level);
     stream.Read(ref record.levelReq);
     stream.Read(ref record.code);
     stream.Read(ref record.type);
     stream.Read(ref record.uber);
     stream.Read(ref record.carry1);
     stream.Read(ref record.costMult);
     stream.Read(ref record.costAdd);
     stream.Read(ref record.chrTransform);
     stream.Read(ref record.invTransform);
     stream.Read(ref record.flippyFile);
     stream.Read(ref record.invFile);
     stream.Read(ref record._dropSound);
     stream.Read(ref record._dropSoundFrame);
     stream.Read(ref record._useSound);
     record.props = new UniqueItem.Prop[12];
     uniqueitemproploader.LoadRecord(ref record.props[0], stream);
     uniqueitemproploader.LoadRecord(ref record.props[1], stream);
     uniqueitemproploader.LoadRecord(ref record.props[2], stream);
     uniqueitemproploader.LoadRecord(ref record.props[3], stream);
     uniqueitemproploader.LoadRecord(ref record.props[4], stream);
     uniqueitemproploader.LoadRecord(ref record.props[5], stream);
     uniqueitemproploader.LoadRecord(ref record.props[6], stream);
     uniqueitemproploader.LoadRecord(ref record.props[7], stream);
     uniqueitemproploader.LoadRecord(ref record.props[8], stream);
     uniqueitemproploader.LoadRecord(ref record.props[9], stream);
     uniqueitemproploader.LoadRecord(ref record.props[10], stream);
     uniqueitemproploader.LoadRecord(ref record.props[11], stream);
     stream.Read(ref record.eol);
 }
Esempio n. 21
0
 public void LoadRecord(ref LevelType record, DatasheetStream stream)
 {
     stream.Read(ref record.name);
     stream.Read(ref record.id);
     record.files = new string[32];
     stream.Read(ref record.files[0]);
     stream.Read(ref record.files[1]);
     stream.Read(ref record.files[2]);
     stream.Read(ref record.files[3]);
     stream.Read(ref record.files[4]);
     stream.Read(ref record.files[5]);
     stream.Read(ref record.files[6]);
     stream.Read(ref record.files[7]);
     stream.Read(ref record.files[8]);
     stream.Read(ref record.files[9]);
     stream.Read(ref record.files[10]);
     stream.Read(ref record.files[11]);
     stream.Read(ref record.files[12]);
     stream.Read(ref record.files[13]);
     stream.Read(ref record.files[14]);
     stream.Read(ref record.files[15]);
     stream.Read(ref record.files[16]);
     stream.Read(ref record.files[17]);
     stream.Read(ref record.files[18]);
     stream.Read(ref record.files[19]);
     stream.Read(ref record.files[20]);
     stream.Read(ref record.files[21]);
     stream.Read(ref record.files[22]);
     stream.Read(ref record.files[23]);
     stream.Read(ref record.files[24]);
     stream.Read(ref record.files[25]);
     stream.Read(ref record.files[26]);
     stream.Read(ref record.files[27]);
     stream.Read(ref record.files[28]);
     stream.Read(ref record.files[29]);
     stream.Read(ref record.files[30]);
     stream.Read(ref record.files[31]);
     stream.Read(ref record.beta);
     stream.Read(ref record.act);
 }
Esempio n. 22
0
 public void LoadRecord(ref LevelInfo record, DatasheetStream stream)
 {
     stream.Read(ref record.name);
     stream.Read(ref record.id);
     stream.Read(ref record.pal);
     stream.Read(ref record.act);
     stream.Read(ref record.questFlag);
     stream.Read(ref record.questFlagEx);
     stream.Read(ref record.layer);
     stream.Read(ref record.sizeX);
     stream.Read(ref record.sizeY);
     stream.Read(ref record.sizeXNightmare);
     stream.Read(ref record.sizeYNightmare);
     stream.Read(ref record.sizeXHell);
     stream.Read(ref record.sizeYHell);
     stream.Read(ref record.offsetX);
     stream.Read(ref record.offsetY);
     stream.Read(ref record.depend);
     stream.Read(ref record.teleport);
     stream.Read(ref record.rain);
     stream.Read(ref record.mud);
     stream.Read(ref record.noPer);
     stream.Read(ref record.LOSDraw);
     stream.Read(ref record.floorFilter);
     stream.Read(ref record.blankScreen);
     stream.Read(ref record.drawEdges);
     stream.Read(ref record.isInside);
     stream.Read(ref record.drlgType);
     stream.Read(ref record.levelTypeIndex);
     stream.Read(ref record.subType);
     stream.Read(ref record.subTheme);
     stream.Read(ref record.subWaypoint);
     stream.Read(ref record.subShrine);
     record.vis = new int[8];
     stream.Read(ref record.vis[0]);
     stream.Read(ref record.vis[1]);
     stream.Read(ref record.vis[2]);
     stream.Read(ref record.vis[3]);
     stream.Read(ref record.vis[4]);
     stream.Read(ref record.vis[5]);
     stream.Read(ref record.vis[6]);
     stream.Read(ref record.vis[7]);
     record.warp = new int[8];
     stream.Read(ref record.warp[0]);
     stream.Read(ref record.warp[1]);
     stream.Read(ref record.warp[2]);
     stream.Read(ref record.warp[3]);
     stream.Read(ref record.warp[4]);
     stream.Read(ref record.warp[5]);
     stream.Read(ref record.warp[6]);
     stream.Read(ref record.warp[7]);
     stream.Read(ref record.intensity);
     stream.Read(ref record.red);
     stream.Read(ref record.green);
     stream.Read(ref record.blue);
     stream.Read(ref record.portal);
     stream.Read(ref record.position);
     stream.Read(ref record.saveMonsters);
     stream.Read(ref record.quest);
     stream.Read(ref record.warpDist);
     record.monLvl = new int[3];
     stream.Read(ref record.monLvl[0]);
     stream.Read(ref record.monLvl[1]);
     stream.Read(ref record.monLvl[2]);
     record.monLvlEx = new int[3];
     stream.Read(ref record.monLvlEx[0]);
     stream.Read(ref record.monLvlEx[1]);
     stream.Read(ref record.monLvlEx[2]);
     record.monDen = new int[3];
     stream.Read(ref record.monDen[0]);
     stream.Read(ref record.monDen[1]);
     stream.Read(ref record.monDen[2]);
     stream.Read(ref record.monUMin);
     stream.Read(ref record.monUMax);
     stream.Read(ref record.monUMinNightmare);
     stream.Read(ref record.monUMaxNightmare);
     stream.Read(ref record.monUMinHell);
     stream.Read(ref record.monUMaxHell);
     stream.Read(ref record.monWndr);
     stream.Read(ref record.monSpcWalk);
     stream.Read(ref record.numMon);
     record._monsters = new string[10];
     stream.Read(ref record._monsters[0]);
     stream.Read(ref record._monsters[1]);
     stream.Read(ref record._monsters[2]);
     stream.Read(ref record._monsters[3]);
     stream.Read(ref record._monsters[4]);
     stream.Read(ref record._monsters[5]);
     stream.Read(ref record._monsters[6]);
     stream.Read(ref record._monsters[7]);
     stream.Read(ref record._monsters[8]);
     stream.Read(ref record._monsters[9]);
     stream.Read(ref record.rangedspawn);
     record.nMonsters = new string[10];
     stream.Read(ref record.nMonsters[0]);
     stream.Read(ref record.nMonsters[1]);
     stream.Read(ref record.nMonsters[2]);
     stream.Read(ref record.nMonsters[3]);
     stream.Read(ref record.nMonsters[4]);
     stream.Read(ref record.nMonsters[5]);
     stream.Read(ref record.nMonsters[6]);
     stream.Read(ref record.nMonsters[7]);
     stream.Read(ref record.nMonsters[8]);
     stream.Read(ref record.nMonsters[9]);
     record.uMonsters = new string[10];
     stream.Read(ref record.uMonsters[0]);
     stream.Read(ref record.uMonsters[1]);
     stream.Read(ref record.uMonsters[2]);
     stream.Read(ref record.uMonsters[3]);
     stream.Read(ref record.uMonsters[4]);
     stream.Read(ref record.uMonsters[5]);
     stream.Read(ref record.uMonsters[6]);
     stream.Read(ref record.uMonsters[7]);
     stream.Read(ref record.uMonsters[8]);
     stream.Read(ref record.uMonsters[9]);
     record.cmon = new string[4];
     stream.Read(ref record.cmon[0]);
     stream.Read(ref record.cmon[1]);
     stream.Read(ref record.cmon[2]);
     stream.Read(ref record.cmon[3]);
     record.cpct = new int[4];
     stream.Read(ref record.cpct[0]);
     stream.Read(ref record.cpct[1]);
     stream.Read(ref record.cpct[2]);
     stream.Read(ref record.cpct[3]);
     record.camt = new int[4];
     stream.Read(ref record.camt[0]);
     stream.Read(ref record.camt[1]);
     stream.Read(ref record.camt[2]);
     stream.Read(ref record.camt[3]);
     stream.Read(ref record.themes);
     stream.Read(ref record.soundEnvId);
     stream.Read(ref record.waypoint);
     stream.Read(ref record.levelName);
     stream.Read(ref record.levelWarp);
     stream.Read(ref record._entryFile);
     record.objGrp = new int[8];
     stream.Read(ref record.objGrp[0]);
     stream.Read(ref record.objGrp[1]);
     stream.Read(ref record.objGrp[2]);
     stream.Read(ref record.objGrp[3]);
     stream.Read(ref record.objGrp[4]);
     stream.Read(ref record.objGrp[5]);
     stream.Read(ref record.objGrp[6]);
     stream.Read(ref record.objGrp[7]);
     record.objPrb = new int[8];
     stream.Read(ref record.objPrb[0]);
     stream.Read(ref record.objPrb[1]);
     stream.Read(ref record.objPrb[2]);
     stream.Read(ref record.objPrb[3]);
     stream.Read(ref record.objPrb[4]);
     stream.Read(ref record.objPrb[5]);
     stream.Read(ref record.objPrb[6]);
     stream.Read(ref record.objPrb[7]);
     stream.Read(ref record.beta);
 }
Esempio n. 23
0
 public void LoadRecord(ref MagicAffix record, DatasheetStream stream)
 {
     stream.Read(ref record.nameStr);
     stream.Read(ref record.version);
     stream.Read(ref record.spawnable);
     stream.Read(ref record.rare);
     stream.Read(ref record.level);
     stream.Read(ref record.maxlevel);
     stream.Read(ref record.levelReq);
     stream.Read(ref record.classSpecific);
     stream.Read(ref record.classCode);
     stream.Read(ref record.classlevelreq);
     stream.Read(ref record.frequency);
     stream.Read(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);
     stream.Read(ref record.transform);
     stream.Read(ref record.transformcolor);
     record.itemTypes = new string[7];
     stream.Read(ref record.itemTypes[0]);
     stream.Read(ref record.itemTypes[1]);
     stream.Read(ref record.itemTypes[2]);
     stream.Read(ref record.itemTypes[3]);
     stream.Read(ref record.itemTypes[4]);
     stream.Read(ref record.itemTypes[5]);
     stream.Read(ref record.itemTypes[6]);
     record.excludeItemTypes = new string[5];
     stream.Read(ref record.excludeItemTypes[0]);
     stream.Read(ref record.excludeItemTypes[1]);
     stream.Read(ref record.excludeItemTypes[2]);
     stream.Read(ref record.excludeItemTypes[3]);
     stream.Read(ref record.excludeItemTypes[4]);
     stream.Read(ref record.divide);
     stream.Read(ref record.multiply);
     stream.Read(ref record.add);
 }
Esempio n. 24
0
 public void LoadRecord(ref MissileInfo.Param record, DatasheetStream stream)
 {
     stream.Read(ref record.value);
     stream.Read(ref record.description);
 }
Esempio n. 25
0
 public void LoadRecord(ref WeaponInfo record, DatasheetStream stream)
 {
     stream.Read(ref record._name);
     stream.Read(ref record._type1);
     stream.Read(ref record._type2);
     stream.Read(ref record._code);
     stream.Read(ref record._alternateGfx);
     stream.Read(ref record.nameStr);
     stream.Read(ref record.version);
     stream.Read(ref record.compactSave);
     stream.Read(ref record.rarity);
     stream.Read(ref record.spawnable);
     stream.Read(ref record.minDamage);
     stream.Read(ref record.maxDamage);
     stream.Read(ref record.oneOrTwoHanded);
     stream.Read(ref record.twoHanded);
     stream.Read(ref record.twoHandedMinDamage);
     stream.Read(ref record.twoHandedMaxDamage);
     stream.Read(ref record.missileMinDamage);
     stream.Read(ref record.missileMaxDamage);
     stream.Read(ref record.unknown);
     stream.Read(ref record.rangeAdder);
     stream.Read(ref record.speed);
     stream.Read(ref record.strBonus);
     stream.Read(ref record.dexBonus);
     stream.Read(ref record.reqStr);
     stream.Read(ref record.reqDex);
     stream.Read(ref record.durability);
     stream.Read(ref record.noDurability);
     stream.Read(ref record._level);
     stream.Read(ref record._levelReq);
     stream.Read(ref record._cost);
     stream.Read(ref record._gambleCost);
     stream.Read(ref record._magicLvl);
     stream.Read(ref record.autoPrefix);
     stream.Read(ref record.openBetaGfx);
     stream.Read(ref record._normCode);
     stream.Read(ref record._uberCode);
     stream.Read(ref record._ultraCode);
     stream.Read(ref record.wClass);
     stream.Read(ref record.twoHandedWClass);
     stream.Read(ref record._component);
     stream.Read(ref record._hitClass);
     stream.Read(ref record._invWidth);
     stream.Read(ref record._invHeight);
     stream.Read(ref record._stackable);
     stream.Read(ref record.minStack);
     stream.Read(ref record.maxStack);
     stream.Read(ref record.spawnStack);
     stream.Read(ref record._flippyFile);
     stream.Read(ref record._invFile);
     stream.Read(ref record._uniqueInvFile);
     stream.Read(ref record._setInvFile);
     stream.Read(ref record._hasInv);
     stream.Read(ref record._gemSockets);
     stream.Read(ref record._gemApplyType);
     stream.Read(ref record.special);
     stream.Read(ref record._useable);
     stream.Read(ref record._dropSound);
     stream.Read(ref record._dropSoundFrame);
     stream.Read(ref record._useSound);
     stream.Read(ref record._alwaysUnique);
     stream.Read(ref record.transparent);
     stream.Read(ref record.transTbl);
     stream.Read(ref record.quivered);
     stream.Read(ref record.lightRadius);
     stream.Read(ref record.belt);
     stream.Read(ref record.quest);
     stream.Read(ref record.questDiffCheck);
     stream.Read(ref record.missileTypeId);
     stream.Read(ref record.durabilityWarning);
     stream.Read(ref record.quantityWarning);
     stream.Read(ref record.gemOffset);
     stream.Read(ref record.bitfield1);
     record.skipped2 = new string[94];
     stream.Read(ref record.skipped2[0]);
     stream.Read(ref record.skipped2[1]);
     stream.Read(ref record.skipped2[2]);
     stream.Read(ref record.skipped2[3]);
     stream.Read(ref record.skipped2[4]);
     stream.Read(ref record.skipped2[5]);
     stream.Read(ref record.skipped2[6]);
     stream.Read(ref record.skipped2[7]);
     stream.Read(ref record.skipped2[8]);
     stream.Read(ref record.skipped2[9]);
     stream.Read(ref record.skipped2[10]);
     stream.Read(ref record.skipped2[11]);
     stream.Read(ref record.skipped2[12]);
     stream.Read(ref record.skipped2[13]);
     stream.Read(ref record.skipped2[14]);
     stream.Read(ref record.skipped2[15]);
     stream.Read(ref record.skipped2[16]);
     stream.Read(ref record.skipped2[17]);
     stream.Read(ref record.skipped2[18]);
     stream.Read(ref record.skipped2[19]);
     stream.Read(ref record.skipped2[20]);
     stream.Read(ref record.skipped2[21]);
     stream.Read(ref record.skipped2[22]);
     stream.Read(ref record.skipped2[23]);
     stream.Read(ref record.skipped2[24]);
     stream.Read(ref record.skipped2[25]);
     stream.Read(ref record.skipped2[26]);
     stream.Read(ref record.skipped2[27]);
     stream.Read(ref record.skipped2[28]);
     stream.Read(ref record.skipped2[29]);
     stream.Read(ref record.skipped2[30]);
     stream.Read(ref record.skipped2[31]);
     stream.Read(ref record.skipped2[32]);
     stream.Read(ref record.skipped2[33]);
     stream.Read(ref record.skipped2[34]);
     stream.Read(ref record.skipped2[35]);
     stream.Read(ref record.skipped2[36]);
     stream.Read(ref record.skipped2[37]);
     stream.Read(ref record.skipped2[38]);
     stream.Read(ref record.skipped2[39]);
     stream.Read(ref record.skipped2[40]);
     stream.Read(ref record.skipped2[41]);
     stream.Read(ref record.skipped2[42]);
     stream.Read(ref record.skipped2[43]);
     stream.Read(ref record.skipped2[44]);
     stream.Read(ref record.skipped2[45]);
     stream.Read(ref record.skipped2[46]);
     stream.Read(ref record.skipped2[47]);
     stream.Read(ref record.skipped2[48]);
     stream.Read(ref record.skipped2[49]);
     stream.Read(ref record.skipped2[50]);
     stream.Read(ref record.skipped2[51]);
     stream.Read(ref record.skipped2[52]);
     stream.Read(ref record.skipped2[53]);
     stream.Read(ref record.skipped2[54]);
     stream.Read(ref record.skipped2[55]);
     stream.Read(ref record.skipped2[56]);
     stream.Read(ref record.skipped2[57]);
     stream.Read(ref record.skipped2[58]);
     stream.Read(ref record.skipped2[59]);
     stream.Read(ref record.skipped2[60]);
     stream.Read(ref record.skipped2[61]);
     stream.Read(ref record.skipped2[62]);
     stream.Read(ref record.skipped2[63]);
     stream.Read(ref record.skipped2[64]);
     stream.Read(ref record.skipped2[65]);
     stream.Read(ref record.skipped2[66]);
     stream.Read(ref record.skipped2[67]);
     stream.Read(ref record.skipped2[68]);
     stream.Read(ref record.skipped2[69]);
     stream.Read(ref record.skipped2[70]);
     stream.Read(ref record.skipped2[71]);
     stream.Read(ref record.skipped2[72]);
     stream.Read(ref record.skipped2[73]);
     stream.Read(ref record.skipped2[74]);
     stream.Read(ref record.skipped2[75]);
     stream.Read(ref record.skipped2[76]);
     stream.Read(ref record.skipped2[77]);
     stream.Read(ref record.skipped2[78]);
     stream.Read(ref record.skipped2[79]);
     stream.Read(ref record.skipped2[80]);
     stream.Read(ref record.skipped2[81]);
     stream.Read(ref record.skipped2[82]);
     stream.Read(ref record.skipped2[83]);
     stream.Read(ref record.skipped2[84]);
     stream.Read(ref record.skipped2[85]);
     stream.Read(ref record.skipped2[86]);
     stream.Read(ref record.skipped2[87]);
     stream.Read(ref record.skipped2[88]);
     stream.Read(ref record.skipped2[89]);
     stream.Read(ref record.skipped2[90]);
     stream.Read(ref record.skipped2[91]);
     stream.Read(ref record.skipped2[92]);
     stream.Read(ref record.skipped2[93]);
 }
Esempio n. 26
0
 public void LoadRecord(ref SuperUnique record, DatasheetStream stream)
 {
     stream.Read(ref record.superUnique);
     stream.Read(ref record.nameStr);
     stream.Read(ref record.monStatId);
     stream.Read(ref record.hcIdx);
     stream.Read(ref record.monSound);
     stream.Read(ref record.mod1);
     stream.Read(ref record.mod2);
     stream.Read(ref record.mod3);
     stream.Read(ref record.minGrp);
     stream.Read(ref record.maxGrp);
     stream.Read(ref record.eClass);
     stream.Read(ref record.autoPos);
     stream.Read(ref record.stacks);
     stream.Read(ref record.replacable);
     record.uTrans = new int[3];
     stream.Read(ref record.uTrans[0]);
     stream.Read(ref record.uTrans[1]);
     stream.Read(ref record.uTrans[2]);
     record.treasureClass = new string[3];
     stream.Read(ref record.treasureClass[0]);
     stream.Read(ref record.treasureClass[1]);
     stream.Read(ref record.treasureClass[2]);
     stream.Read(ref record.eol);
 }
Esempio n. 27
0
 public void LoadRecord(ref CharStatsInfo record, DatasheetStream stream)
 {
     stream.Read(ref record.className);
     stream.Read(ref record.str);
     stream.Read(ref record.dex);
     stream.Read(ref record.energy);
     stream.Read(ref record.vit);
     stream.Read(ref record.tot);
     stream.Read(ref record.stamina);
     stream.Read(ref record.hpAdd);
     stream.Read(ref record.percentStr);
     stream.Read(ref record.percentDex);
     stream.Read(ref record.percentInt);
     stream.Read(ref record.percentVit);
     stream.Read(ref record.manaRegen);
     stream.Read(ref record.toHitFactor);
     stream.Read(ref record.walkVelocity);
     stream.Read(ref record.runVelocity);
     stream.Read(ref record.runDrain);
     stream.Read(ref record.comment);
     stream.Read(ref record.lifePerLevel);
     stream.Read(ref record.staminaPerLevel);
     stream.Read(ref record.manaPerLevel);
     stream.Read(ref record.lifePerVitality);
     stream.Read(ref record.staminPerVitality);
     stream.Read(ref record.manaPerMagic);
     stream.Read(ref record.statPerLevel);
     stream.Read(ref record.refWalk);
     stream.Read(ref record.refRun);
     stream.Read(ref record.refSwing);
     stream.Read(ref record.refSpell);
     stream.Read(ref record.refGetHit);
     stream.Read(ref record.refBow);
     stream.Read(ref record.blockFactor);
     stream.Read(ref record.startSkill);
     record.skills = new string[10];
     stream.Read(ref record.skills[0]);
     stream.Read(ref record.skills[1]);
     stream.Read(ref record.skills[2]);
     stream.Read(ref record.skills[3]);
     stream.Read(ref record.skills[4]);
     stream.Read(ref record.skills[5]);
     stream.Read(ref record.skills[6]);
     stream.Read(ref record.skills[7]);
     stream.Read(ref record.skills[8]);
     stream.Read(ref record.skills[9]);
     stream.Read(ref record.strAllSkills);
     stream.Read(ref record.strSkillTab1);
     stream.Read(ref record.strSkillTab2);
     stream.Read(ref record.strSkillTab3);
     stream.Read(ref record.strClassOnly);
     stream.Read(ref record.baseWClass);
     record.startingItems = new CharStatsInfo.StartingItem[10];
     charstatsinfostartingitemloader.LoadRecord(ref record.startingItems[0], stream);
     charstatsinfostartingitemloader.LoadRecord(ref record.startingItems[1], stream);
     charstatsinfostartingitemloader.LoadRecord(ref record.startingItems[2], stream);
     charstatsinfostartingitemloader.LoadRecord(ref record.startingItems[3], stream);
     charstatsinfostartingitemloader.LoadRecord(ref record.startingItems[4], stream);
     charstatsinfostartingitemloader.LoadRecord(ref record.startingItems[5], stream);
     charstatsinfostartingitemloader.LoadRecord(ref record.startingItems[6], stream);
     charstatsinfostartingitemloader.LoadRecord(ref record.startingItems[7], stream);
     charstatsinfostartingitemloader.LoadRecord(ref record.startingItems[8], stream);
     charstatsinfostartingitemloader.LoadRecord(ref record.startingItems[9], stream);
 }
 public void LoadRecord(ref TreasureClass.Node record, DatasheetStream stream)
 {
     stream.Read(ref record.code);
     stream.Read(ref record.prob);
 }
Esempio n. 29
0
 public void LoadRecord(ref MiscInfo record, DatasheetStream stream)
 {
     stream.Read(ref record.name1);
     stream.Read(ref record.name2);
     stream.Read(ref record.flavorText);
     stream.Read(ref record.compactSave);
     stream.Read(ref record.version);
     stream.Read(ref record._level);
     stream.Read(ref record._levelReq);
     stream.Read(ref record.rarity);
     stream.Read(ref record.spawnable);
     stream.Read(ref record.speed);
     stream.Read(ref record.noDurability);
     stream.Read(ref record._cost);
     stream.Read(ref record._gambleCost);
     stream.Read(ref record._code);
     stream.Read(ref record._alternateGfx);
     stream.Read(ref record.nameStr);
     stream.Read(ref record._component);
     stream.Read(ref record._invWidth);
     stream.Read(ref record._invHeight);
     stream.Read(ref record._hasInv);
     stream.Read(ref record._gemSockets);
     stream.Read(ref record._gemApplyType);
     stream.Read(ref record._flippyFile);
     stream.Read(ref record._invFile);
     stream.Read(ref record._uniqueInvFile);
     stream.Read(ref record.special);
     stream.Read(ref record.transmogrify);
     stream.Read(ref record.tMogType);
     stream.Read(ref record.tMogMin);
     stream.Read(ref record.tMogMax);
     stream.Read(ref record.useable);
     stream.Read(ref record._throwable);
     stream.Read(ref record._type1);
     stream.Read(ref record._type2);
     stream.Read(ref record._dropSound);
     stream.Read(ref record._dropSoundFrame);
     stream.Read(ref record._useSound);
     stream.Read(ref record._alwaysUnique);
     stream.Read(ref record.transparent);
     stream.Read(ref record.transTbl);
     stream.Read(ref record.lightRadius);
     stream.Read(ref record.belt);
     stream.Read(ref record.autobelt);
     stream.Read(ref record.stackable);
     stream.Read(ref record.minStack);
     stream.Read(ref record.maxStack);
     stream.Read(ref record.spawnStack);
     stream.Read(ref record.quest);
     stream.Read(ref record.questDiffCheck);
     stream.Read(ref record.missileType);
     stream.Read(ref record._spellIcon);
     stream.Read(ref record._useFunction);
     stream.Read(ref record.state);
     stream.Read(ref record.cstate1);
     stream.Read(ref record.cstate2);
     stream.Read(ref record._len);
     stream.Read(ref record.stat1);
     stream.Read(ref record.calc1);
     stream.Read(ref record.stat2);
     stream.Read(ref record.calc2);
     stream.Read(ref record.stat3);
     stream.Read(ref record.calc3);
     record.skipped2 = new string[106];
     stream.Read(ref record.skipped2[0]);
     stream.Read(ref record.skipped2[1]);
     stream.Read(ref record.skipped2[2]);
     stream.Read(ref record.skipped2[3]);
     stream.Read(ref record.skipped2[4]);
     stream.Read(ref record.skipped2[5]);
     stream.Read(ref record.skipped2[6]);
     stream.Read(ref record.skipped2[7]);
     stream.Read(ref record.skipped2[8]);
     stream.Read(ref record.skipped2[9]);
     stream.Read(ref record.skipped2[10]);
     stream.Read(ref record.skipped2[11]);
     stream.Read(ref record.skipped2[12]);
     stream.Read(ref record.skipped2[13]);
     stream.Read(ref record.skipped2[14]);
     stream.Read(ref record.skipped2[15]);
     stream.Read(ref record.skipped2[16]);
     stream.Read(ref record.skipped2[17]);
     stream.Read(ref record.skipped2[18]);
     stream.Read(ref record.skipped2[19]);
     stream.Read(ref record.skipped2[20]);
     stream.Read(ref record.skipped2[21]);
     stream.Read(ref record.skipped2[22]);
     stream.Read(ref record.skipped2[23]);
     stream.Read(ref record.skipped2[24]);
     stream.Read(ref record.skipped2[25]);
     stream.Read(ref record.skipped2[26]);
     stream.Read(ref record.skipped2[27]);
     stream.Read(ref record.skipped2[28]);
     stream.Read(ref record.skipped2[29]);
     stream.Read(ref record.skipped2[30]);
     stream.Read(ref record.skipped2[31]);
     stream.Read(ref record.skipped2[32]);
     stream.Read(ref record.skipped2[33]);
     stream.Read(ref record.skipped2[34]);
     stream.Read(ref record.skipped2[35]);
     stream.Read(ref record.skipped2[36]);
     stream.Read(ref record.skipped2[37]);
     stream.Read(ref record.skipped2[38]);
     stream.Read(ref record.skipped2[39]);
     stream.Read(ref record.skipped2[40]);
     stream.Read(ref record.skipped2[41]);
     stream.Read(ref record.skipped2[42]);
     stream.Read(ref record.skipped2[43]);
     stream.Read(ref record.skipped2[44]);
     stream.Read(ref record.skipped2[45]);
     stream.Read(ref record.skipped2[46]);
     stream.Read(ref record.skipped2[47]);
     stream.Read(ref record.skipped2[48]);
     stream.Read(ref record.skipped2[49]);
     stream.Read(ref record.skipped2[50]);
     stream.Read(ref record.skipped2[51]);
     stream.Read(ref record.skipped2[52]);
     stream.Read(ref record.skipped2[53]);
     stream.Read(ref record.skipped2[54]);
     stream.Read(ref record.skipped2[55]);
     stream.Read(ref record.skipped2[56]);
     stream.Read(ref record.skipped2[57]);
     stream.Read(ref record.skipped2[58]);
     stream.Read(ref record.skipped2[59]);
     stream.Read(ref record.skipped2[60]);
     stream.Read(ref record.skipped2[61]);
     stream.Read(ref record.skipped2[62]);
     stream.Read(ref record.skipped2[63]);
     stream.Read(ref record.skipped2[64]);
     stream.Read(ref record.skipped2[65]);
     stream.Read(ref record.skipped2[66]);
     stream.Read(ref record.skipped2[67]);
     stream.Read(ref record.skipped2[68]);
     stream.Read(ref record.skipped2[69]);
     stream.Read(ref record.skipped2[70]);
     stream.Read(ref record.skipped2[71]);
     stream.Read(ref record.skipped2[72]);
     stream.Read(ref record.skipped2[73]);
     stream.Read(ref record.skipped2[74]);
     stream.Read(ref record.skipped2[75]);
     stream.Read(ref record.skipped2[76]);
     stream.Read(ref record.skipped2[77]);
     stream.Read(ref record.skipped2[78]);
     stream.Read(ref record.skipped2[79]);
     stream.Read(ref record.skipped2[80]);
     stream.Read(ref record.skipped2[81]);
     stream.Read(ref record.skipped2[82]);
     stream.Read(ref record.skipped2[83]);
     stream.Read(ref record.skipped2[84]);
     stream.Read(ref record.skipped2[85]);
     stream.Read(ref record.skipped2[86]);
     stream.Read(ref record.skipped2[87]);
     stream.Read(ref record.skipped2[88]);
     stream.Read(ref record.skipped2[89]);
     stream.Read(ref record.skipped2[90]);
     stream.Read(ref record.skipped2[91]);
     stream.Read(ref record.skipped2[92]);
     stream.Read(ref record.skipped2[93]);
     stream.Read(ref record.skipped2[94]);
     stream.Read(ref record.skipped2[95]);
     stream.Read(ref record.skipped2[96]);
     stream.Read(ref record.skipped2[97]);
     stream.Read(ref record.skipped2[98]);
     stream.Read(ref record.skipped2[99]);
     stream.Read(ref record.skipped2[100]);
     stream.Read(ref record.skipped2[101]);
     stream.Read(ref record.skipped2[102]);
     stream.Read(ref record.skipped2[103]);
     stream.Read(ref record.skipped2[104]);
     stream.Read(ref record.skipped2[105]);
 }
Esempio n. 30
0
 public void LoadRecord(ref Translation record, DatasheetStream stream)
 {
     stream.Read(ref record.key);
     stream.Read(ref record.value);
 }