C# 클래스 OpenMetaverse.Utilities.Realism

파일 보기 프로젝트 열기: Virtual-Universe/Virtual-LibOMV

공개 메소드들

메소드 설명
Chat ( GridClient client, string message ) : void

A psuedo-realistic chat function that uses the typing sound and animation, types at three characters per second, and randomly pauses. This function will block until the message has been sent

Chat ( GridClient client, string message, ChatType type, int cps ) : void

A psuedo-realistic chat function that uses the typing sound and animation, types at a given rate, and randomly pauses. This function will block until the message has been sent

Shoot ( GridClient client ) : bool

Enters mouselook, presses and releases the left mouse button, and leaves mouselook

Shoot ( GridClient client, System.Vector3 target ) : bool

Aims at the specified position, enters mouselook, presses and releases the left mouse button, and leaves mouselook

메소드 상세

Chat() 공개 정적인 메소드

A psuedo-realistic chat function that uses the typing sound and animation, types at three characters per second, and randomly pauses. This function will block until the message has been sent
public static Chat ( GridClient client, string message ) : void
client OpenMetaverse.GridClient A reference to the client that will chat
message string The chat message to send
리턴 void

Chat() 공개 정적인 메소드

A psuedo-realistic chat function that uses the typing sound and animation, types at a given rate, and randomly pauses. This function will block until the message has been sent
public static Chat ( GridClient client, string message, ChatType type, int cps ) : void
client OpenMetaverse.GridClient A reference to the client that will chat
message string The chat message to send
type ChatType The chat type (usually Normal, Whisper or Shout)
cps int Characters per second rate for chatting
리턴 void

Shoot() 공개 정적인 메소드

Enters mouselook, presses and releases the left mouse button, and leaves mouselook
public static Shoot ( GridClient client ) : bool
client OpenMetaverse.GridClient
리턴 bool

Shoot() 공개 정적인 메소드

Aims at the specified position, enters mouselook, presses and releases the left mouse button, and leaves mouselook
public static Shoot ( GridClient client, System.Vector3 target ) : bool
client OpenMetaverse.GridClient
target System.Vector3 Target to shoot at
리턴 bool