C# 클래스 OpenMetaverse.GroupManager

Handles all network traffic related to reading and writing group information
파일 보기 프로젝트 열기: 3di/3di-viewer-rei-libs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
GroupMembersCaches InternalDictionary>
GroupName2KeyCache string>.InternalDictionary
GroupRolesCaches InternalDictionary>
GroupRolesMembersCaches InternalDictionary>>

공개 메소드들

메소드 설명
ActivateGroup ( UUID id ) : void

Set a group as the current active group

ActivateTitle ( UUID group, UUID role ) : void

Change the role that determines your active title

AddToRole ( UUID group, UUID role, UUID member ) : void

Assign an avatar to a role

CreateRole ( UUID group, GroupRole role ) : void

Create a new group role

EjectUser ( UUID group, UUID member ) : void

Eject a user from a group

GroupManager ( GridClient client ) : System

Group Management Routines, Methods and Packet Handlers

Invite ( UUID group, List roles, UUID personkey ) : void

Invites a user to a group

LeaveGroup ( UUID groupID ) : void

Request to leave a group

Subscribe to OnGroupLeft event to receive confirmation

RemoveFromRole ( UUID group, UUID role, UUID member ) : void

Remove an avatar from a role

RequestCreateGroup ( Group group ) : void

Request to create a new group. If the group is successfully created, L$100 will automatically be deducted

Subscribe to OnGroupCreated event to receive confirmation.

RequestCurrentGroups ( ) : void

Request a current list of groups the avatar is a member of.

CAPS Event Queue must be running for this to work since the results come across CAPS.

RequestGroupAccountSummary ( UUID group, int intervalDays, int currentInterval ) : void

Begin to get the group account summary

Subscribe to the OnGroupAccountSummary event to receive the results.

RequestGroupMembers ( UUID group ) : UUID

Request a list of group members.

Subscribe to OnGroupMembers event to receive the results.

RequestGroupName ( UUID groupID ) : void

Lookup name of group based on groupID

RequestGroupNames ( List groupIDs ) : void

Request lookup of multiple group names

RequestGroupNotice ( UUID noticeID ) : void

Request a group notice by key

RequestGroupNoticeList ( UUID group ) : void

Request the group notices list

RequestGroupProfile ( UUID group ) : void

Lookup group profile data such as name, enrollment, founder, logo, etc

Subscribe to OnGroupProfile event to receive the results.

RequestGroupRoleMembers ( UUID group ) : UUID

Request members (members,role) role mapping for a group.

Subscribe to OnGroupRolesMembers event to receive the results.

RequestGroupRoles ( UUID group ) : UUID

Request group roles

Subscribe to OnGroupRoles event to receive the results.

RequestGroupTitles ( UUID group ) : UUID

Request a groups Titles

Subscribe to OnGroupTitles event to receive the results.

RequestJoinGroup ( UUID id ) : void

Request to join a group

Subscribe to OnGroupJoined event for confirmation.

SendGroupNotice ( UUID group, GroupNotice notice ) : void

Send out a group notice

SetGroupContribution ( UUID group, int contribution ) : void

Set this avatar's tier contribution

StartProposal ( UUID group, GroupProposal prop ) : void

Start a group proposal (vote)

UpdateGroup ( UUID id, Group group ) : void

Update a group's profile and other information

UpdateRole ( GroupRole role ) : void

Update role information

비공개 메소드들

메소드 설명
AgentDropGroupHandler ( Packet packet, Simulator simulator ) : void
CreateGroupReplyHandler ( Packet packet, Simulator simulator ) : void
EjectGroupMemberReplyHandler ( Packet packet, Simulator simulator ) : void

Packet Handler for EjectGroupMemberReply, fired when an avatar is ejected from a group.

This is a silly packet, it doesn't provide you with the ejectees UUID

