Beispiel #1
0
 public static Offset <MonsterAttrTableVO> CreateMonsterAttrTableVO(FlatBufferBuilder builder,
                                                                    int Id = 0,
                                                                    StringOffset NameOffset = default(StringOffset),
                                                                    int Sex               = 0,
                                                                    int Level             = 0,
                                                                    int Exp               = 0,
                                                                    int Friendly          = 0,
                                                                    int RelaxTime         = 0,
                                                                    int BaseAI            = 0,
                                                                    int ExtendAI          = 0,
                                                                    int Camp              = 0,
                                                                    int DropRadio         = 0,
                                                                    int Tmp               = 0,
                                                                    float MinBlood        = 0.0f,
                                                                    int IsInteraction     = 0,
                                                                    int IsBoss            = 0,
                                                                    int PhyAttack         = 0,
                                                                    int PhyDefense        = 0,
                                                                    int MagicAttack       = 0,
                                                                    int MagicDefense      = 0,
                                                                    int HPLimit           = 0,
                                                                    int MPLimit           = 0,
                                                                    int HPRevert          = 0,
                                                                    int MPRevert          = 0,
                                                                    int HitRate           = 0,
                                                                    int DodgeRate         = 0,
                                                                    int HuiXinRate        = 0,
                                                                    int HuiXinDefense     = 0,
                                                                    int MoveSpeed         = 0,
                                                                    int WalkSpeed         = 0,
                                                                    int AttackSpeed       = 0,
                                                                    int IceAttack         = 0,
                                                                    int IceDefense        = 0,
                                                                    int IceLowerTarget    = 0,
                                                                    int FireAttack        = 0,
                                                                    int FireDefense       = 0,
                                                                    int FireLowerTarget   = 0,
                                                                    int EleAttack         = 0,
                                                                    int EleDefense        = 0,
                                                                    int EleLowerTarget    = 0,
                                                                    int PoisonAttack      = 0,
                                                                    int PoisonDefense     = 0,
                                                                    int PoisonLowerTarget = 0,
                                                                    int ImmuneMomentID    = 0,
                                                                    int ImmuneContinueID  = 0,
                                                                    int ModelID           = 0,
                                                                    int IsHeader          = 0,
                                                                    int DirType           = 0,
                                                                    float NameHeight      = 0.0f,
                                                                    float CircleSize      = 0.0f,
                                                                    float ShadowSize      = 0.0f,
                                                                    int HeaderID          = 0,
                                                                    int AttackTime        = 0,
                                                                    int AttackCD          = 0,
                                                                    int MaxLv             = 0,
                                                                    int MaxExp            = 0,
                                                                    int MaxAtt            = 0,
                                                                    int MaxDef            = 0,
                                                                    int MaxMag            = 0,
                                                                    int MaxRes            = 0,
                                                                    int MaxHP             = 0,
                                                                    int IsInMinimap       = 0,
                                                                    int ForceID           = 0,
                                                                    int AttackAttribeID   = 0,
                                                                    int IsAttackNPC       = 0,
                                                                    int IsPlayAction      = 0,
                                                                    int ViewType          = 0,
                                                                    int IntensityType     = 0,
                                                                    int InteractiveType   = 0,
                                                                    int ActiveCD          = 0,
                                                                    int CombatType        = 0,
                                                                    int SpecialActionTime = 0,
                                                                    int TriggerSkillID    = 0,
                                                                    int hitFly            = 0,
                                                                    int bodyID            = 0,
                                                                    int SpecialBirth      = 0,
                                                                    int SpecialActionID   = 0,
                                                                    int nSwearValue       = 0,
                                                                    int IsCount           = 0,
                                                                    int nLoveValue        = 0,
                                                                    int IsRobot           = 0)
 {
     builder.StartObject(80);
     MonsterAttrTableVO.AddIsRobot(builder, IsRobot);
     MonsterAttrTableVO.AddNLoveValue(builder, nLoveValue);
     MonsterAttrTableVO.AddIsCount(builder, IsCount);
     MonsterAttrTableVO.AddNSwearValue(builder, nSwearValue);
     MonsterAttrTableVO.AddSpecialActionID(builder, SpecialActionID);
     MonsterAttrTableVO.AddSpecialBirth(builder, SpecialBirth);
     MonsterAttrTableVO.AddBodyID(builder, bodyID);
     MonsterAttrTableVO.AddHitFly(builder, hitFly);
     MonsterAttrTableVO.AddTriggerSkillID(builder, TriggerSkillID);
     MonsterAttrTableVO.AddSpecialActionTime(builder, SpecialActionTime);
     MonsterAttrTableVO.AddCombatType(builder, CombatType);
     MonsterAttrTableVO.AddActiveCD(builder, ActiveCD);
     MonsterAttrTableVO.AddInteractiveType(builder, InteractiveType);
     MonsterAttrTableVO.AddIntensityType(builder, IntensityType);
     MonsterAttrTableVO.AddViewType(builder, ViewType);
     MonsterAttrTableVO.AddIsPlayAction(builder, IsPlayAction);
     MonsterAttrTableVO.AddIsAttackNPC(builder, IsAttackNPC);
     MonsterAttrTableVO.AddAttackAttribeID(builder, AttackAttribeID);
     MonsterAttrTableVO.AddForceID(builder, ForceID);
     MonsterAttrTableVO.AddIsInMinimap(builder, IsInMinimap);
     MonsterAttrTableVO.AddMaxHP(builder, MaxHP);
     MonsterAttrTableVO.AddMaxRes(builder, MaxRes);
     MonsterAttrTableVO.AddMaxMag(builder, MaxMag);
     MonsterAttrTableVO.AddMaxDef(builder, MaxDef);
     MonsterAttrTableVO.AddMaxAtt(builder, MaxAtt);
     MonsterAttrTableVO.AddMaxExp(builder, MaxExp);
     MonsterAttrTableVO.AddMaxLv(builder, MaxLv);
     MonsterAttrTableVO.AddAttackCD(builder, AttackCD);
     MonsterAttrTableVO.AddAttackTime(builder, AttackTime);
     MonsterAttrTableVO.AddHeaderID(builder, HeaderID);
     MonsterAttrTableVO.AddShadowSize(builder, ShadowSize);
     MonsterAttrTableVO.AddCircleSize(builder, CircleSize);
     MonsterAttrTableVO.AddNameHeight(builder, NameHeight);
     MonsterAttrTableVO.AddDirType(builder, DirType);
     MonsterAttrTableVO.AddIsHeader(builder, IsHeader);
     MonsterAttrTableVO.AddModelID(builder, ModelID);
     MonsterAttrTableVO.AddImmuneContinueID(builder, ImmuneContinueID);
     MonsterAttrTableVO.AddImmuneMomentID(builder, ImmuneMomentID);
     MonsterAttrTableVO.AddPoisonLowerTarget(builder, PoisonLowerTarget);
     MonsterAttrTableVO.AddPoisonDefense(builder, PoisonDefense);
     MonsterAttrTableVO.AddPoisonAttack(builder, PoisonAttack);
     MonsterAttrTableVO.AddEleLowerTarget(builder, EleLowerTarget);
     MonsterAttrTableVO.AddEleDefense(builder, EleDefense);
     MonsterAttrTableVO.AddEleAttack(builder, EleAttack);
     MonsterAttrTableVO.AddFireLowerTarget(builder, FireLowerTarget);
     MonsterAttrTableVO.AddFireDefense(builder, FireDefense);
     MonsterAttrTableVO.AddFireAttack(builder, FireAttack);
     MonsterAttrTableVO.AddIceLowerTarget(builder, IceLowerTarget);
     MonsterAttrTableVO.AddIceDefense(builder, IceDefense);
     MonsterAttrTableVO.AddIceAttack(builder, IceAttack);
     MonsterAttrTableVO.AddAttackSpeed(builder, AttackSpeed);
     MonsterAttrTableVO.AddWalkSpeed(builder, WalkSpeed);
     MonsterAttrTableVO.AddMoveSpeed(builder, MoveSpeed);
     MonsterAttrTableVO.AddHuiXinDefense(builder, HuiXinDefense);
     MonsterAttrTableVO.AddHuiXinRate(builder, HuiXinRate);
     MonsterAttrTableVO.AddDodgeRate(builder, DodgeRate);
     MonsterAttrTableVO.AddHitRate(builder, HitRate);
     MonsterAttrTableVO.AddMPRevert(builder, MPRevert);
     MonsterAttrTableVO.AddHPRevert(builder, HPRevert);
     MonsterAttrTableVO.AddMPLimit(builder, MPLimit);
     MonsterAttrTableVO.AddHPLimit(builder, HPLimit);
     MonsterAttrTableVO.AddMagicDefense(builder, MagicDefense);
     MonsterAttrTableVO.AddMagicAttack(builder, MagicAttack);
     MonsterAttrTableVO.AddPhyDefense(builder, PhyDefense);
     MonsterAttrTableVO.AddPhyAttack(builder, PhyAttack);
     MonsterAttrTableVO.AddIsBoss(builder, IsBoss);
     MonsterAttrTableVO.AddIsInteraction(builder, IsInteraction);
     MonsterAttrTableVO.AddMinBlood(builder, MinBlood);
     MonsterAttrTableVO.AddTmp(builder, Tmp);
     MonsterAttrTableVO.AddDropRadio(builder, DropRadio);
     MonsterAttrTableVO.AddCamp(builder, Camp);
     MonsterAttrTableVO.AddExtendAI(builder, ExtendAI);
     MonsterAttrTableVO.AddBaseAI(builder, BaseAI);
     MonsterAttrTableVO.AddRelaxTime(builder, RelaxTime);
     MonsterAttrTableVO.AddFriendly(builder, Friendly);
     MonsterAttrTableVO.AddExp(builder, Exp);
     MonsterAttrTableVO.AddLevel(builder, Level);
     MonsterAttrTableVO.AddSex(builder, Sex);
     MonsterAttrTableVO.AddName(builder, NameOffset);
     MonsterAttrTableVO.AddId(builder, Id);
     return(MonsterAttrTableVO.EndMonsterAttrTableVO(builder));
 }