Beispiel #1
0
        private static void HandleGameOverCommand(uint dwFrqNo, CSDT_FRAPBOOT_GAMEOVERNTF OverNtf)
        {
            IFrameCommand command = null;
            FrameCommand <SvrNtfGameOverCommand> command2 = FrameCommandFactory.CreateFrameCommand <SvrNtfGameOverCommand>();

            command2.cmdData.m_bWinCamp = OverNtf.bWinCamp;
            command = command2;
            if (command != null)
            {
                command.frameNum = dwFrqNo;
                Singleton <FrameSynchr> .GetInstance().PushFrameCommand(command);
            }
        }
Beispiel #2
0
        private static void HandleGameOverCommand(uint dwFrqNo, CSDT_FRAPBOOT_GAMEOVERNTF OverNtf)
        {
            FrameCommand <SvrNtfGameOverCommand> frameCommand = FrameCommandFactory.CreateSCSyncFrameCommand <SvrNtfGameOverCommand>();

            frameCommand.cmdData.m_bWinCamp = OverNtf.bWinCamp;
            IFrameCommand frameCommand2 = frameCommand;

            if (frameCommand2 != null)
            {
                frameCommand2.frameNum = dwFrqNo;
                Singleton <FrameSynchr> .GetInstance().PushFrameCommand(frameCommand2);
            }
        }