コード例 #1
0
                void IProgressListener.SetProgress(Promise sender, UnsignedFixed32 progress)
                {
                    uint dif = progress.ToUInt32() - _currentProgress.ToUInt32();

                    _currentProgress = progress;
                    Target.IncrementProgress(dif, progress, Owner._waitDepthAndProgress);
                }
コード例 #2
0
 void IProgressListener.SetInitialAmount(UnsignedFixed32 amount)
 {
     Target.IncrementProgress(amount.ToUInt32(), amount, Owner._waitDepthAndProgress);
 }
コード例 #3
0
 void IProgressListener.SetInitialProgress(UnsignedFixed32 progress)
 {
     _currentProgress = progress;
     Target.IncrementProgress(progress.ToUInt32(), progress, Owner._waitDepthAndProgress);
 }