Пример #1
0
 public RCODE reportOpenRflFile(
     ref RestoreAction peRestoreAction,
     uint uiFileNum)
 {
     peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
     return(RCODE.NE_XFLM_OK);
 }
Пример #2
0
 public RCODE reportEnableEncryption(
     ref RestoreAction peRestoreAction,
     ulong ulTransId)
 {
     peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
     return(RCODE.NE_XFLM_OK);
 }
Пример #3
0
 public RCODE reportRollOverDbKey(
     ref RestoreAction peRestoreAction,
     ulong ulTransId)
 {
     peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
     return(RCODE.NE_XFLM_OK);
 }
Пример #4
0
 public RCODE reportIndexResume(
     ref RestoreAction peRestoreAction,
     ulong ulTransId,
     uint uiIndexNum)
 {
     peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
     return(RCODE.NE_XFLM_OK);
 }
Пример #5
0
 public RCODE reportReduce(
     ref RestoreAction peRestoreAction,
     ulong ulTransId,
     uint uiCount)
 {
     peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
     return(RCODE.NE_XFLM_OK);
 }
Пример #6
0
 public RCODE reportRflRead(
     ref RestoreAction peRestoreAction,
     uint uiFileNum,
     uint uiBytesRead)
 {
     peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
     return(RCODE.NE_XFLM_OK);
 }
Пример #7
0
 public RCODE reportAbortTrans(
     ref RestoreAction peRestoreAction,
     ulong ulTransId)
 {
     peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
     m_ulNumTransAborted++;
     return(RCODE.NE_XFLM_OK);
 }
Пример #8
0
 public RCODE reportUpgrade(
     ref RestoreAction peRestoreAction,
     ulong ulTransId,
     uint uiOldDbVersion,
     uint uiNewDbVersion)
 {
     peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
     return(RCODE.NE_XFLM_OK);
 }
Пример #9
0
 public RCODE reportNodeDelete(
     ref RestoreAction peRestoreAction,
     ulong ulTransId,
     uint uiCollection,
     ulong ulNodeId)
 {
     peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
     return(RCODE.NE_XFLM_OK);
 }
Пример #10
0
 public RCODE reportDocumentDone(
     ref RestoreAction peRestoreAction,
     ulong ulTransId,
     uint uiCollection,
     ulong ulDocumentId)
 {
     peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
     return(RCODE.NE_XFLM_OK);
 }
Пример #11
0
 public RCODE reportAttributeSetValue(
     ref RestoreAction peRestoreAction,
     ulong ulTransId,
     uint uiCollection,
     ulong ulElementNodeId,
     uint uiAttrNameId)
 {
     peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
     return(RCODE.NE_XFLM_OK);
 }
Пример #12
0
            public RCODE reportError(
                ref RestoreAction peRestoreAction,
                RCODE rcErr)
            {
                peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;

                System.Console.WriteLine("\nError reported: {0}", rcErr);
                m_bOutputLines = true;
                return(RCODE.NE_XFLM_OK);
            }
Пример #13
0
 public RCODE reportBlockChainFree(
     ref RestoreAction peRestoreAction,
     ulong ulTransId,
     ulong ulMaintDocNum,
     uint uiStartBlkAddr,
     uint uiEndBlkAddr,
     uint uiCount)
 {
     peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
     return(RCODE.NE_XFLM_OK);
 }
Пример #14
0
 public RCODE reportInsertBefore(
     ref RestoreAction peRestoreAction,
     ulong ulTransId,
     uint uiCollection,
     ulong ulParentId,
     ulong ulNewChildId,
     ulong ulRefChildId)
 {
     peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
     return(RCODE.NE_XFLM_OK);
 }
