Exemple #1
0
 private static extern void EncodeAuthRespNative(
     IntPtr auth,
     ref AuthReqNative req,
     uint reqId,
     [MarshalAs(UnmanagedType.U1)] bool isGranted,
     IntPtr userData,
     FfiResultStringCb oCb);
Exemple #2
0
 public AuthReq(AuthReqNative native)
 {
     App          = native.App;
     AppContainer = native.AppContainer;
     Containers   =
         BindingUtils.CopyToObjectList <ContainerPermissions>(native.ContainersPtr, (int)native.ContainersLen);
 }
 public AuthReq(AuthReqNative native)
 {
     App          = native.App;
     AppContainer = native.AppContainer;
     AppPermissionTransferCoins    = native.AppPermissionTransferCoins;
     AppPermissionPerformMutations = native.AppPermissionPerformMutations;
     AppPermissionGetBalance       = native.AppPermissionGetBalance;
     Containers =
         BindingUtils.CopyToObjectList <ContainerPermissions>(native.ContainersPtr, (int)native.ContainersLen);
 }