com.onlineobject.objectnet Namespace

NetworkObject Methods

The NetworkObject type exposes the following members.

Methods


  Name Description
Public method ConfigureNetworkInput
Configures the network input behavior.
Public method ExecuteNetworkProcess
Executes the network processing if the network has been initialized and the instance was identified.
Public method GetBehaviorMode
Retrieves the current behavior mode.
Public method GetClient
Retrieves the client associated with this network element.
Public method GetInput<(Of <<'(T>)>>)
Retrieves the input value of a specified type and name.
Public method GetNetworkElement
Retrieves the network element associated with the current instance.
Public method GetNetworkId
Retrieves the network ID associated with the network element.
Public method GetTransport
Retrieves the current network transport instance.
Public method HasEvent
Checks if an event with the specified event code is present.
Public method HasNetworkElement
Checks if the network element has been created.
Public method InitializeSerializableAttributes
Initializes the serializable attributes for position, rotation, and scale synchronization.
Public method InitializeSynchonizedFields
This method create all network variables from variables flagged to be synchronized
Public method InternalNetworkAwake
Called when the network is being initialized. This is a virtual method that can be overridden by derived classes to perform custom actions upon network awakening.
Public method InternalNetworkFixedUpdate
Called at a fixed time interval determined by the physics engine. This is a virtual method that can be overridden by derived classes to perform custom actions in sync with the physics engine's update cycle.
Public method InternalNetworkLateUpdate
Called after all Update functions have been called. This is a virtual method that can be overridden by derived classes to perform custom actions after the network update phase, such as post-processing actions.
Public method InternalNetworkStart
Called when the network starts. This is a virtual method that can be overridden by derived classes to perform custom actions at the start of the network lifecycle.
Public method InternalNetworkUpdate
Called every frame while the network is active. This is a virtual method that can be overridden by derived classes to perform custom actions during the network update phase.
Public method InvokeEvent
Invokes an event with the specified event code and passes a data stream to it.
Public method IsNetworkInitialized
Checks if the network has been initialized.
Public method IsOwner
Checks if the current instance is the owner of the network element.
Public method IsPlayer
Checks if this network element represents a player.
Public method RegisterEvent
Registers a callback action for a specific event code.
Public method RegisterInput<(Of <<'(T>)>>)
Registers an input with a specified name and type.
Public method RegisterSynchronizedVariable
Register a network variuable to be synchronized on clients
Public method Send
This will send a messages targered to this object on network This event will be redirected to the target network object
Public method SendObjectEvent
This will send a messages targered to this object on network This event will be redirected to the target network object
Public method SetAnimationDefaultStatus
Sets the default status for animations.
Public method SetAnimationLayerCount
Sets the count of animation layers.
Public method SetBehaviorMode
Sets the behavior mode for the network element and updates the element if it exists.
Public method SetClient
Sets the client associated with this network element.
Public method SetDeliveryMode
Sets the delivery mode for the network element and updates the element if it exists.
Public method SetIdentified
Sets the identified state of the network element.
Public method SetIsPlayer
Sets the state indicating whether this network element represents a player.
Public method SetNetworkId
Sets the network ID for the network element if it exists.
Public method SetRemoteControlsEnabled
Enables or disables remote controls.
Public method SetSendRate
Sets the send rate and updates the network element's active rate if it exists.
Public method SetSyncAnimation
Sets the synchronization state for animations.
Public method SetSyncAnimationMode
Sets the synchronization mode for animations.
Public method SetSyncParticles
Sets the synchronization state for particles.
Public method SetTransport
Sets the network transport and updates the transport for the network element if it exists.
Public method StartNetwork
Initializes the network by creating network elements and registering the object with the internal network executor.
Public method UnregisterEvent
Unregisters a previously registered event using its event code.
Public method WasIdentified
Checks if the network element has been identified.