com.onlineobject.objectnet Namespace

NetworkElementBase Members

The NetworkElementBase type exposes the following members.

Constructors


  Name Description
Public method NetworkElementBase(INetworkContainer, BehaviorMode, Int32)
Constructor for creating a network element with a specified container, behavior mode, and network ID.
Public method NetworkElementBase(INetworkContainer, Int32)
Constructor for creating a network element with a specified container and network ID.
Public method NetworkElementBase(INetworkContainer, GameObject, BehaviorMode, Int32)
Constructor for creating a network element with a specified container, linked GameObject, behavior mode, and network ID.
Public method NetworkElementBase(INetworkContainer, GameObject, Int32)
Constructor for creating a network element with a specified container, linked GameObject, and network ID.
Public method NetworkElementBase(INetworkContainer, MonoBehaviour, BehaviorMode, Int32)
Constructor for creating a network element with a specified container, linked MonoBehaviour, behavior mode, and network ID.
Public method NetworkElementBase(INetworkContainer, MonoBehaviour, Int32)
Constructor for creating a network element with a specified container, linked MonoBehaviour, and network ID.

Methods


  Name Description
Public method ConfigureSendMethod
Configures the method used for sending data.
Public method DetectOwner
Detects if the current instance is the owner based on the provided network ID.
Public method GetActiveRate
Gets the active rate of the network object.
Public method GetBehavior<(Of <<'(T>)>>)
Retrieves a behavior of a specific type from the network object.
Public method GetContainer
Gets the network container.
Public method GetDeliveryMode
Gets the current delivery mode for network operations.
Public method GetDeviceBehavior<(Of <<'(T>)>>)
Retrieves the device behavior of the specified type.
Public method GetGameObject
Gets the associated GameObject.
Public method GetMode
Gets the current behavior mode of the network object.
Public method GetNetworkId
Gets the network ID.
Public method GetNetworkSessionId
Gets the network session ID.
Public method GetPassiveRate
Gets the passive rate of the network object.
Public method GetPlayerId
Gets the player ID of the network object.
Public method GetTransport
Gets the transport channel.
Public method GetWritterStream
Retrieves the writer data stream associated with this network object.
Public method HasBehavior<(Of <<'(T>)>>)
Checks if a behavior of a specific type is registered with the network object.
Public method HasDeviceBehavior<(Of <<'(T>)>>)
Checks if a device behavior of the specified type is registered.
Public method HasEvent
Checks if an event with the specified event code is already registered.
Public method InvokeEvent
Invokes the callback associated with the specified event code.
Public method IsActive
Determines if the network object is in an active state.
Public method IsOwner
Determines if the current instance is the owner.
Public method IsPassive
Determines if the network object is in a passive state.
Public method IsPlayer
Determines if the network object represents a player.
Public method Process
Processes network events and behaviors based on the network clock.
Public method RegisterBehavior<(Of <<'(T, E>)>>)
Registers a behavior with the network object.
Public method RegisterDeviceBehavior<(Of <<'(T, E>)>>)
Registers a device behavior with the network entity.
Public method RegisterEvent
Registers a new event with a callback action if it is not already registered.
Public method RegisterInputPacket
Registers an input packet into the network object's input queue.
Public method RegisterNetworkPacket
Registers a network packet to the internal packet queue.
Public method Send
Sends data using the configured send method.
Public method SetActiveRate
Sets the active rate of the network object and calculates the active frequency rate.
Public method SetDeliveryMode
Sets the delivery mode for network operations.
Public method SetEnableMinimunRate
Enable the minimum send rate
Public method SetGameObject
Sets the associated GameObject.
Public method SetIsPlayer
Sets the network player status of the object.
Public method SetMinimunRateValue
Configure minimum rate os sending messages
Public method SetMode
Sets the behavior mode of the network object.
Public method SetNetworkId
Sets the network ID.
Public method SetNetworkSessionId
Sets the network session ID.
Public method SetOwner
Sets the ownership status of the current instance.
Public method SetPassiveRate
Sets the passive rate of the network object and calculates the passive frequency rate.
Public method SetPlayerId
Sets the player ID for the network object.
Public method SetToComputeLocalDevice
Sets the device to compute locally.
Public method SetToComputeRemoteDevice
Sets the device to compute remotely.
Public method SetTransport
Sets the transport channel.
Public method SetWritterStream
Sets the writer data stream for this network object.
Public method UnregisterBehavior<(Of <<'(T>)>>)
Unregisters a behavior from the network object.
Public method UnregisterDeviceBehavior<(Of <<'(T>)>>)
Unregisters a device behavior of the specified type.
Public method UnregisterEvent
Unregisters an event associated with the specified event code.