Пример #1
0
 public static Offset <AccountInfo> CreateAccountInfo(FlatBufferBuilder builder,
                                                      int idx = 0,
                                                      StringOffset accountIdOffset = default(StringOffset),
                                                      int avatarId = 0,
                                                      uint corpLv  = 0,
                                                      uint corpXp  = 0,
                                                      VectorOffset arousalsOffset = default(VectorOffset),
                                                      VectorOffset skillsOffset   = default(VectorOffset),
                                                      VectorOffset skillpsOffset  = default(VectorOffset),
                                                      VectorOffset heroStarOffset = default(VectorOffset),
                                                      VectorOffset heroLvOffset   = default(VectorOffset),
                                                      StringOffset nameOffset     = default(StringOffset),
                                                      uint vip = 0,
                                                      VectorOffset avatarlockedsOffset = default(VectorOffset),
                                                      int gs                             = 0,
                                                      long pvpScore                      = 0,
                                                      int pvpRank                        = 0,
                                                      VectorOffset equipsOffset          = default(VectorOffset),
                                                      VectorOffset equipUpgradeOffset    = default(VectorOffset),
                                                      VectorOffset equipStarOffset       = default(VectorOffset),
                                                      VectorOffset avatarEquipsOffset    = default(VectorOffset),
                                                      VectorOffset allFashionsOffset     = default(VectorOffset),
                                                      VectorOffset generalsOffset        = default(VectorOffset),
                                                      VectorOffset genstarOffset         = default(VectorOffset),
                                                      VectorOffset genrelsOffset         = default(VectorOffset),
                                                      VectorOffset genrellvOffset        = default(VectorOffset),
                                                      VectorOffset avatarJadeOffset      = default(VectorOffset),
                                                      VectorOffset destGeneralJadeOffset = default(VectorOffset),
                                                      int dg                             = 0,
                                                      int dglv                           = 0,
                                                      VectorOffset dgssOffset            = default(VectorOffset),
                                                      StringOffset guuidOffset           = default(StringOffset),
                                                      StringOffset gnameOffset           = default(StringOffset),
                                                      int gpos                           = 0,
                                                      StringOffset postOffset            = default(StringOffset),
                                                      long postt                         = 0,
                                                      VectorOffset pskillidOffset        = default(VectorOffset),
                                                      VectorOffset cskillidOffset        = default(VectorOffset),
                                                      VectorOffset tskillidOffset        = default(VectorOffset),
                                                      StringOffset titleOffset           = default(StringOffset),
                                                      VectorOffset titlesOffset          = default(VectorOffset),
                                                      Offset <Attr> heroAttrOffset       = default(Offset <Attr>),
                                                      int heroSwing                      = 0)
 {
     builder.StartObject(42);
     AccountInfo.AddPostt(builder, postt);
     AccountInfo.AddPvpScore(builder, pvpScore);
     AccountInfo.AddHeroSwing(builder, heroSwing);
     AccountInfo.AddHeroAttr(builder, heroAttrOffset);
     AccountInfo.AddTitles(builder, titlesOffset);
     AccountInfo.AddTitle(builder, titleOffset);
     AccountInfo.AddTskillid(builder, tskillidOffset);
     AccountInfo.AddCskillid(builder, cskillidOffset);
     AccountInfo.AddPskillid(builder, pskillidOffset);
     AccountInfo.AddPost(builder, postOffset);
     AccountInfo.AddGpos(builder, gpos);
     AccountInfo.AddGname(builder, gnameOffset);
     AccountInfo.AddGuuid(builder, guuidOffset);
     AccountInfo.AddDgss(builder, dgssOffset);
     AccountInfo.AddDglv(builder, dglv);
     AccountInfo.AddDg(builder, dg);
     AccountInfo.AddDestGeneralJade(builder, destGeneralJadeOffset);
     AccountInfo.AddAvatarJade(builder, avatarJadeOffset);
     AccountInfo.AddGenrellv(builder, genrellvOffset);
     AccountInfo.AddGenrels(builder, genrelsOffset);
     AccountInfo.AddGenstar(builder, genstarOffset);
     AccountInfo.AddGenerals(builder, generalsOffset);
     AccountInfo.AddAllFashions(builder, allFashionsOffset);
     AccountInfo.AddAvatarEquips(builder, avatarEquipsOffset);
     AccountInfo.AddEquipStar(builder, equipStarOffset);
     AccountInfo.AddEquipUpgrade(builder, equipUpgradeOffset);
     AccountInfo.AddEquips(builder, equipsOffset);
     AccountInfo.AddPvpRank(builder, pvpRank);
     AccountInfo.AddGs(builder, gs);
     AccountInfo.AddAvatarlockeds(builder, avatarlockedsOffset);
     AccountInfo.AddVip(builder, vip);
     AccountInfo.AddName(builder, nameOffset);
     AccountInfo.AddHeroLv(builder, heroLvOffset);
     AccountInfo.AddHeroStar(builder, heroStarOffset);
     AccountInfo.AddSkillps(builder, skillpsOffset);
     AccountInfo.AddSkills(builder, skillsOffset);
     AccountInfo.AddArousals(builder, arousalsOffset);
     AccountInfo.AddCorpXp(builder, corpXp);
     AccountInfo.AddCorpLv(builder, corpLv);
     AccountInfo.AddAvatarId(builder, avatarId);
     AccountInfo.AddAccountId(builder, accountIdOffset);
     AccountInfo.AddIdx(builder, idx);
     return(AccountInfo.EndAccountInfo(builder));
 }