Пример #15
0
            public RCODE reportProgress(
                ref RestoreAction peRestoreAction,
                ulong ulBytesToDo,
                ulong ulBytesDone)
            {
                peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;

                System.Console.Write("Bytes To Restore: {0}, Bytes Restored: {1}, TRCmit: {2}, TRAbrt: {3}\r",
                                     ulBytesToDo, ulBytesDone, m_ulNumTransCommitted, m_ulNumTransAborted);
                m_bOutputLines = true;
                return(RCODE.NE_XFLM_OK);
            }
Пример #16
0
 public RCODE reportNodeCreate(
     ref RestoreAction peRestoreAction,
     ulong ulTransId,
     uint uiCollection,
     ulong ulRefNodeId,
     eDomNodeType eNodeType,
     uint uiNameId,
     eNodeInsertLoc eLocation)
 {
     peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
     return(RCODE.NE_XFLM_OK);
 }
Пример #17
0
            public RCODE reportIndexSuspend(
				ref RestoreAction 	peRestoreAction,
				ulong						ulTransId,
				uint						uiIndexNum)
            {
                peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
                return( RCODE.NE_XFLM_OK);
            }
Пример #18
0
            public RCODE reportInsertBefore(
				ref RestoreAction 	peRestoreAction,
				ulong						ulTransId,
				uint						uiCollection,
				ulong						ulParentId,
				ulong						ulNewChildId,
				ulong						ulRefChildId)
            {
                peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
                return( RCODE.NE_XFLM_OK);
            }
Пример #19
0
            public RCODE reportNodeChildrenDelete(
				ref RestoreAction 	peRestoreAction,
				ulong						ulTransId,
				uint						uiCollection,
				ulong						ulNodeId,
				uint						uiNameId)
            {
                peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
                return( RCODE.NE_XFLM_OK);
            }
Пример #20
0
            public RCODE reportNodeCreate(
				ref RestoreAction 	peRestoreAction,
				ulong						ulTransId,
				uint						uiCollection,
				ulong						ulRefNodeId,
				eDomNodeType			eNodeType,
				uint						uiNameId,
				eNodeInsertLoc			eLocation)
            {
                peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
                return( RCODE.NE_XFLM_OK);
            }
Пример #21
0
            public RCODE reportUpgrade(
				ref RestoreAction 	peRestoreAction,
				ulong						ulTransId,
				uint						uiOldDbVersion,
				uint						uiNewDbVersion)
            {
                peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
                return( RCODE.NE_XFLM_OK);
            }
Пример #22
0
            public RCODE reportBlockChainFree(
				ref RestoreAction 	peRestoreAction,
				ulong						ulTransId,
				ulong						ulMaintDocNum,
				uint						uiStartBlkAddr,
				uint						uiEndBlkAddr,
				uint						uiCount)
            {
                peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
                return( RCODE.NE_XFLM_OK);
            }
Пример #23
0
            public RCODE reportDocumentDone(
				ref RestoreAction 	peRestoreAction,
				ulong						ulTransId,
				uint						uiCollection,
				ulong						ulDocumentId)
            {
                peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
                return( RCODE.NE_XFLM_OK);
            }
Пример #24
0
            public RCODE reportReduce(
				ref RestoreAction 	peRestoreAction,
				ulong						ulTransId,
				uint						uiCount)
            {
                peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
                return( RCODE.NE_XFLM_OK);
            }
Пример #25
0
        public void UpdateInput(GamePadState gamePad, KeyboardState keyboard, 
            MouseState mouse, float deltaTime)
        {
            if (World.inMenu || !World.ReadyToPlay)
            {
                if (keyboard.IsKeyDown(Keys.E) &&
                    oldKeyboard.IsKeyUp(Keys.E) ||
                    mouse.LeftButton == ButtonState.Pressed &&
                    oldMouse.LeftButton == ButtonState.Released)
                {
                    if (World.menuManager.CurrentMenu == World.menuManager.teamChest)
                    {
                        World.menuManager.teamChest.AddGold();
                    }
                }

                oldKeyboard = keyboard;
                oldMouse = mouse;
                oldGamePad = gamePad;

                velocity.X = 0;
                velocity.Y = 0;
                return;
            }

            Vector2 input = gamePad.ThumbSticks.Left;

            velocity.X += input.X * upgrade.maxSpeed * (deltaTime / 100);
            velocity.Y += -input.Y * upgrade.maxSpeed * (deltaTime / 100);

            // keyboard input
            if (keyboard.IsKeyDown(Keys.D))
            {
                velocity.X += upgrade.maxSpeed * (deltaTime / 100);
                input.X = 1;
            }
            if (keyboard.IsKeyDown(Keys.A))
            {
                velocity.X -= upgrade.maxSpeed * (deltaTime / 100);
                input.X = -1;
            }
            if (keyboard.IsKeyDown(Keys.W))
            {
                velocity.Y += upgrade.maxSpeed * (deltaTime / 100);
                input.Y = 1;
            }
            if (keyboard.IsKeyDown(Keys.S))
            {
                velocity.Y -= upgrade.maxSpeed * (deltaTime / 100);
                input.Y = -1;
            }

            // cap max speed
            if (velocity.X > input.X * upgrade.maxSpeed)
            {
                velocity.X = input.X * upgrade.maxSpeed;
            }
            else if (velocity.X < input.X * upgrade.maxSpeed)
            {
                velocity.X = input.X * upgrade.maxSpeed;
            }
            if (velocity.Y > -input.Y * upgrade.maxSpeed)
            {
                velocity.Y = -input.Y * upgrade.maxSpeed;
            }
            else if (velocity.Y < -input.Y * upgrade.maxSpeed)
            {
                velocity.Y = -input.Y * upgrade.maxSpeed;
            }

            Vector2 dir = gamePad.ThumbSticks.Right;

            if (Math.Abs(dir.X) > .25 ||
                Math.Abs(dir.Y) > .25)
            {
                angle = (float)Math.Atan2(dir.X, dir.Y);
            }
            else
            {
                angle = (float)Math.Atan2(mouse.X - (GameConst.SCREEN_WIDTH / 2),
                     (GameConst.SCREEN_HEIGHT / 2) - mouse.Y);
            }

            if (CurrentGun is Gun)
            {
                if (gamePad.Triggers.Right > 0.25 &&
                    oldGamePad.Triggers.Right < 0.25 ||
                    mouse.LeftButton == ButtonState.Pressed &&
                     oldMouse.LeftButton == ButtonState.Released)
                {
                    Gun g = (Gun)CurrentGun;
                    g.Shoot();
                }
                else if (gamePad.Triggers.Right > 0.25 ||
                    mouse.LeftButton == ButtonState.Pressed )
                {
                    Gun g = (Gun)CurrentGun;
                    g.RightHeld();
                }

                if (gamePad.Triggers.Left > 0.25 &&
                    oldGamePad.Triggers.Left < 0.25||
                    mouse.RightButton == ButtonState.Pressed &&
                    oldMouse.RightButton == ButtonState.Released)
                {
                    Gun g = (Gun)CurrentGun;
                    g.SecondaryFire();
                }
                else if (gamePad.Triggers.Left > 0.25 ||
                    mouse.RightButton == ButtonState.Pressed)
                {
                    Gun g = (Gun)CurrentGun;
                    g.LeftHeld();
                }
            }
            // chests
            if (gamePad.Buttons.A == ButtonState.Pressed &&
                oldGamePad.Buttons.A == ButtonState.Released ||
                keyboard.IsKeyDown(Keys.E) &&
                oldKeyboard.IsKeyUp(Keys.E))
            {
                if (overlappingChest != null &&
                    item == null &&
                    !(overlappingChest is TeamChest))
                {
                    item = overlappingChest.Open(this);

                    Client.Send("chest" + "\n" + overlappingChest.ID);
                }
                else if (overlappingChest != null &&
                    overlappingChest is TeamChest &&
                    overlappingChest.ID == teamNum)
                {
                    overlappingChest.Open(this);
                }
            }

            if (item != null)
            {
                if (gamePad.Buttons.X == ButtonState.Pressed &&
                    oldGamePad.Buttons.X == ButtonState.Released ||
                    keyboard.IsKeyDown(Keys.Space) &&
                    oldKeyboard.IsKeyUp(Keys.Space))
                {
                    if (restore == null)
                    {
                        if (item.EffectTime == 0)
                        {
                            itemTimer = itemTime;
                        }
                        else
                        {
                            itemTimer = item.EffectTime;
                        }
                        restore = item.Use(this);
                        item = null;
                    }
                }
            }

            if (item != null &&
                gamePad.Buttons.Back == ButtonState.Pressed &&
                oldGamePad.Buttons.Back == ButtonState.Released ||
                item != null &&
                keyboard.IsKeyDown(Keys.Back) &&
                oldKeyboard.IsKeyUp(Keys.Back))
            {
                item = null;
            }
            if (CurrentGun is Gun)
            {
                Gun g = (Gun)CurrentGun;
                if (gamePad.Buttons.B == ButtonState.Pressed &&
                    oldGamePad.Buttons.B == ButtonState.Released ||
                    keyboard.IsKeyDown(Keys.R) &&
                    oldKeyboard.IsKeyUp(Keys.R))
                {
                    g.Reload();
                }
            }
            bool ableToSwitch = true;
            if (CurrentGun is Gun)
            {
                if ((CurrentGun as Gun).reloading)
                {
                    ableToSwitch = false;
                }
            }
            if (ableToSwitch)
            {
                if (gamePad.Buttons.RightShoulder == ButtonState.Pressed &&
                    oldGamePad.Buttons.RightShoulder == ButtonState.Released ||
                    mouse.ScrollWheelValue > oldMouse.ScrollWheelValue)
                {
                    gunIndex++;
                    if (gunIndex > guns.Count - 1)
                    { gunIndex = 0; }
                }
                else if (gamePad.Buttons.LeftShoulder == ButtonState.Pressed &&
                    oldGamePad.Buttons.LeftShoulder == ButtonState.Released ||
                    mouse.ScrollWheelValue < oldMouse.ScrollWheelValue)
                {
                    gunIndex--;
                    if (gunIndex < 0)
                    { gunIndex = guns.Count - 1; }
                }
            }
            if (CurrentGun is Weapons.Sword)
            {
                Weapons.Sword sword = CurrentGun as Weapons.Sword;
                if (gamePad.Triggers.Right > 0.25 &&
                    oldGamePad.Triggers.Right < 0.25 ||
                    mouse.LeftButton == ButtonState.Pressed &&
                    oldMouse.LeftButton == ButtonState.Released)
                {
                    sword.Slice();
                    Client.Send("slice\n" + World.gameId + "!");
                }
            }

            //Vector2 newPos = World.Camera.ToLocalLocation(this.pos);
            //Mouse.SetPosition((int)newPos.X, (int)newPos.Y);

            oldKeyboard = keyboard;
            oldMouse = mouse;
            oldGamePad = gamePad;
        }
