Exemplo n.º 1
0
 public ChatItem(VoiceMsgPush vmp)
 {
     type   = 1;
     sender = vmp.sender;
     voice  = vmp.content;
     path   = "vm-" + sender + "-" + PUtils.getSeconds() + ".amr";
     read   = false;
 }
Exemplo n.º 2
0
        static int _m_getSeconds_xlua_st_(RealStatePtr L)
        {
            try {
                {
                    int gen_ret = PUtils.getSeconds(  );
                    LuaAPI.xlua_pushinteger(L, gen_ret);



                    return(1);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }