public static Offset <Reply_CreateHeroSuccess> CreateReply_CreateHeroSuccess(FlatBufferBuilder builder, Offset <Hero> heroOffset = default(Offset <Hero>)) { builder.StartObject(1); Reply_CreateHeroSuccess.AddHero(builder, heroOffset); return(Reply_CreateHeroSuccess.EndReply_CreateHeroSuccess(builder)); }
public static Reply_CreateHeroSuccess GetRootAsReply_CreateHeroSuccess(ByteBuffer _bb, Reply_CreateHeroSuccess obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }