Alteruna.Multiplayer.Core Namespace

 

Classes

DeviceStatistics Class DeviceStatistics defines a container of statistics attributes for a given device.
Endpoint Device endpoint.
HistoryBufferT Generic circular buffer
InviteCode 
LogBase Abstract class LogBase defines a generic interface for all system logging used internally within the Trinity framework. May be extended in order to present logs in e.g a system console.
NetworkStatistics Class NetworkStatistics is responible for measuring network traffic on a device running software built with Trinity. Keeps track of peek load, momentary load and ackumulated traffic on both transmitting and receiving channels.
ProcedureParameters Parameters containing data to be sent together with Remote Procedure Calls.
Room The Room class defines a room in the network. Users can join and leave rooms and send data to all other users in the same room.
Service Alteruna service class.
ServiceRefreshAvailableRoomsArgs 
User User class containing index and name.

Structures

PackageOrderValidator Used to validate the order of packages.

Interfaces

IAdaptiveSerializable Interface ISerializable defines a generic interface for packing and unpacking a stream of bytes. Subclasses implementing this interface will be able to orderly read and write primitive types from the processor to assemble needed information to reconstruct an instance of data it exchange.
IAdaptiveSerializableIAdaptiveSerializableInfo Common interface for serialization info.
ISerializable Interface ISerializable defines a generic interface for packing and unpacking a stream of bytes. Subclasses implementing this interface will be able to orderly read and write primitive types from the processor to assemble needed information to reconstruct an instance of data it exchange.
IServiceListener Service event listener interface.
IServiceState Unused.
IServiceStateListener Service state event listener interface.
ITransportStreamReader Interface ITransportStreamReader defines a generic interface for reading from a generic transport stream
ITransportStreamWriter Interface ITransportStreamReader defines a generic interface for wrtiting to a generic transport stream

Delegates

LicenseRegisteredDel 
RemoteProcedure RPC delegate.
RemoteProcedureAck RPC ack delegate.
RemoteProcedureReply RPC reply delegate.

Enumerations

ConnectionStatus Type ConnectionStatus defines the state of a connection between two devices.
DeviceType Type DeviceType defines supported devices that is capable of running a compiled unit built with Alteruna Trinuty.
LogBaseSeverity Log severity grades.
PacketFlags 
PacketType Class Playroom abstracts an available playroom with a host and alphanumeric ID/name.
Reliability Type Reliability defines modes of reliability for messages sent using Trinity Network Protocol
ResponseCodeResponsoCodes enumation of all valid return codes that may be reported from operations in Trinity Network Protocol.
ServiceRefreshAvailableRoomsModeFlag for what to check
SessionID Type Session defines constant for

Field Value

Any session. Used for filtering purposes to allow any organization to connect and use the provided functionality.
SessionState Enum SessionState models attributes of a session, such as its ID, maximum number of users and current quota.
UserId User Indexes to target multiple users.