Metatable:Party - RodrigoOt/forgottenserver GitHub Wiki

No description available at the moment. ###Available methods: addInvite(player)
addMember(player)
disband()
getInviteeCount()
getInvitees()
getLeader()
getMemberCount()
getMembers()
isSharedExperienceActive()
isSharedExperienceEnabled()
removeInvite(player)
removeMember(player)
setLeader(player)
setSharedExperience(active)
shareExperience(experience)


###### addInvite(player) > **Description:** N/A > **Parameters:**
  • _player_ - _No description_
> **Returns:** N/A > **Example:** ```Lua local party = Party(...) party:addInvite(some_userdata) ``` > **Added in version:** 1.0
###### addMember(player) > **Description:** N/A > **Parameters:**
  • _player_ - _No description_
> **Returns:** N/A > **Example:** ```Lua local party = Party(...) party:addMember(some_userdata) ``` > **Added in version:** 1.0
###### disband() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local party = Party(...) party:disband() ``` > **Added in version:** 1.0
###### getInviteeCount() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local party = Party(...) party:getInviteeCount() ``` > **Added in version:** 1.0
###### getInvitees() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local party = Party(...) party:getInvitees() ``` > **Added in version:** 1.0
###### getLeader() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local party = Party(...) party:getLeader() ``` > **Added in version:** 1.0
###### getMemberCount() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local party = Party(...) party:getMemberCount() ``` > **Added in version:** 1.0
###### getMembers() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local party = Party(...) party:getMembers() ``` > **Added in version:** 1.0
###### isSharedExperienceActive() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local party = Party(...) party:isSharedExperienceActive() ``` > **Added in version:** 1.0
###### isSharedExperienceEnabled() > **Description:** N/A > **Parameters:** None > **Returns:** N/A > **Example:** ```Lua local party = Party(...) party:isSharedExperienceEnabled() ``` > **Added in version:** 1.0
###### removeInvite(player) > **Description:** N/A > **Parameters:**
  • _player_ - _No description_
> **Returns:** N/A > **Example:** ```Lua local party = Party(...) party:removeInvite(some_userdata) ``` > **Added in version:** 1.0
###### removeMember(player) > **Description:** N/A > **Parameters:**
  • _player_ - _No description_
> **Returns:** N/A > **Example:** ```Lua local party = Party(...) party:removeMember(some_userdata) ``` > **Added in version:** 1.0
###### setLeader(player) > **Description:** N/A > **Parameters:**
  • _player_ - _No description_
> **Returns:** N/A > **Example:** ```Lua local party = Party(...) party:setLeader(some_userdata) ``` > **Added in version:** 1.0
###### setSharedExperience(active) > **Description:** N/A > **Parameters:**
  • _active_ - _No description_
> **Returns:** N/A > **Example:** ```Lua local party = Party(...) party:setSharedExperience(unknown) ``` > **Added in version:** 1.0
###### shareExperience(experience) > **Description:** N/A > **Parameters:**
  • _experience_ - _No description_
> **Returns:** N/A > **Example:** ```Lua local party = Party(...) party:shareExperience(100) ``` > **Added in version:** 1.0
⚠️ **GitHub.com Fallback** ⚠️