OpenMetaverse Protocol Library Developers API Documentation
GridClient Class
NamespacesOpenMetaverseGridClient
Main class to expose grid functionality to clients. All of the classes needed for sending and receiving data are accessible through this class.
Declaration Syntax
C#
public 
class 
GridClient
Members
All Members Constructors Methods Fields



Icon 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

Stats
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
  Copy imageCopy
// 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();
        }
    }
}
Inheritance Hierarchy
Object
GridClient

Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)