C# 클래스 OpenMetaverse.AgentManager

파일 보기 프로젝트 열기: 3di/3di-viewer-rei-libs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Client GridClient
GroupChatSessions List>.InternalDictionary
Movement AgentMovement
SignaledAnimations int>.InternalDictionary

공개 메소드들

메소드 설명
AgentManager ( GridClient client ) : System

Constructor, setup callbacks for packets related to our avatar

Animate ( bool>.Dictionary animations, bool reliable ) : void

Send an AgentAnimation packet that will toggle animations on or off

AnimationStart ( UUID animation, bool reliable ) : void

Send an AgentAnimation packet that toggles a single animation on

AnimationStop ( UUID animation, bool reliable ) : void

Send an AgentAnimation packet that toggles a single animation off

AutoPilot ( double globalX, double globalY, double z ) : void

Use the autopilot sim function to move the avatar to a new position. Uses double precision to get precise movements

The z value is currently not handled properly by the simulator

AutoPilot ( ulong globalX, ulong globalY, float z ) : void

Use the autopilot sim function to move the avatar to a new position

The z value is currently not handled properly by the simulator

AutoPilotCancel ( ) : bool

Macro to cancel autopilot sim function

Not certain if this is how it is really done

AutoPilotLocal ( int localX, int localY, float z ) : void

Use the autopilot sim function to move the avatar to a new position

The z value is currently not handled properly by the simulator

BeamEffect ( UUID sourceAvatar, UUID targetObject, Vector3d globalOffset, Color4 color, float duration, UUID effectID ) : void

Create a particle beam between an avatar and an primitive

Chat ( string message, int channel, ChatType type ) : void

Send a chat message

CompleteAgentMovement ( Simulator simulator ) : void

Move an agent in to a simulator. This packet is the last packet needed to complete the transition in to a new simulator

Crouch ( bool crouching ) : void

Starts or stops crouching

DeGrab ( uint objectLocalID ) : void

Releases a grabbed object

Fly ( bool start ) : void

Starts or stops flying

GiveAvatarMoney ( UUID target, int amount ) : void

Give Money to destination Avatar

GiveAvatarMoney ( UUID target, int amount, string description ) : void

Give Money to destination Avatar

GiveGroupMoney ( UUID target, int amount ) : void

Give L$ to a group

GiveGroupMoney ( UUID target, int amount, string description ) : void

Give L$ to a group

GiveMoney ( UUID target, int amount, string description, MoneyTransactionType type, TransactionFlags flags ) : void

Give Money to destionation Object or Avatar

GiveObjectMoney ( UUID target, int amount, string objectName ) : void

Give L$ to an object

GoHome ( ) : bool

Teleports agent to their stored home location

Grab ( uint objectLocalID ) : void

Grabs an object

GrabUpdate ( UUID objectID, System.Vector3 grabPosition ) : void

Drags an object

GroupInviteRespond ( UUID groupID, UUID imSessionID, bool accept ) : void

Respond to a group invitation by either accepting or denying it

InstantMessage ( UUID target, string message ) : void

Send an Instant Message

InstantMessage ( UUID target, string message, UUID imSessionID ) : void

Send an Instant Message

InstantMessage ( string fromName, UUID target, string message, UUID imSessionID, InstantMessageDialog dialog, InstantMessageOnline offline, System.Vector3 position, UUID regionID, byte binaryBucket ) : void

Send an Instant Message

InstantMessage ( string fromName, UUID target, string message, UUID imSessionID, UUID conferenceIDs ) : void

Send an Instant Message

InstantMessageGroup ( UUID groupID, string message ) : void

Send an Instant Message to a group

InstantMessageGroup ( string fromName, UUID groupID, string message ) : void

Send an Instant Message to a group

This does not appear to function with groups the agent is not in

Jump ( bool jumping ) : void

Starts a jump (begin holding the jump key)

LookAtEffect ( UUID sourceAvatar, UUID targetObject, Vector3d globalOffset, LookAtType type, UUID effectID ) : void

Start a particle stream between an agent and an object

ModerateChatSessions ( UUID sessionID, UUID memberID, bool moderateText ) : void

Moderate a chat session

PayUploadFee ( ) : void

Pay texture/animation upload fee