Пример #26
0
        public virtual void Update(float deltaTime)
        {
            if (!alive)
            {
                timer += deltaTime / 1000;

                if (timer > 1.2)
                {
                    Spawn();
                    timer = 0;
                }
            }
            else
            {
                switch (statusEffect)
                {
                    case MultiDungeon.StatusEffect.curse:
                        if (poisinTime > 0)
                        { poisinTime -= deltaTime / 1000; }
                        else
                        { poisinTime = 0; statusEffect = MultiDungeon.StatusEffect.none; }
                        health -= deltaTime / 3200;
                        if (health <= 0 && alive)
                        { Die(); }
                        EffectManager.Update(deltaTime, typeof(PoisinParticle), this);
                        break;
                    case MultiDungeon.StatusEffect.invinsible:
                        EffectManager.Update(deltaTime, typeof(StarParticle), this);
                        break;
                    case MultiDungeon.StatusEffect.speed:
                        EffectManager.Update(deltaTime, typeof(SpeedParticle), this);
                        break;
                    case MultiDungeon.StatusEffect.health:
                        EffectManager.Update(deltaTime, typeof(HealthParticle), this);
                        break;
                }

                if (id == World.gameId)
                {
                    GamePadState gamePad = GamePad.GetState(playerIndex);
                    KeyboardState keyboard = Keyboard.GetState();
                    MouseState mouse = Mouse.GetState();

                    UpdateInput(gamePad, keyboard, mouse, deltaTime);

                    pos += velocity;

                    if (item != null)
                    {
                        if (item is CoinPurse)
                        {
                            if (item.AtDestination)
                            {
                                item.Use(this);
                                item = null;
                            }
                        }
                    }
                }

                CurrentGun.Update(deltaTime);
                UpdateChest(World.ItemManager.Chests);
                if (itemTimer > 0)
                {
                    itemTimer -= deltaTime / 1000;
                }
                else
                {
                    itemTimer = 0;
                    if (restore != null)
                    {
                        restore(this);
                        restore = null;
                    }
                }
            }
        }
