NScumm.Sword1.Logic.fnQuitGame C# (CSharp) Метод

fnQuitGame() приватный Метод

private fnQuitGame ( SwordObject cpt, int id, int a, int b, int c, int d, int z, int x ) : int
cpt SwordObject
id int
a int
b int
c int
d int
z int
x int
Результат int
        private int fnQuitGame(SwordObject cpt, int id, int a, int b, int c, int d, int z, int x)
        {
            if (SystemVars.IsDemo)
            {
                // TODO:GUI::MessageDialog dialog(_("This is the end of the Broken Sword 1 Demo"), _("OK"), NULL);
                //dialog.runModal();
                SwordEngine.ShouldQuit = true;
            }
            else
                throw new InvalidOperationException("fnQuitGame() called");
            return fnQuit(cpt, id, 0, 0, 0, 0, 0, 0);
        }