logoHourGlass
Protocol.Send

Protocol.Send

Protocol.Send(CharIndex, PacketID, Packet)

函數功能

自定義發送封包。

參數說明

  • CharIndex數值型 目標的 對象index。
  • PacketID數值型 封包頭定義,請參考附錄的[常量定義]。
  • Packet字符串 封包內容。

返回值

返回0失敗,返回1成功。