GroupAccountSummaryHandler ( Packet packet, Simulator simulator ) : void
GroupActiveProposalItemHandler ( Packet packet, Simulator simulator ) : void
GroupDataHandler ( Packet packet, Simulator simulator ) : void
GroupMembersHandler ( Packet packet, Simulator simulator ) : void
GroupNoticesListReplyHandler ( Packet packet, Simulator simulator ) : void
GroupProfileHandler ( Packet packet, Simulator simulator ) : void
GroupRoleDataHandler ( Packet packet, Simulator simulator ) : void
GroupRoleMembersHandler ( Packet packet, Simulator simulator ) : void
GroupTitlesHandler ( Packet packet, Simulator simulator ) : void
GroupVoteHistoryItemHandler ( Packet packet, Simulator simulator ) : void
JoinGroupReplyHandler ( Packet packet, Simulator simulator ) : void
LeaveGroupReplyHandler ( Packet packet, Simulator simulator ) : void
UUIDGroupNameReplyHandler ( Packet packet, Simulator simulator ) : void

메소드 상세

ActivateGroup() 공개 메소드

Set a group as the current active group
public ActivateGroup ( UUID id ) : void
id UUID group ID (UUID)
리턴 void

ActivateTitle() 공개 메소드

Change the role that determines your active title
public ActivateTitle ( UUID group, UUID role ) : void
group UUID Group ID to use
role UUID Role ID to change to
리턴 void

AddToRole() 공개 메소드

Assign an avatar to a role
public AddToRole ( UUID group, UUID role, UUID member ) : void
group UUID Group ID to update
role UUID Role ID to assign to
member UUID Avatar's ID to assign to role
리턴 void

CreateRole() 공개 메소드

Create a new group role
public CreateRole ( UUID group, GroupRole role ) : void
group UUID Group ID to update
role GroupRole Role to create
리턴 void

EjectUser() 공개 메소드

Eject a user from a group
public EjectUser ( UUID group, UUID member ) : void
group UUID Group ID to eject the user from
member UUID Avatar's key to eject
리턴 void

GroupManager() 공개 메소드

Group Management Routines, Methods and Packet Handlers
public GroupManager ( GridClient client ) : System
client GridClient A reference to the current instance
리턴 System

Invite() 공개 메소드

Invites a user to a group
public Invite ( UUID group, List roles, UUID personkey ) : void
group UUID The group to invite to
roles List A list of roles to invite a person to
personkey UUID Key of person to invite
리턴 void

LeaveGroup() 공개 메소드

Request to leave a group
Subscribe to OnGroupLeft event to receive confirmation
public LeaveGroup ( UUID groupID ) : void
groupID UUID The group to leave
리턴 void

RemoveFromRole() 공개 메소드

Remove an avatar from a role
public RemoveFromRole ( UUID group, UUID role, UUID member ) : void
group UUID Group ID to update
role UUID Role ID to be removed from
member UUID Avatar's Key to remove
리턴 void

RequestCreateGroup() 공개 메소드

Request to create a new group. If the group is successfully created, L$100 will automatically be deducted
Subscribe to OnGroupCreated event to receive confirmation.
public RequestCreateGroup ( Group group ) : void
group Group Group struct containing the new group info
리턴 void

RequestCurrentGroups() 공개 메소드

Request a current list of groups the avatar is a member of.
CAPS Event Queue must be running for this to work since the results come across CAPS.
public RequestCurrentGroups ( ) : void
리턴 void

RequestGroupAccountSummary() 공개 메소드

Begin to get the group account summary
Subscribe to the OnGroupAccountSummary event to receive the results.
public RequestGroupAccountSummary ( UUID group, int intervalDays, int currentInterval ) : void
group UUID group ID (UUID)
intervalDays int How long of an interval
currentInterval int Which interval (0 for current, 1 for last)
리턴 void

RequestGroupMembers() 공개 메소드

Request a list of group members.
Subscribe to OnGroupMembers event to receive the results.
public RequestGroupMembers ( UUID group ) : UUID
group UUID group ID (UUID)
리턴 UUID

