Пример #1
0
 public static Offset <ModifyMosaicLevyTransactionBuffer> CreateModifyMosaicLevyTransactionBuffer(FlatBufferBuilder builder,
                                                                                                  uint size = 0,
                                                                                                  VectorOffset signatureOffset = default(VectorOffset),
                                                                                                  VectorOffset signerOffset    = default(VectorOffset),
                                                                                                  uint version = 0,
                                                                                                  ushort type  = 0,
                                                                                                  VectorOffset maxFeeOffset      = default(VectorOffset),
                                                                                                  VectorOffset deadlineOffset    = default(VectorOffset),
                                                                                                  VectorOffset mosaicIdOffset    = default(VectorOffset),
                                                                                                  Offset <MosaicLevy> levyOffset = default(Offset <MosaicLevy>))
 {
     builder.StartObject(9);
     ModifyMosaicLevyTransactionBuffer.AddLevy(builder, levyOffset);
     ModifyMosaicLevyTransactionBuffer.AddMosaicId(builder, mosaicIdOffset);
     ModifyMosaicLevyTransactionBuffer.AddDeadline(builder, deadlineOffset);
     ModifyMosaicLevyTransactionBuffer.AddMaxFee(builder, maxFeeOffset);
     ModifyMosaicLevyTransactionBuffer.AddVersion(builder, version);
     ModifyMosaicLevyTransactionBuffer.AddSigner(builder, signerOffset);
     ModifyMosaicLevyTransactionBuffer.AddSignature(builder, signatureOffset);
     ModifyMosaicLevyTransactionBuffer.AddSize(builder, size);
     ModifyMosaicLevyTransactionBuffer.AddType(builder, type);
     return(ModifyMosaicLevyTransactionBuffer.EndModifyMosaicLevyTransactionBuffer(builder));
 }
Пример #2
0
 public static ModifyMosaicLevyTransactionBuffer GetRootAsModifyMosaicLevyTransactionBuffer(ByteBuffer _bb, ModifyMosaicLevyTransactionBuffer obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }