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 
NameGenerator Class NameGenerator generates names from a random animal and adjective.
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.
PacketBase Class PacketBase is the base class for all packet types representing the underlaying functional primitives as well as classes for synchronizing application states.
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.
ServiceOpenPortArgs 
ServiceRefreshAvailableRoomsArgs 
ServiceServiceArgs Represents the arguments for configuring and initializing an Alteruna service.
ServiceListener Base implementation of IServiceListener where every event does nothing. Derive from it and override only the events you need.
SystemMonitor 
User User class containing index and name.

Structures

OpenedPorts Return object for when opening ports.
PackageOrderValidator Used to validate the order of packages.
PackageOrderValidatorNone Used instead of PackageOrderValidator when order validation is not needed and should always should be valid.

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.
IHostRelayer Interface IHostRelayer defines a generic interface for host relaying. Host relaying is the process of seemlessy relay a connection attempt to another host and is part of Trinity's connection establishment process.
IPackageOrderValidator Used to validate the order of packages.
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.
IServiceEventListener Service event listener interface.
IServiceListener Defines a listener interface that provides mechanisms for receiving and handling events related to service activities and state changes in a multiplayer context.
IServiceState Unused.
IServiceStateListener Service state event listener interface.
ITransportStream 
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 Callback invoked when the Alteruna license has been validated and registered with the service.
RemoteProcedure RPC delegate.
RemoteProcedureAck RPC ack delegate.
RemoteProcedureReply RPC reply delegate.

Enumerations

ConnectionStatus Type ConnectionStatus defines the state of a connection between two devices.
DataType Identifies the primitive data type of a value stored in a ProcedureParameters container or used within the framework's serialization pipeline.
DeviceType Hardware of a device.
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.
ServiceOpenPortArgsDiscoveryMode 
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.