예제 #1
0
 public static Offset <AccountPropertiesTransactionBuffer> CreateAccountPropertiesTransactionBuffer(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),
                                                                                                    byte propertyType                = 0,
                                                                                                    byte modificationCount           = 0,
                                                                                                    VectorOffset modificationsOffset = default(VectorOffset))
 {
     builder.StartObject(10);
     AccountPropertiesTransactionBuffer.AddModifications(builder, modificationsOffset);
     AccountPropertiesTransactionBuffer.AddDeadline(builder, deadlineOffset);
     AccountPropertiesTransactionBuffer.AddMaxFee(builder, maxFeeOffset);
     AccountPropertiesTransactionBuffer.AddVersion(builder, version);
     AccountPropertiesTransactionBuffer.AddSigner(builder, signerOffset);
     AccountPropertiesTransactionBuffer.AddSignature(builder, signatureOffset);
     AccountPropertiesTransactionBuffer.AddSize(builder, size);
     AccountPropertiesTransactionBuffer.AddType(builder, type);
     AccountPropertiesTransactionBuffer.AddModificationCount(builder, modificationCount);
     AccountPropertiesTransactionBuffer.AddPropertyType(builder, propertyType);
     return(AccountPropertiesTransactionBuffer.EndAccountPropertiesTransactionBuffer(builder));
 }
예제 #2
0
 public static AccountPropertiesTransactionBuffer GetRootAsAccountPropertiesTransactionBuffer(ByteBuffer _bb, AccountPropertiesTransactionBuffer obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }