C# 클래스 OpenMetaverse.Simulator

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

공개 프로퍼티들

프로퍼티 타입 설명
Access SimAccess
BillableFactor float
Caps Caps
Client GridClient
Estate EstateTools
Flags RegionFlags
Handle ulong
ID UUID
IsEstateManager bool
Name string
ObjectsAvatars Avatar>.InternalDictionary
ObjectsPrimitives Primitive>.InternalDictionary
ParcelOverlay byte[]
ParcelOverlaysReceived int
Parcels Parcel>.InternalDictionary
Sequence SequenceNumberCounter
SimOwner UUID
SimVersion string
Stats SimStats
TerrainBase0 UUID
TerrainBase1 UUID
TerrainBase2 UUID
TerrainBase3 UUID
TerrainDetail0 UUID
TerrainDetail1 UUID
TerrainDetail2 UUID
TerrainDetail3 UUID
TerrainHeightRange00 float
TerrainHeightRange01 float
TerrainHeightRange10 float
TerrainHeightRange11 float
TerrainStartHeight00 float
TerrainStartHeight01 float
TerrainStartHeight10 float
TerrainStartHeight11 float
WaterHeight float

공개 메소드들

메소드 설명
Connect ( bool moveToSim ) : bool

Attempt to connect to this simulator

Disconnect ( bool sendCloseCircuit ) : void

Disconnect from this simulator

Dispose ( ) : void

Called when this Simulator object is being destroyed

Equals ( object obj ) : bool

GetHashCode ( ) : int

IsParcelMapFull ( ) : bool

Checks simulator parcel map to make sure it has downloaded all data successfully

Pause ( ) : void

Instructs the simulator to stop sending update (and possibly other) packets

Resume ( ) : void

Instructs the simulator to resume sending update packets (unpause)

SendPacket ( NetworkManager outgoingPacket ) : void

Sends a packet

SendPacket ( Packet packet, bool setSequence ) : void

Sends a packet

SendPacketUnqueued ( NetworkManager outgoingPacket ) : void

Sends a packet directly to the simulator without queuing

SendPacketUnqueued ( byte payload, bool setSequence ) : void

Send a raw byte array payload as a packet

SendPing ( ) : void

SetSeedCaps ( string seedcaps ) : void
Simulator ( GridClient client, IPEndPoint address, ulong handle ) : System

ToString ( ) : string

Returns Simulator Name as a String

operator ( ) : bool

보호된 메소드들

메소드 설명
PacketReceived ( UDPPacketBuffer buffer ) : void
PacketSent ( UDPPacketBuffer buffer, int bytesSent ) : void

비공개 메소드들

메소드 설명
AckTimer_Elapsed ( object obj ) : void
PingTimer_Elapsed ( object obj ) : void
ResendUnacked ( ) : void

Resend unacknowledged packets

SendAcks ( ) : void

Sends out pending acknowledgements

StatsTimer_Elapsed ( object obj ) : void

메소드 상세

Connect() 공개 메소드

Attempt to connect to this simulator
public Connect ( bool moveToSim ) : bool
moveToSim bool Whether to move our agent in to this sim or not
리턴 bool

Disconnect() 공개 메소드

Disconnect from this simulator
public Disconnect ( bool sendCloseCircuit ) : void
sendCloseCircuit bool
리턴 void

Dispose() 공개 메소드

Called when this Simulator object is being destroyed
public Dispose ( ) : void
리턴 void

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

IsParcelMapFull() 공개 메소드

Checks simulator parcel map to make sure it has downloaded all data successfully
public IsParcelMapFull ( ) : bool
리턴 bool

PacketReceived() 보호된 메소드

protected PacketReceived ( UDPPacketBuffer buffer ) : void
buffer UDPPacketBuffer
리턴 void

PacketSent() 보호된 메소드

protected PacketSent ( UDPPacketBuffer buffer, int bytesSent ) : void
buffer UDPPacketBuffer
bytesSent int
리턴 void

Pause() 공개 메소드

Instructs the simulator to stop sending update (and possibly other) packets
public Pause ( ) : void
리턴 void

Resume() 공개 메소드

Instructs the simulator to resume sending update packets (unpause)
public Resume ( ) : void
리턴 void

SendPacket() 공개 메소드

Sends a packet
public SendPacket ( NetworkManager outgoingPacket ) : void
outgoingPacket NetworkManager Packet to be sent
리턴 void

SendPacket() 공개 메소드

Sends a packet
public SendPacket ( Packet packet, bool setSequence ) : void
packet Packet Packet to be sent
setSequence bool True to set the sequence number, false to /// leave it as is
리턴 void

SendPacketUnqueued() 공개 메소드

Sends a packet directly to the simulator without queuing
public SendPacketUnqueued ( NetworkManager outgoingPacket ) : void
outgoingPacket NetworkManager Packet to be sent
리턴 void

SendPacketUnqueued() 공개 메소드

Send a raw byte array payload as a packet
public SendPacketUnqueued ( byte payload, bool setSequence ) : void
payload byte The packet payload
setSequence bool Whether the second, third, and fourth bytes /// should be modified to the current stream sequence number
리턴 void

SendPing() 공개 메소드

public SendPing ( ) : void
리턴 void

SetSeedCaps() 공개 메소드

public SetSeedCaps ( string seedcaps ) : void
seedcaps string
리턴 void

Simulator() 공개 메소드

public Simulator ( GridClient client, IPEndPoint address, ulong handle ) : System
client GridClient Reference to the GridClient object
address IPEndPoint IPEndPoint of the simulator
handle ulong handle of the simulator
리턴 System

ToString() 공개 메소드

Returns Simulator Name as a String
public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool

프로퍼티 상세

Access 공개적으로 프로퍼티

public SimAccess Access
리턴 SimAccess

BillableFactor 공개적으로 프로퍼티

public float BillableFactor
리턴 float

Caps 공개적으로 프로퍼티

The capabilities for this simulator
public Caps,OpenMetaverse Caps
리턴 Caps

Client 공개적으로 프로퍼티

A public reference to the client that this Simulator object is attached to
public GridClient,OpenMetaverse Client
리턴 GridClient

Estate 공개적으로 프로퍼티

public EstateTools Estate
리턴 EstateTools

Flags 공개적으로 프로퍼티

public RegionFlags Flags
리턴 RegionFlags

Handle 공개적으로 프로퍼티

public ulong Handle
리턴 ulong

ID 공개적으로 프로퍼티

public UUID ID
리턴 UUID

IsEstateManager 공개적으로 프로퍼티

public bool IsEstateManager
리턴 bool

Name 공개적으로 프로퍼티

public string Name
리턴 string

ObjectsAvatars 공개적으로 프로퍼티

Provides access to two thread-safe dictionaries containing avatars and primitives found in this simulator
public InternalDictionary ObjectsAvatars
리턴 Avatar>.InternalDictionary

ObjectsPrimitives 공개적으로 프로퍼티

public InternalDictionary ObjectsPrimitives
리턴 Primitive>.InternalDictionary

ParcelOverlay 공개적으로 프로퍼티

A 64x64 grid of parcel coloring values. The values stored in this array are of the ParcelArrayType type
public byte[] ParcelOverlay
리턴 byte[]

ParcelOverlaysReceived 공개적으로 프로퍼티

public int ParcelOverlaysReceived
리턴 int

Parcels 공개적으로 프로퍼티

Provides access to an internal thread-safe dictionary containing parcel information found in this simulator
public InternalDictionary Parcels
리턴 Parcel>.InternalDictionary

Sequence 공개적으로 프로퍼티

The current sequence number for packets sent to this simulator. Must be Interlocked before modifying. Only useful for applications manipulating sequence numbers
public SequenceNumberCounter Sequence
리턴 SequenceNumberCounter

SimOwner 공개적으로 프로퍼티

public UUID SimOwner
리턴 UUID

SimVersion 공개적으로 프로퍼티

The current version of software this simulator is running
public string SimVersion
리턴 string

Stats 공개적으로 프로퍼티

Statistics information for this simulator and the connection to the simulator, calculated by the simulator itself and the library
public SimStats Stats
리턴 SimStats

TerrainBase0 공개적으로 프로퍼티

public UUID TerrainBase0
리턴 UUID

TerrainBase1 공개적으로 프로퍼티

public UUID TerrainBase1
리턴 UUID

TerrainBase2 공개적으로 프로퍼티

public UUID TerrainBase2
리턴 UUID

TerrainBase3 공개적으로 프로퍼티

public UUID TerrainBase3
리턴 UUID

TerrainDetail0 공개적으로 프로퍼티

public UUID TerrainDetail0
리턴 UUID

TerrainDetail1 공개적으로 프로퍼티

public UUID TerrainDetail1
리턴 UUID

TerrainDetail2 공개적으로 프로퍼티

public UUID TerrainDetail2
리턴 UUID

TerrainDetail3 공개적으로 프로퍼티

public UUID TerrainDetail3
리턴 UUID

TerrainHeightRange00 공개적으로 프로퍼티

public float TerrainHeightRange00
리턴 float

TerrainHeightRange01 공개적으로 프로퍼티

public float TerrainHeightRange01
리턴 float

TerrainHeightRange10 공개적으로 프로퍼티

public float TerrainHeightRange10
리턴 float

TerrainHeightRange11 공개적으로 프로퍼티

public float TerrainHeightRange11
리턴 float

TerrainStartHeight00 공개적으로 프로퍼티

public float TerrainStartHeight00
리턴 float

TerrainStartHeight01 공개적으로 프로퍼티

public float TerrainStartHeight01
리턴 float

TerrainStartHeight10 공개적으로 프로퍼티

public float TerrainStartHeight10
리턴 float

TerrainStartHeight11 공개적으로 프로퍼티

public float TerrainStartHeight11
리턴 float

WaterHeight 공개적으로 프로퍼티

public float WaterHeight
리턴 float