PayUploadFee ( string description ) : void

Pay texture/animation upload fee

PickDelete ( UUID pickID ) : void

Delete profile pick

PickInfoUpdate ( UUID pickID, bool topPick, UUID parcelID, string name, Vector3d globalPosition, UUID textureID, string description ) : void

Create or update profile pick

PointAtEffect ( UUID sourceAvatar, UUID targetObject, Vector3d globalOffset, PointAtType type, UUID effectID ) : void

Start a particle stream between an agent and an object

ReplyToScriptDialog ( int channel, int buttonIndex, string buttonlabel, UUID objectID ) : void

Reply to script dialog questions.

RequestBalance ( ) : void

Request the current L$ balance

RequestJoinGroupChat ( UUID groupID ) : void

Send a request to join a group chat session

RequestLeaveGroupChat ( UUID groupID ) : void

Request self terminates group chat. This will stop Group IM's from showing up until session is rejoined or expires.

RequestMuteList ( ) : void

Request the list of muted objects and avatars for this agent

RequestScriptSensor ( string name, UUID searchID, ScriptSensorTypeFlags type, float range, float arc, UUID requestID, Simulator sim ) : void

Requests script detection of objects and avatars

RequestSit ( UUID targetID, System.Vector3 offset ) : void

Sends a request to sit on the specified object

RequestTeleport ( UUID landmark ) : void

Teleport agent to a landmark

RequestTeleport ( ulong regionHandle, System.Vector3 position ) : void

Request teleport to a another simulator

RequestTeleport ( ulong regionHandle, System.Vector3 position, System.Vector3 lookAt ) : void

Request teleport to a another simulator

RetrieveInstantMessages ( ) : void

Requests missed/offline messages

ScriptQuestionReply ( Simulator simulator, UUID itemID, UUID taskID, ScriptPermission permissions ) : void

Reply to script permissions request

SendTeleportLure ( UUID targetID ) : void

Send a teleport lure to another avatar with default "Join me in ..." invitation message

SendTeleportLure ( UUID targetID, string message ) : void

Send a teleport lure to another avatar with custom invitation message

SetHeightWidth ( ushort height, ushort width ) : void

Set the height and the width of the client window. This is used by the server to build a virtual camera frustum for our avatar

SetHome ( ) : void

Sets home location to agents current position

will fire an AlertMessage (E:OpenMetaverse.AgentManager.OnAlertMessage) with success or failure message

Sit ( ) : void

Follows a call to RequestSit to actually sit on the object

SitOnGround ( ) : void

Does a "ground sit" at the avatar's current position

Stand ( ) : bool

Stands up from sitting on a prim or the ground

Teleport ( UUID landmark ) : bool

Teleport agent to a landmark

Teleport ( string simName, System.Vector3 position ) : bool

Attempt to look up a simulator name and teleport to the discovered destination

Teleport ( string simName, System.Vector3 position, System.Vector3 lookAt ) : bool

Attempt to look up a simulator name and teleport to the discovered destination

Teleport ( ulong regionHandle, System.Vector3 position ) : bool

Teleport agent to another region

This call is blocking

Teleport ( ulong regionHandle, System.Vector3 position, System.Vector3 lookAt ) : bool

Teleport agent to another region

This call is blocking

TeleportLureRespond ( UUID requesterID, bool accept ) : void

Respond to a teleport lure by either accepting it and initiating the teleport, or denying it

Touch ( uint objectLocalID ) : void

Touches an object

UpdateInterests ( Avatar interests ) : void

Update agents profile interests

UpdateProfile ( Avatar profile ) : void

Update agent profile

VoiceEffect ( float volumeLevel ) : void

비공개 메소드들

메소드 설명
AgentDataUpdateHandler ( Packet packet, Simulator simulator ) : void
AlertMessageHandler ( Packet packet, Simulator simulator ) : void

Alert Message packet handler

AvatarAnimationHandler ( Packet packet, Simulator sim ) : void

AvatarSitResponseHandler ( Packet packet, Simulator simulator ) : void

Packet handler for AvatarSitResponse packet

BalanceHandler ( Packet packet, Simulator simulator ) : void

Update Client Avatar's L$ balance from incoming packet

CameraConstraintHandler ( Packet packet, Simulator simulator ) : void

detects camera constraint collisions

ChatHandler ( Packet packet, Simulator simulator ) : void

Take an incoming Chat packet, auto-parse, and if OnChat is defined call that with the appropriate arguments.

ChatterBoxInvitationHandler ( string capsKey, OSD osd, Simulator simulator ) : void

Group Chat Request

ChatterBoxSessionAgentListReplyHandler ( string capsKey, OSD osd, Simulator simulator ) : void

Someone joined or left group chat

ChatterBoxSessionEventHandler ( string capsKey, OSD osd, Simulator simulator ) : void

Group Chat event handler

ChatterBoxSessionStartReplyHandler ( string capsKey, OSD osd, Simulator simulator ) : void

Response from request to join a group chat

CrossedRegionHandler ( Packet packet, Simulator sim ) : void

Allows agent to cross over (walk, fly, vehicle) in to neighboring simulators

EstablishAgentCommunicationEventHandler ( string message, OSD osd, Simulator simulator ) : void
HealthHandler ( Packet packet, Simulator simulator ) : void

Update Client Avatar's health via incoming packet

InstantMessageHandler ( Packet packet, Simulator simulator ) : void

Take an incoming ImprovedInstantMessage packet, auto-parse, and if OnInstantMessage is defined call that with the appropriate arguments

LoadURLHandler ( Packet packet, Simulator simulator ) : void

Used for parsing llLoadURL Dialogs

MeanCollisionAlertHandler ( Packet packet, Simulator sim ) : void
MovementCompleteHandler ( Packet packet, Simulator simulator ) : void

Update client's Position, LookAt and region handle from incoming packet

This occurs when after an avatar moves into a new sim

Network_OnDisconnected ( NetworkManager reason, string message ) : void
Network_OnLoginResponse ( bool loginSuccess, bool redirect, string message, string reason, LoginResponseData reply ) : void
ScriptControlChangeHandler ( Packet packet, Simulator simulator ) : void

Handles Script Control changes when Script with permissions releases or takes a control

ScriptDialogHandler ( Packet packet, Simulator simulator ) : void

Used for parsing llDialogs

ScriptQuestionHandler ( Packet packet, Simulator simulator ) : void

Used for parsing llRequestPermissions dialogs

ScriptSensorReplyHandler ( Packet packet, Simulator simulator ) : void

Packet handler for ScriptSensorReply packet

TeleportFinishEventHandler ( string message, OSD osd, Simulator simulator ) : void

Process TeleportFinish from Event Queue and pass it onto our TeleportHandler

TeleportHandler ( Packet packet, Simulator simulator ) : void

Handler for teleport Requests

메소드 상세

AgentManager() 공개 메소드

Constructor, setup callbacks for packets related to our avatar
public AgentManager ( GridClient client ) : System
client GridClient A reference to the Class
리턴 System

Animate() 공개 메소드

Send an AgentAnimation packet that will toggle animations on or off
public Animate ( bool>.Dictionary animations, bool reliable ) : void
animations bool>.Dictionary A list of animation s, and whether to /// turn that animation on or off
reliable bool Whether to ensure delivery of this packet or not
리턴 void

AnimationStart() 공개 메소드

Send an AgentAnimation packet that toggles a single animation on
public AnimationStart ( UUID animation, bool reliable ) : void
animation UUID The of the animation to start playing
reliable bool Whether to ensure delivery of this packet or not
리턴 void

AnimationStop() 공개 메소드

Send an AgentAnimation packet that toggles a single animation off
public AnimationStop ( UUID animation, bool reliable ) : void
animation UUID The of a /// currently playing animation to stop playing
reliable bool Whether to ensure delivery of this packet or not
리턴 void

AutoPilot() 공개 메소드

Use the autopilot sim function to move the avatar to a new position. Uses double precision to get precise movements
The z value is currently not handled properly by the simulator
public AutoPilot ( double globalX, double globalY, double z ) : void
globalX double Global X coordinate to move to
globalY double Global Y coordinate to move to
z double Z coordinate to move to
리턴 void

AutoPilot() 공개 메소드

Use the autopilot sim function to move the avatar to a new position
The z value is currently not handled properly by the simulator
public AutoPilot ( ulong globalX, ulong globalY, float z ) : void
globalX ulong Integer value for the global X coordinate to move to
globalY ulong Integer value for the global Y coordinate to move to
z float Floating-point value for the Z coordinate to move to
리턴 void

AutoPilotCancel() 공개 메소드

Macro to cancel autopilot sim function
Not certain if this is how it is really done
public AutoPilotCancel ( ) : bool
리턴 bool

AutoPilotLocal() 공개 메소드

Use the autopilot sim function to move the avatar to a new position
The z value is currently not handled properly by the simulator
public AutoPilotLocal ( int localX, int localY, float z ) : void
localX int Integer value for the local X coordinate to move to
localY int Integer value for the local Y coordinate to move to
z float Floating-point value for the Z coordinate to move to
리턴 void

BeamEffect() 공개 메소드

Create a particle beam between an avatar and an primitive
public BeamEffect ( UUID sourceAvatar, UUID targetObject, Vector3d globalOffset, Color4 color, float duration, UUID effectID ) : void
sourceAvatar UUID of sources avatar
targetObject UUID of the target
globalOffset Vector3d global offset
color Color4 Color values of beam
duration float a float representing the duration the beam will last
effectID UUID of the Effect
리턴 void

Chat() 공개 메소드

Send a chat message
public Chat ( string message, int channel, ChatType type ) : void
message string The Message you're sending out.
channel int Channel number (0 would be default 'Say' message, other numbers /// denote the equivalent of /# in normal client).
type ChatType Chat Type, see above.
리턴 void

CompleteAgentMovement() 공개 메소드

Move an agent in to a simulator. This packet is the last packet needed to complete the transition in to a new simulator
public CompleteAgentMovement ( Simulator simulator ) : void
simulator Simulator Object
리턴 void

Crouch() 공개 메소드

Starts or stops crouching
public Crouch ( bool crouching ) : void
crouching bool True to start crouching, false to stop crouching
리턴 void

DeGrab() 공개 메소드

Releases a grabbed object
public DeGrab ( uint objectLocalID ) : void
objectLocalID uint The Objects Simulator Local ID
리턴 void

Fly() 공개 메소드

Starts or stops flying
public Fly ( bool start ) : void
start bool True to start flying, false to stop flying
리턴 void

GiveAvatarMoney() 공개 메소드

Give Money to destination Avatar
public GiveAvatarMoney ( UUID target, int amount ) : void
target UUID UUID of the Target Avatar
amount int Amount in L$
리턴 void

GiveAvatarMoney() 공개 메소드

Give Money to destination Avatar
public GiveAvatarMoney ( UUID target, int amount, string description ) : void
target UUID UUID of the Target Avatar
amount int Amount in L$
description string Description that will show up in the /// recipients transaction history
리턴 void

GiveGroupMoney() 공개 메소드

Give L$ to a group
public GiveGroupMoney ( UUID target, int amount ) : void
target UUID group to give money to
amount int amount of L$ to give
리턴 void

GiveGroupMoney() 공개 메소드

Give L$ to a group
public GiveGroupMoney ( UUID target, int amount, string description ) : void
target UUID group to give money to
amount int amount of L$ to give
description string description of transaction
리턴 void

GiveMoney() 공개 메소드

Give Money to destionation Object or Avatar
public GiveMoney ( UUID target, int amount, string description, MoneyTransactionType type, TransactionFlags flags ) : void
target UUID UUID of the Target Object/Avatar
amount int Amount in L$
description string Reason (Optional normally)
type MoneyTransactionType The type of transaction
flags TransactionFlags Transaction flags, mostly for identifying group /// transactions
리턴 void

GiveObjectMoney() 공개 메소드

Give L$ to an object
public GiveObjectMoney ( UUID target, int amount, string objectName ) : void
target UUID object to give money to
amount int amount of L$ to give
objectName string name of object
리턴 void

GoHome() 공개 메소드

Teleports agent to their stored home location
public GoHome ( ) : bool
리턴 bool

Grab() 공개 메소드

Grabs an object
public Grab ( uint objectLocalID ) : void
objectLocalID uint an unsigned integer of the objects ID within the simulator
리턴 void

GrabUpdate() 공개 메소드

Drags an object
public GrabUpdate ( UUID objectID, System.Vector3 grabPosition ) : void
objectID UUID of the object to drag
grabPosition System.Vector3 Drag target in region coordinates
리턴 void

GroupInviteRespond() 공개 메소드

Respond to a group invitation by either accepting or denying it
public GroupInviteRespond ( UUID groupID, UUID imSessionID, bool accept ) : void
groupID UUID UUID of the group (sent in the AgentID field of the invite message)
imSessionID UUID IM Session ID from the group invitation message
accept bool Accept the group invitation or deny it
리턴 void

InstantMessage() 공개 메소드

Send an Instant Message
public InstantMessage ( UUID target, string message ) : void
target UUID Target of the Instant Message
message string Text message being sent
리턴 void

InstantMessage() 공개 메소드

Send an Instant Message
public InstantMessage ( UUID target, string message, UUID imSessionID ) : void
target UUID Target of the Instant Message
message string Text message being sent
imSessionID UUID IM session ID (to differentiate between IM windows)
리턴 void

InstantMessage() 공개 메소드

Send an Instant Message
public InstantMessage ( string fromName, UUID target, string message, UUID imSessionID, InstantMessageDialog dialog, InstantMessageOnline offline, System.Vector3 position, UUID regionID, byte binaryBucket ) : void
fromName string The name this IM will show up as being from
target UUID Key of Avatar
message string Text message being sent
imSessionID UUID IM session ID (to differentiate between IM windows)
dialog InstantMessageDialog Type of instant message to send
offline InstantMessageOnline Whether to IM offline avatars as well
position System.Vector3 Senders Position
regionID UUID RegionID Sender is In
binaryBucket byte Packed binary data that is specific to /// the dialog type
리턴 void

InstantMessage() 공개 메소드

Send an Instant Message
public InstantMessage ( string fromName, UUID target, string message, UUID imSessionID, UUID conferenceIDs ) : void
fromName string The name this IM will show up as being from
target UUID Key of Avatar
message string Text message being sent
imSessionID UUID IM session ID (to differentiate between IM windows)
conferenceIDs UUID IDs of sessions for a conference
리턴 void

InstantMessageGroup() 공개 메소드

Send an Instant Message to a group
public InstantMessageGroup ( UUID groupID, string message ) : void
groupID UUID of the group to send message to
message string Text Message being sent.
리턴 void

InstantMessageGroup() 공개 메소드

Send an Instant Message to a group
This does not appear to function with groups the agent is not in
public InstantMessageGroup ( string fromName, UUID groupID, string message ) : void
fromName string The name this IM will show up as being from
groupID UUID of the group to send message to
message string Text message being sent
리턴 void

Jump() 공개 메소드

Starts a jump (begin holding the jump key)
public Jump ( bool jumping ) : void
jumping bool
리턴 void

LookAtEffect() 공개 메소드

Start a particle stream between an agent and an object
public LookAtEffect ( UUID sourceAvatar, UUID targetObject, Vector3d globalOffset, LookAtType type, UUID effectID ) : void
sourceAvatar UUID Key of the source agent
targetObject UUID Key of the target object
globalOffset Vector3d A representing the beams offset from the source
type LookAtType A which sets the avatars lookat animation
effectID UUID of the Effect
리턴 void

ModerateChatSessions() 공개 메소드

Moderate a chat session
public ModerateChatSessions ( UUID sessionID, UUID memberID, bool moderateText ) : void
sessionID UUID the of the session to moderate, for group chats this will be the groups UUID
memberID UUID the of the avatar to moderate
moderateText bool true to moderate (silence user), false to allow avatar to speak
리턴 void

PayUploadFee() 공개 메소드

Pay texture/animation upload fee
public PayUploadFee ( ) : void
리턴 void

PayUploadFee() 공개 메소드

Pay texture/animation upload fee
public PayUploadFee ( string description ) : void
description string description of the transaction
리턴 void

PickDelete() 공개 메소드

Delete profile pick
public PickDelete ( UUID pickID ) : void
pickID UUID UUID of the pick to delete
리턴 void

PickInfoUpdate() 공개 메소드

Create or update profile pick
public PickInfoUpdate ( UUID pickID, bool topPick, UUID parcelID, string name, Vector3d globalPosition, UUID textureID, string description ) : void
pickID UUID UUID of the pick to update, or random UUID to create a new pick
topPick bool Is this a top pick? (typically false)
parcelID UUID UUID of the parcel (UUID.Zero for the current parcel)
name string Name of the pick
globalPosition Vector3d Global position of the pick landmark
textureID UUID UUID of the image displayed with the pick
description string Long description of the pick
리턴 void

PointAtEffect() 공개 메소드

Start a particle stream between an agent and an object
public PointAtEffect ( UUID sourceAvatar, UUID targetObject, Vector3d globalOffset, PointAtType type, UUID effectID ) : void
sourceAvatar UUID Key of the source agent
targetObject UUID Key of the target object
globalOffset Vector3d
type PointAtType The type from the enum
effectID UUID A unique for this effect
리턴 void

ReplyToScriptDialog() 공개 메소드

Reply to script dialog questions.
public ReplyToScriptDialog ( int channel, int buttonIndex, string buttonlabel, UUID objectID ) : void
channel int Channel initial request came on
buttonIndex int Index of button you're "clicking"
buttonlabel string Label of button you're "clicking"
objectID UUID of Object that sent the dialog request
리턴 void

RequestBalance() 공개 메소드

Request the current L$ balance
public RequestBalance ( ) : void
리턴 void

RequestJoinGroupChat() 공개 메소드

Send a request to join a group chat session
public RequestJoinGroupChat ( UUID groupID ) : void
groupID UUID of Group to leave
리턴 void

RequestLeaveGroupChat() 공개 메소드

Request self terminates group chat. This will stop Group IM's from showing up until session is rejoined or expires.
public RequestLeaveGroupChat ( UUID groupID ) : void
groupID UUID of Group to leave
리턴 void

RequestMuteList() 공개 메소드

Request the list of muted objects and avatars for this agent
public RequestMuteList ( ) : void
리턴 void

RequestScriptSensor() 공개 메소드

Requests script detection of objects and avatars
public RequestScriptSensor ( string name, UUID searchID, ScriptSensorTypeFlags type, float range, float arc, UUID requestID, Simulator sim ) : void
name string name of the object/avatar to search for
searchID UUID UUID of the object or avatar to search for
type ScriptSensorTypeFlags Type of search from ScriptSensorTypeFlags
range float range of scan (96 max?)
arc float the arc in radians to search within
requestID UUID an user generated ID to correlate replies with
sim Simulator Simulator to perform search in
리턴 void

RequestSit() 공개 메소드

Sends a request to sit on the specified object
public RequestSit ( UUID targetID, System.Vector3 offset ) : void
targetID UUID of the object to sit on
offset System.Vector3 Sit at offset
리턴 void

RequestTeleport() 공개 메소드

Teleport agent to a landmark
public RequestTeleport ( UUID landmark ) : void
landmark UUID of the landmark to teleport agent to
리턴 void

RequestTeleport() 공개 메소드

Request teleport to a another simulator
public RequestTeleport ( ulong regionHandle, System.Vector3 position ) : void
regionHandle ulong handle of region to teleport agent to
position System.Vector3 position in destination sim to teleport to
리턴 void

RequestTeleport() 공개 메소드

Request teleport to a another simulator
public RequestTeleport ( ulong regionHandle, System.Vector3 position, System.Vector3 lookAt ) : void
regionHandle ulong handle of region to teleport agent to
position System.Vector3 position in destination sim to teleport to
lookAt System.Vector3 direction in destination sim agent will look at
리턴 void

RetrieveInstantMessages() 공개 메소드

Requests missed/offline messages
public RetrieveInstantMessages ( ) : void
리턴 void

ScriptQuestionReply() 공개 메소드

Reply to script permissions request
public ScriptQuestionReply ( Simulator simulator, UUID itemID, UUID taskID, ScriptPermission permissions ) : void
simulator Simulator Object
itemID UUID of the itemID requesting permissions
taskID UUID of the taskID requesting permissions
permissions ScriptPermission list of permissions to allow
리턴 void

SendTeleportLure() 공개 메소드

Send a teleport lure to another avatar with default "Join me in ..." invitation message
public SendTeleportLure ( UUID targetID ) : void
targetID UUID target avatars to lure
리턴 void

SendTeleportLure() 공개 메소드

Send a teleport lure to another avatar with custom invitation message
public SendTeleportLure ( UUID targetID, string message ) : void
targetID UUID target avatars to lure
message string custom message to send with invitation
리턴 void

SetHeightWidth() 공개 메소드

Set the height and the width of the client window. This is used by the server to build a virtual camera frustum for our avatar
public SetHeightWidth ( ushort height, ushort width ) : void
height ushort New height of the viewer window
width ushort New width of the viewer window
리턴 void

SetHome() 공개 메소드

Sets home location to agents current position
will fire an AlertMessage (E:OpenMetaverse.AgentManager.OnAlertMessage) with success or failure message
public SetHome ( ) : void
리턴 void

Sit() 공개 메소드

Follows a call to RequestSit to actually sit on the object
public Sit ( ) : void
리턴 void

SitOnGround() 공개 메소드

Does a "ground sit" at the avatar's current position
public SitOnGround ( ) : void
리턴 void

Stand() 공개 메소드

Stands up from sitting on a prim or the ground
public Stand ( ) : bool
리턴 bool

Teleport() 공개 메소드

Teleport agent to a landmark
public Teleport ( UUID landmark ) : bool
landmark UUID of the landmark to teleport agent to
리턴 bool

Teleport() 공개 메소드

Attempt to look up a simulator name and teleport to the discovered destination
public Teleport ( string simName, System.Vector3 position ) : bool
simName string Region name to look up
position System.Vector3 Position to teleport to
리턴 bool

Teleport() 공개 메소드

Attempt to look up a simulator name and teleport to the discovered destination
public Teleport ( string simName, System.Vector3 position, System.Vector3 lookAt ) : bool
simName string Region name to look up
position System.Vector3 Position to teleport to
lookAt System.Vector3 Target to look at
리턴 bool

Teleport() 공개 메소드

Teleport agent to another region
This call is blocking
public Teleport ( ulong regionHandle, System.Vector3 position ) : bool
regionHandle ulong handle of region to teleport agent to
position System.Vector3 position in destination sim to teleport to
리턴 bool

Teleport() 공개 메소드

Teleport agent to another region
This call is blocking
public Teleport ( ulong regionHandle, System.Vector3 position, System.Vector3 lookAt ) : bool
regionHandle ulong handle of region to teleport agent to
position System.Vector3 position in destination sim to teleport to
lookAt System.Vector3 direction in destination sim agent will look at
리턴 bool

TeleportLureRespond() 공개 메소드

Respond to a teleport lure by either accepting it and initiating the teleport, or denying it
public TeleportLureRespond ( UUID requesterID, bool accept ) : void
requesterID UUID of the avatar sending the lure
accept bool true to accept the lure, false to decline it
리턴 void

Touch() 공개 메소드

Touches an object
public Touch ( uint objectLocalID ) : void
objectLocalID uint an unsigned integer of the objects ID within the simulator
리턴 void

UpdateInterests() 공개 메소드

Update agents profile interests
public UpdateInterests ( Avatar interests ) : void
interests Avatar selection of interests from struct
리턴 void

UpdateProfile() 공개 메소드

Update agent profile
public UpdateProfile ( Avatar profile ) : void
profile Avatar struct containing updated /// profile information
리턴 void

VoiceEffect() 공개 메소드

public VoiceEffect ( float volumeLevel ) : void
volumeLevel float
리턴 void

프로퍼티 상세

Client 공개적으로 프로퍼티

Reference to the GridClient object
public GridClient,OpenMetaverse Client
리턴 GridClient

GroupChatSessions 공개적으로 프로퍼티

Dictionary containing current Group Chat sessions and members
public InternalDictionary> GroupChatSessions
리턴 List>.InternalDictionary

Movement 공개적으로 프로퍼티

Used for movement and camera tracking
public AgentMovement Movement
리턴 AgentMovement

SignaledAnimations 공개적으로 프로퍼티

Currently playing animations for the agent. Can be used to check the current movement status such as walking, hovering, aiming, etc. by checking for system animations in the Animations class
public InternalDictionary SignaledAnimations
리턴 int>.InternalDictionary