public static Offset <PurchaseSoftwareResultMessage> CreatePurchaseSoftwareResultMessage(FlatBufferBuilder builder, PurchaseSoftwareResult success = PurchaseSoftwareResult.Success) { builder.StartObject(1); PurchaseSoftwareResultMessage.AddSuccess(builder, success); return(PurchaseSoftwareResultMessage.EndPurchaseSoftwareResultMessage(builder)); }
public static PurchaseSoftwareResultMessage GetRootAsPurchaseSoftwareResultMessage(ByteBuffer _bb, PurchaseSoftwareResultMessage obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }