wiki.sine.space | sinespace

Difference between revisions of "Scripting/SGroup"

From wiki.sine.space
Jump to: navigation, search
(Replaced content with "This page has moved to: https://docs.sine.space/v/scripting/client-scripting/player/sgroup")
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Members==
+
This page has moved to: https://docs.sine.space/v/scripting/client-scripting/player/sgroup
 
+
{{ScriptFunction|bool|IsMemberOf|(int groupID)|Whether is a member of this group.|5=<pre>
+
IsMember = Space.Groups.IsMemberOf(675)</pre>|6=<pre></pre>
+
}}
+
 
+
{{ScriptFunction|SGroupInfo|GetGroupInfo|(int groupID)|Get the group info by groupID.|5=<pre>
+
groupInfo = Space.Groups.GetGroupInfo(675)</pre>|6=<pre></pre>
+
}}
+
 
+
{{ScriptFunction|void|JoinGroup|(int groupID, bool <nowiki>force = false</nowiki>)|Join the group.|5=<pre>Space.Groups.JoinGroup(675)</pre>|6=<pre></pre>
+
}}
+
 
+
{{ScriptFunction|void|LeaveGroup|(int groupID, bool <nowiki>force = false</nowiki>)|Leave the group.|5=<pre>Space.Groups.LeaveGroup(675)</pre>|6=<pre></pre>
+
}}
+
 
+
 
+
==Properties==
+
 
+
 
+
{{ScriptFunction|SGroupInfo|Membership|{ get; }|Return an array with all the groups this player is a member of|5=<pre>groups = Space.Groups.Membership</pre>|6=<pre></pre>}}
+
 
+
{{Scripting Navbox}}
+

Latest revision as of 07:08, 19 September 2022

This page has moved to: https://docs.sine.space/v/scripting/client-scripting/player/sgroup