public static Offset <HandFan> CreateHandFan(FlatBufferBuilder builder, int length = 0) { builder.StartTable(1); HandFan.AddLength(builder, length); return(HandFan.EndHandFan(builder)); }
public static int Pack(FlatBuffers.FlatBufferBuilder builder, GadgetUnion _o) { switch (_o.Type) { default: return(0); case Gadget.FallingTub: return(FallingTub.Pack(builder, _o.AsFallingTub()).Value); case Gadget.HandFan: return(HandFan.Pack(builder, _o.AsHandFan()).Value); } }
public static HandFan GetRootAsHandFan(ByteBuffer _bb, HandFan obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }