|
|||||||||
Atavism Version 2018.1 | AGIS API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatavism.server.voice.GroupMember
atavism.server.voice.PositionalGroupMember
public class PositionalGroupMember
A class that extends GroupMmeber to hold the members in radius of this member.
Field Summary | |
---|---|
Point |
lastLoc
The last interpolated location of the world node. |
java.util.Set<PositionalGroupMember> |
membersInRadius
The set of GroupMembers within the audible radius of this member |
java.util.Set<OID> |
perceivedOids
The set of object oids perceived by this member. |
Point |
previousLoc
The previous interpolated location of the entity, used to detect if the entity has moved. |
InterpolatedWorldNode |
wnode
The world node for this group member. |
Fields inherited from class atavism.server.voice.GroupMember |
---|
allowedSpeaker, currentSpeaker, expunged, group, index, indexCounter, listening, memberCon, memberOid, priority, priorityIndex, voiceNumber |
Constructor Summary | |
---|---|
PositionalGroupMember(VoiceGroup group,
OID memberOid,
int priority,
boolean allowedSpeaker,
boolean currentSpeaker,
VoiceConnection memberCon,
int maxVoiceChannels)
PositionalGroupMember constructor |
Method Summary | |
---|---|
Point |
getCurrentLoc()
Return the member's current location, or null, if he has none. |
OID |
getInstanceOid()
Return the instance oid, if the member has a wnode. |
Methods inherited from class atavism.server.voice.GroupMember |
---|
addIgnoredSpeakerOids, applyIgnoreUpdateMessage, findFreeVoiceNumber, findVoiceNumberForSpeaker, getExpunged, getGroup, getGroupOid, getMemberOid, getSpeakerForVoiceNumber, initializeIgnoredSpeakers, logString, membersListeningToSpeaker, nowListeningTo, removeIgnoredSpeakerOids, setExpunged, setSpeakerForVoiceNumber, speakerIgnored, toString, voiceCount |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public InterpolatedWorldNode wnode
public Point lastLoc
public Point previousLoc
public java.util.Set<OID> perceivedOids
public java.util.Set<PositionalGroupMember> membersInRadius
Constructor Detail |
---|
public PositionalGroupMember(VoiceGroup group, OID memberOid, int priority, boolean allowedSpeaker, boolean currentSpeaker, VoiceConnection memberCon, int maxVoiceChannels)
group
- The group to which the member belongs.memberOid
- The oid of the new member.priority
- The speaking priority that the member should be
assigned; speakers with higher priorities will be heard over
speakers with lower priorities.allowedSpeaker
- True if the new member should be allowed
to speak; false otherwise.currentSpeaker
- True if the new member should be created speaking.memberCon
- The VoiceConnection object that embodies
the connection to the voice server.maxVoiceChannels
- The maximum number of simultaneous voice
channels going to any listener.Method Detail |
---|
public OID getInstanceOid()
public Point getCurrentLoc()
|
Copyright © 2018 Dragonsan Studios Sp. z o.o. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |