Static helper functions and global
variables
Declaration Syntax
C# |
public static class Helpers
Members
All Members | Methods | Fields | |||
|
|
|
Icon | Member | Description |
---|---|---|
CopyStream(Stream, Stream) |
|
|
FloatToTerseString(Single) |
Converts a floating point number to a terse
string format used for transmitting numbers in wearable asset
files
|
|
GetResourceStream(String) |
Attempts to load a file embedded in the
assembly
|
|
GetResourceStream(String, String) |
Attempts to load a file either embedded in the
assembly or found in a given search path
|
|
GlobalPosToRegionHandle(Single, Single, Single % , Single % ) |
Given an X/Y location in absolute
(grid-relative) terms, a region handle is returned along with the
local X/Y location in that region
|
|
InventoryCRC(Int32, Byte, SByte, SByte, UUID, UUID, Int32, UUID, UUID, UUID, UUID, UInt32, UInt32, UInt32, UInt32, UInt32) |
Calculates the CRC (cyclic redundancy check)
needed to upload inventory.
|
|
MSG_APPENDED_ACKS |
This header flag signals that ACKs are
appended to the packet
|
|
MSG_RELIABLE |
This header flags signals that an ACK is
expected for this packet
|
|
MSG_RESENT |
This header flag signals that this packet has
been sent before
|
|
MSG_ZEROCODED |
This header flag signals that the message is
compressed using zerocoding
|
|
OSDToPrimList(OSD) |
Deserializes OSD in to a list of
primitives
|
|
PrimListToOSD(List < (Of < <' ( Primitive > ) > > ) ) |
Converts a list of primitives to an object
that can be serialized with the LLSD system
|
|
StructToString(Object) |
Converts a struct or class object containing
fields only into a key value separated string
|
|
TEGlowByte(Single) |
|
|
TEGlowFloat( array< Byte > [] () [] [] , Int32) |
|
|
TEOffsetFloat( array< Byte > [] () [] [] , Int32) |
|
|
TEOffsetShort(Single) |
|
|
TERotationFloat( array< Byte > [] () [] [] , Int32) |
|
|
TERotationShort(Single) |
|
|
ZCompressOSD(OSD) |
|
|
ZDecompressOSD( array< Byte > [] () [] [] ) |
|
|
ZeroDecode( array< Byte > [] () [] [] , Int32, array< Byte > [] () [] [] ) |
Decode a zerocoded byte array, used to
decompress packets marked with the zerocoded flag
|
|
ZeroEncode( array< Byte > [] () [] [] , Int32, array< Byte > [] () [] [] ) |
Encode a byte array with zerocoding. Used to
compress packets marked with the zerocoded flag. Any zeroes in the
array are compressed down to a single zero byte followed by a count
of how many zeroes to expand out. A single zero becomes 0x00 0x01,
two zeroes becomes 0x00 0x02, three zeroes becomes 0x00 0x03, etc.
The first four bytes are copied directly to the output
buffer.
|
Inheritance Hierarchy
Object | |
Helpers |
Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)