Ejemplo n.º 1
0
 public static Offset <BossData> CreateBossData(FlatBufferBuilder builder,
                                                int bossReleaseSkillID = 0,
                                                int bossComboCount     = 0,
                                                Offset <teamboss_msg.Vector> bossStartAttackPosOffset = default(Offset <teamboss_msg.Vector>),
                                                Offset <teamboss_msg.Vector> bossStartAttackDirOffset = default(Offset <teamboss_msg.Vector>),
                                                long bossStartAttackTimeStamp = 0,
                                                Offset <teamboss_msg.BossSimpleData> simpleDataOffset = default(Offset <teamboss_msg.BossSimpleData>))
 {
     builder.StartObject(6);
     BossData.AddBossStartAttackTimeStamp(builder, bossStartAttackTimeStamp);
     BossData.AddSimpleData(builder, simpleDataOffset);
     BossData.AddBossStartAttackDir(builder, bossStartAttackDirOffset);
     BossData.AddBossStartAttackPos(builder, bossStartAttackPosOffset);
     BossData.AddBossComboCount(builder, bossComboCount);
     BossData.AddBossReleaseSkillID(builder, bossReleaseSkillID);
     return(BossData.EndBossData(builder));
 }
Ejemplo n.º 2
0
 public static BossData GetRootAsBossData(ByteBuffer _bb, BossData obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }