static int decrypt(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); NetworkConn obj = (NetworkConn)LuaScriptMgr.GetNetObjectSelf(L, 1, "NetworkConn"); Pack arg0 = (Pack)LuaScriptMgr.GetNetObject(L, 2, typeof(Pack)); obj.decrypt(arg0); return(0); }