C# Class OpenMetaverse.Utilities.Realism

Afficher le fichier Open project: Virtual-Universe/Virtual-LibOMV

Méthodes publiques

Méthode Description
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

Method Details

Chat() public static méthode

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
Résultat void

Chat() public static méthode

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
Résultat void

Shoot() public static méthode

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

Shoot() public static méthode

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
Résultat bool