RequestGroupName() 공개 메소드

Lookup name of group based on groupID
public RequestGroupName ( UUID groupID ) : void
groupID UUID groupID of group to lookup name for.
리턴 void

RequestGroupNames() 공개 메소드

Request lookup of multiple group names
public RequestGroupNames ( List groupIDs ) : void
groupIDs List List of group IDs to request.
리턴 void

RequestGroupNotice() 공개 메소드

Request a group notice by key
public RequestGroupNotice ( UUID noticeID ) : void
noticeID UUID ID of group notice
리턴 void

RequestGroupNoticeList() 공개 메소드

Request the group notices list
public RequestGroupNoticeList ( UUID group ) : void
group UUID Group ID to fetch notices for
리턴 void

RequestGroupProfile() 공개 메소드

Lookup group profile data such as name, enrollment, founder, logo, etc
Subscribe to OnGroupProfile event to receive the results.
public RequestGroupProfile ( UUID group ) : void
group UUID group ID (UUID)
리턴 void

RequestGroupRoleMembers() 공개 메소드

Request members (members,role) role mapping for a group.
Subscribe to OnGroupRolesMembers event to receive the results.
public RequestGroupRoleMembers ( UUID group ) : UUID
group UUID group ID (UUID)
리턴 UUID

RequestGroupRoles() 공개 메소드

Request group roles
Subscribe to OnGroupRoles event to receive the results.
public RequestGroupRoles ( UUID group ) : UUID
group UUID group ID (UUID)
리턴 UUID

RequestGroupTitles() 공개 메소드

Request a groups Titles
Subscribe to OnGroupTitles event to receive the results.
public RequestGroupTitles ( UUID group ) : UUID
group UUID group ID (UUID)
리턴 UUID

RequestJoinGroup() 공개 메소드

Request to join a group
Subscribe to OnGroupJoined event for confirmation.
public RequestJoinGroup ( UUID id ) : void
id UUID group ID (UUID) to join.
리턴 void

SendGroupNotice() 공개 메소드

Send out a group notice
public SendGroupNotice ( UUID group, GroupNotice notice ) : void
group UUID Group ID to update
notice GroupNotice GroupNotice structure containing notice data
리턴 void

SetGroupContribution() 공개 메소드

Set this avatar's tier contribution
public SetGroupContribution ( UUID group, int contribution ) : void
group UUID Group ID to change tier in
contribution int amount of tier to donate
리턴 void

StartProposal() 공개 메소드

Start a group proposal (vote)
public StartProposal ( UUID group, GroupProposal prop ) : void
group UUID The Group ID to send proposal to
prop GroupProposal GroupProposal structure containing the proposal
리턴 void

UpdateGroup() 공개 메소드

Update a group's profile and other information
public UpdateGroup ( UUID id, Group group ) : void
id UUID Groups ID (UUID) to update.
group Group Group struct to update.
리턴 void

UpdateRole() 공개 메소드

Update role information
public UpdateRole ( GroupRole role ) : void
role GroupRole Modified role to be updated
리턴 void

프로퍼티 상세

GroupMembersCaches 공개적으로 프로퍼티

A list of all the lists of group members, indexed by the group ID
public InternalDictionary> GroupMembersCaches
리턴 InternalDictionary>

GroupName2KeyCache 공개적으로 프로퍼티

Caches group name lookups
public InternalDictionary GroupName2KeyCache
리턴 string>.InternalDictionary

GroupRolesCaches 공개적으로 프로퍼티

A list of all the lists of group roles, indexed by the group ID
public InternalDictionary> GroupRolesCaches
리턴 InternalDictionary>

GroupRolesMembersCaches 공개적으로 프로퍼티

A list of all the role to member mappings, indexed by the group ID
public InternalDictionary>> GroupRolesMembersCaches
리턴 InternalDictionary>>