logoHourGlass
Char.GetHousePet

Char.GetHousePet

Char.GetHousePet(CharIndex,Slot)

函數功能

獲取玩家對象出租屋中指定位置的寵物對象index。

參數說明

  • CharIndex數值型 目標的 對象index。
  • Slot數值型 出租屋中的位置,範圍0-4。

返回值

如果目標有該寵物的寵物對象index,沒有則返回-1。