public static Offset <NetQuantum> CreateNetQuantum(FlatBufferBuilder builder, AllMessages message_type = AllMessages.NONE, int messageOffset = 0) { builder.StartObject(2); NetQuantum.AddMessage(builder, messageOffset); NetQuantum.AddMessageType(builder, message_type); return(NetQuantum.EndNetQuantum(builder)); }
public static NetQuantum GetRootAsNetQuantum(ByteBuffer _bb, NetQuantum obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }