static int CanPlaySoundEffect(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         FirClient.Manager.SoundManager obj = (FirClient.Manager.SoundManager)ToLua.CheckObject <FirClient.Manager.SoundManager>(L, 1);
         bool o = obj.CanPlaySoundEffect();
         LuaDLL.lua_pushboolean(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int Play(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FirClient.Manager.SoundManager obj = (FirClient.Manager.SoundManager)ToLua.CheckObject <FirClient.Manager.SoundManager>(L, 1);
         string arg0 = ToLua.CheckString(L, 2);
         obj.Play(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
    static int _CreateFirClient_Manager_SoundManager(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 0)
            {
                FirClient.Manager.SoundManager obj = new FirClient.Manager.SoundManager();
                ToLua.PushObject(L, obj);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: FirClient.Manager.SoundManager.New"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }