interface INetworkedDataHandler (Niantic.ARDK.Networking.HLAPI.INetworkedDataHandler)
Overview
Interface for a data handler that is attached to the HLAPI through an INetworkGroup. More...
interface INetworkedDataHandler { // properties INetworkGroup Group; string Identifier; // methods void Unregister(); }; // direct descendants interface IAuthorityReplicator; interface INetworkGroup; class NetworkedDataHandlerBase; template <TMessage> interface IMessageStreamReplicator; template <TValue> interface INetworkedField;
Detailed Documentation
Interface for a data handler that is attached to the HLAPI through an INetworkGroup.
注釈
Implement custom data handlers by extending NetworkedDataHandlerBase
rather than this class. The protected methods in that abstract class define the data handler's behaviour with sending/receiving data. However, users should never call those methods, as it is the role of the INetworkGroup to send/receive data.
Properties
INetworkGroup Group
Group that this data handler is attached to.
string Identifier
Unique identifier for this data handler. Two handlers with the same Identifier cannot be registered to the same INetworkGroup
Methods
void Unregister()
Unregister this handler from its current group.