public static Offset <FBComponent> CreateFBComponent(FlatBufferBuilder builder, Offset <FBUID> idOffset = default(Offset <FBUID>), Offset <FBUID> entityOffset = default(Offset <FBUID>), bool wasConstructed = false) { builder.StartObject(3); FBComponent.AddEntity(builder, entityOffset); FBComponent.AddId(builder, idOffset); FBComponent.AddWasConstructed(builder, wasConstructed); return(FBComponent.EndFBComponent(builder)); }
public static FBComponent GetRootAsFBComponent(ByteBuffer _bb, FBComponent obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }