public static Offset <Notify_EnterSuccess> CreateNotify_EnterSuccess(FlatBufferBuilder builder, Offset <Hero> heroOffset = default(Offset <Hero>), Offset <MapData> map_dataOffset = default(Offset <MapData>)) { builder.StartObject(2); Notify_EnterSuccess.AddMapData(builder, map_dataOffset); Notify_EnterSuccess.AddHero(builder, heroOffset); return(Notify_EnterSuccess.EndNotify_EnterSuccess(builder)); }
public static Notify_EnterSuccess GetRootAsNotify_EnterSuccess(ByteBuffer _bb, Notify_EnterSuccess obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }