[This is preliminary documentation and is subject to change.]
Main class to expose grid functionality to clients. All of the
classes needed for sending and receiving data are accessible through
this class.
Namespace:
OpenMetaverseAssembly: OpenMetaverse (in OpenMetaverse.dll) Version: 1.0.0.20057
Syntax
| C# | Visual Basic | Visual C++ |
public class GridClient
Public Class GridClient
public ref class GridClient
Members
| All Members | Constructors | Fields | Methods |
| Member | Description | |
|---|---|---|
| GridClient()()() |
Default constructor
| |
| Appearance | Appearance subsystem | |
| Assets | Asset subsystem | |
| Avatars | Other avatars subsystem | |
| Directory | Directory searches including classifieds, people, land
sales, etc | |
| Estate | Estate subsystem | |
| Friends | Friends list subsystem | |
| Grid | Grid (aka simulator group) subsystem | |
| Groups | Group subsystem | |
| Inventory | Inventory subsystem | |
| Network | Networking subsystem | |
| Objects | Object subsystem | |
| Parcels | Parcel (subdivided simulator lots) subsystem | |
| Self | Our own avatars subsystem | |
| Settings | Settings class including constant values and changeable
parameters for everything | |
| Sound | Handles sound-related networking | |
| Terrain | Handles land, wind, and cloud heightmaps | |
| Throttle | Throttling total bandwidth usage, or allocating bandwidth
for specific data stream types | |
| ToString()()() |
Return the full name of this instance
(Overrides Object..::.ToString()()().) |
Examples
// Example minimum code required to instantiate class and // connect to a simulator. using System; using System.Collections.Generic; using System.Text; using OpenMetaverse; namespace FirstBot { class Bot { public static GridClient Client; static void Main(string[] args) { Client = new GridClient(); // instantiates the GridClient class // to the global Client object // Login to Simulator Client.Network.Login("FirstName", "LastName", "Password", "FirstBot", "1.0"); // Wait for a Keypress Console.ReadLine(); // Logout of simulator Client.Network.Logout(); } } }
