MCPcopy Create free account
hub / github.com/HelloBush/Java_MHXYdemo / IsDisplayDead

Method IsDisplayDead

src/pkgDm/Dm2Java.java:1726–1728  ·  view source on GitHub ↗

判断指定的区域,在指定的时间内(秒),图像数据是否一直不变.(卡屏). @param x1 区域的左上X坐标 @param y1 区域的左上Y坐标 @param x2 区域的右下X坐标 @param y2 区域的右下Y坐标 @param t 需要等待的时间,单位是秒 @return 0 : 没有卡屏,图像数据在变化. 1 : 卡屏. 图像数据在指定的时间内一直没有变化.

(int x1,int y1,int x2,int y2,int t)

Source from the content-addressed store, hash-verified

1724 1 : 卡屏. 图像数据在指定的时间内一直没有变化.
1725 */
1726 public int IsDisplayDead(int x1,int y1,int x2,int y2,int t){
1727 return Dispatch.call(dm,"IsDisplayDead",x1,y1,x2,y2,t).getInt();
1728 }
1729
1730 /**
1731 * 预先加载指定的图片,这样在操作任何和图片相关的函数时,将省去了加载图片的时间。调用此函数后,没必要一定要调用FreePic,插件自己会自动释放.

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
getIntMethod · 0.45

Tested by

no test coverage detected