Char.HaveGuildChar.HaveGuild(CharIndex)函數功能檢查角色是否加入公會參數說明 CharIndex:數值型 目標的 對象index。 返回值如果目標有工會,則返回1,沒有則返回-1。