39 lines
1.5 KiB
C#
39 lines
1.5 KiB
C#
// <auto-generated>
|
|
// automatically generated by the FlatBuffers compiler, do not modify
|
|
// </auto-generated>
|
|
|
|
namespace sd.graph
|
|
{
|
|
|
|
using global::System;
|
|
using global::FlatBuffers;
|
|
|
|
public struct FlatDropRequest : IFlatbufferObject
|
|
{
|
|
private Table __p;
|
|
public ByteBuffer ByteBuffer { get { return __p.bb; } }
|
|
public static FlatDropRequest GetRootAsFlatDropRequest(ByteBuffer _bb) { return GetRootAsFlatDropRequest(_bb, new FlatDropRequest()); }
|
|
public static FlatDropRequest GetRootAsFlatDropRequest(ByteBuffer _bb, FlatDropRequest obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
|
|
public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
|
|
public FlatDropRequest __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
|
|
|
|
public long Id { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
|
|
|
|
public static Offset<FlatDropRequest> CreateFlatDropRequest(FlatBufferBuilder builder,
|
|
long id = 0) {
|
|
builder.StartObject(1);
|
|
FlatDropRequest.AddId(builder, id);
|
|
return FlatDropRequest.EndFlatDropRequest(builder);
|
|
}
|
|
|
|
public static void StartFlatDropRequest(FlatBufferBuilder builder) { builder.StartObject(1); }
|
|
public static void AddId(FlatBufferBuilder builder, long id) { builder.AddLong(0, id, 0); }
|
|
public static Offset<FlatDropRequest> EndFlatDropRequest(FlatBufferBuilder builder) {
|
|
int o = builder.EndObject();
|
|
return new Offset<FlatDropRequest>(o);
|
|
}
|
|
};
|
|
|
|
|
|
}
|