Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration RequestCmdIdAndroid

en

Request type of ioctlAndroid.

zh

ioctlAndroid的请求类型

Index

Enumeration members

DeviceID

DeviceID: = 3

GetCollectData

GetCollectData: = 8

GetEmulatorName

GetEmulatorName: = 1
en

Get emulator name, no additional data. If is a known emulator, return its name, e.g. 'emulator:Nox'. If is a unknown emulator, return 'emulator:Unknown'. If is a real phone, return 'emulator:None'.

zh

获取模拟器的名称,无附加数据。如果是已知模拟器,返回该模拟器的名称,如:'emulator:Nox'。如果是未知的模拟器,返回'emulator:Unknown'。如果是真机,返回'emulator:None'

example
const emulatorName = netease.yidun.yidunService.ioctlAndroid(netease.yidun.RequestCmdIdAndroid.GetEmulatorName, '');

GetEncHTPVersion

GetEncHTPVersion: = 9
en

Query encrypted anti-cheat SDK version, no additional data. the return value is always not empty, e.g. 'iF13uXaKVteXVA==||58807f98da0d945b5d60ba4e8f22a428'. You need to use the Yidun decryption server SDK to decrypt the return value.

zh

查询加密后的反外挂SDK版本,无附加数据。返回值一定不为空,返回值举例:'iF13uXaKVteXVA==||58807f98da0d945b5d60ba4e8f22a428'。您需要通过易盾服务端解密SDK进行解密

example
const encVersion = netease.yidun.yidunService.ioctlAndroid(netease.yidun.RequestCmdIdAndroid.GetEncHTPVersion, '');

GetHTPVersion

GetHTPVersion: = 7
en

Query anti-cheat SDK version, no additional data. the return value is always not empty, e.g. '4.15.114'.

zh

查询反外挂SDK版本,无附加数据。返回值一定不为空,返回值举例:'4.15.114'

example
const version = netease.yidun.yidunService.ioctlAndroid(netease.yidun.RequestCmdIdAndroid.GetHTPVersion, '');

IsRootDevice

IsRootDevice: = 2
en

Query whether the current device is a root device, no additional data. return 'root:1' if it is, reutrn 'root:0' if it's not.

zh

查询设备是否root,无附加数据。如果是root设备,返回'root:1',如果不是root设备,返回'root:0'

example
const isRootDevice = netease.yidun.yidunService.ioctlAndroid(netease.yidun.RequestCmdIdAndroid.IsRootDevice, '');

Generated using TypeDoc