Пример #27
0
            public RCODE reportAttributeSetValue(
				ref RestoreAction 	peRestoreAction,
				ulong						ulTransId,
				uint						uiCollection,
				ulong						ulElementNodeId,
				uint						uiAttrNameId)
            {
                peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
                return( RCODE.NE_XFLM_OK);
            }
Пример #28
0
            public RCODE reportRflRead(
				ref RestoreAction 	peRestoreAction,
				uint						uiFileNum,
				uint						uiBytesRead)
            {
                peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
                return( RCODE.NE_XFLM_OK);
            }
Пример #29
0
            public RCODE reportWrapKey(
				ref RestoreAction 	peRestoreAction,
				ulong						ulTransId)
            {
                peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
                return( RCODE.NE_XFLM_OK);
            }
Пример #30
0
            public RCODE reportError(
				ref RestoreAction 	peRestoreAction,
				RCODE						rcErr)
            {
                peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;

                System.Console.WriteLine( "\nError reported: {0}", rcErr);
                m_bOutputLines = true;
                return( RCODE.NE_XFLM_OK);
            }
Пример #31
0
            public RCODE reportProgress(
				ref RestoreAction 	peRestoreAction,
				ulong						ulBytesToDo,
				ulong						ulBytesDone)
            {
                peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;

                System.Console.Write( "Bytes To Restore: {0}, Bytes Restored: {1}, TRCmit: {2}, TRAbrt: {3}\r",
                    ulBytesToDo, ulBytesDone, m_ulNumTransCommitted, m_ulNumTransAborted);
                m_bOutputLines = true;
                return( RCODE.NE_XFLM_OK);
            }
Пример #32
0
            public RCODE reportOpenRflFile(
				ref RestoreAction 	peRestoreAction,
				uint						uiFileNum)
            {
                peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
                return( RCODE.NE_XFLM_OK);
            }
Пример #33
0
            public RCODE reportCommitTrans(
				ref RestoreAction 	peRestoreAction,
				ulong						ulTransId)
            {
                peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
                m_ulNumTransCommitted++;
                return( RCODE.NE_XFLM_OK);
            }
Пример #34
0
            public RCODE reportNodeFlagsUpdate(
				ref RestoreAction 	peRestoreAction,
				ulong						ulTransId,
				uint						uiCollection,
				ulong						ulNodeId,
				uint						uiFlags,
				bool						bAdd)
            {
                peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
                return( RCODE.NE_XFLM_OK);
            }
Пример #35
0
 protected override void InitializeAction()
 {
     Action = new RestoreAction(ArticleService, FieldService, ProductService, CreateTransaction, NotificationService);
 }
Пример #36
0
            public RCODE reportSetNextNodeId(
				ref RestoreAction 	peRestoreAction,
				ulong						ulTransId,
				uint						uiCollection,
				ulong						ulNextNodeId)
            {
                peRestoreAction = RestoreAction.XFLM_RESTORE_ACTION_CONTINUE;
                return( RCODE.NE_XFLM_OK);
            }
Пример #37
0
 public void Die()
 {
     if (alive)
     {
         SoundManager.PlaySound("die");
         alive = false;
         timer = 0;
         statusEffect = MultiDungeon.StatusEffect.none;
         item = null;
         gold -= 50;
         if (gold < 0)
         {
             gold = 0;
         }
         itemTimer = 0;
         if (restore != null)
         {
             restore(this);
             restore = null;
         }
         for (int i = 0; i < 50; i++)
         {
             int x = DrawRect.Left + GameConst.rand.Next(DrawRect.Width);
             int y = DrawRect.Top + GameConst.rand.Next(DrawRect.Height);
             World.BulletManager.AddParticle(new BloodParticle(new
                 Vector2(x, y)));
         }
         World.BulletManager.AddParticle(new SkullParticle(new
                Vector2(DrawRect.Center.X, DrawRect.Top)));
         if (World.gameId == id)
         {
             Stats.deaths++;
         }
     }
 }
Пример #38
0
            public RCODE funcRestoreStatus(
				RestoreStatusAction	eAction,
				ref RestoreAction 	eRestoreAction,
				ulong						ulTransId,
				ulong						ulLongNum1,
				ulong						ulLongNum2,
				ulong						ulLongNum3,
				uint						uiShortNum1,
				uint						uiShortNum2,
				uint						uiShortNum3,
				uint						uiShortNum4)
            {
                switch (eAction)
                {
                    case RestoreStatusAction.REPORT_PROGRESS:
                        return( m_restoreStatus.reportProgress( ref eRestoreAction,
                            ulLongNum1, ulLongNum2));
                    case RestoreStatusAction.REPORT_ERROR:
                        return( m_restoreStatus.reportError( ref eRestoreAction,
                            (RCODE)uiShortNum1));
                    case RestoreStatusAction.REPORT_BEGIN_TRANS:
                        return( m_restoreStatus.reportBeginTrans( ref eRestoreAction,
                            ulTransId));
                    case RestoreStatusAction.REPORT_COMMIT_TRANS:
                        return( m_restoreStatus.reportCommitTrans( ref eRestoreAction,
                            ulTransId));
                    case RestoreStatusAction.REPORT_ABORT_TRANS:
                        return( m_restoreStatus.reportAbortTrans( ref eRestoreAction,
                            ulTransId));
                    case RestoreStatusAction.REPORT_BLOCK_CHAIN_FREE:
                        return( m_restoreStatus.reportBlockChainFree( ref eRestoreAction,
                            ulTransId, ulLongNum1, uiShortNum1, uiShortNum2, uiShortNum3));
                    case RestoreStatusAction.REPORT_INDEX_SUSPEND:
                        return( m_restoreStatus.reportIndexSuspend( ref eRestoreAction,
                            ulTransId, uiShortNum1));
                    case RestoreStatusAction.REPORT_INDEX_RESUME:
                        return( m_restoreStatus.reportIndexResume( ref eRestoreAction,
                            ulTransId, uiShortNum1));
                    case RestoreStatusAction.REPORT_REDUCE:
                        return( m_restoreStatus.reportReduce( ref eRestoreAction,
                            ulTransId, uiShortNum1));
                    case RestoreStatusAction.REPORT_UPGRADE:
                        return( m_restoreStatus.reportUpgrade( ref eRestoreAction,
                            ulTransId, uiShortNum1, uiShortNum2));
                    case RestoreStatusAction.REPORT_OPEN_RFL_FILE:
                        return( m_restoreStatus.reportOpenRflFile( ref eRestoreAction,
                            uiShortNum1));
                    case RestoreStatusAction.REPORT_RFL_READ:
                        return( m_restoreStatus.reportRflRead( ref eRestoreAction,
                            uiShortNum1, uiShortNum2));
                    case RestoreStatusAction.REPORT_ENABLE_ENCRYPTION:
                        return( m_restoreStatus.reportEnableEncryption( ref eRestoreAction,
                            ulTransId));
                    case RestoreStatusAction.REPORT_WRAP_KEY:
                        return( m_restoreStatus.reportWrapKey( ref eRestoreAction,
                            ulTransId));
                    case RestoreStatusAction.REPORT_SET_NEXT_NODE_ID:
                        return( m_restoreStatus.reportSetNextNodeId( ref eRestoreAction,
                            ulTransId, uiShortNum1, ulLongNum1));
                    case RestoreStatusAction.REPORT_NODE_SET_META_VALUE:
                        return( m_restoreStatus.reportNodeSetMetaValue( ref eRestoreAction,
                            ulTransId, uiShortNum1, ulLongNum1, ulLongNum2));
                    case RestoreStatusAction.REPORT_NODE_SET_PREFIX_ID:
                        return( m_restoreStatus.reportNodeSetPrefixId( ref eRestoreAction,
                            ulTransId, uiShortNum1, ulLongNum1, uiShortNum2, uiShortNum3));
                    case RestoreStatusAction.REPORT_NODE_FLAGS_UPDATE:
                        return( m_restoreStatus.reportNodeFlagsUpdate( ref eRestoreAction,
                            ulTransId, uiShortNum1, ulLongNum1, uiShortNum2,
                            (bool)(uiShortNum3 != 0 ? true : false)));
                    case RestoreStatusAction.REPORT_ATTRIBUTE_SET_VALUE:
                        return( m_restoreStatus.reportAttributeSetValue( ref eRestoreAction,
                            ulTransId, uiShortNum1, ulLongNum1, uiShortNum2));
                    case RestoreStatusAction.REPORT_NODE_SET_VALUE:
                        return( m_restoreStatus.reportNodeSetValue( ref eRestoreAction,
                            ulTransId, uiShortNum1, ulLongNum1));
                    case RestoreStatusAction.REPORT_NODE_UPDATE:
                        return( m_restoreStatus.reportNodeUpdate( ref eRestoreAction,
                            ulTransId, uiShortNum1, ulLongNum1));
                    case RestoreStatusAction.REPORT_INSERT_BEFORE:
                        return( m_restoreStatus.reportInsertBefore( ref eRestoreAction,
                            ulTransId, uiShortNum1, ulLongNum1, ulLongNum2, ulLongNum3));
                    case RestoreStatusAction.REPORT_NODE_CREATE:
                        return( m_restoreStatus.reportNodeCreate( ref eRestoreAction,
                            ulTransId, uiShortNum1, ulLongNum1,
                            (eDomNodeType)uiShortNum2, uiShortNum3, (eNodeInsertLoc)uiShortNum4));
                    case RestoreStatusAction.REPORT_NODE_CHILDREN_DELETE:
                        return( m_restoreStatus.reportNodeChildrenDelete( ref eRestoreAction,
                            ulTransId, uiShortNum1, ulLongNum1, uiShortNum2));
                    case RestoreStatusAction.REPORT_ATTRIBUTE_DELETE:
                        return( m_restoreStatus.reportAttributeDelete( ref eRestoreAction,
                            ulTransId, uiShortNum1, ulLongNum1, uiShortNum2));
                    case RestoreStatusAction.REPORT_NODE_DELETE:
                        return( m_restoreStatus.reportNodeDelete( ref eRestoreAction,
                            ulTransId, uiShortNum1, ulLongNum1));
                    case RestoreStatusAction.REPORT_DOCUMENT_DONE:
                        return( m_restoreStatus.reportDocumentDone( ref eRestoreAction,
                            ulTransId, uiShortNum1, ulLongNum1));
                    case RestoreStatusAction.REPORT_ROLL_OVER_DB_KEY:
                        return( m_restoreStatus.reportRollOverDbKey( ref eRestoreAction,
                            ulTransId));
                }
                return( RCODE.NE_XFLM_INVALID_PARM);
            }