Show / Hide Table of Contents

Class NetDriver

Net Driver

Inheritance
System.Object
UObject
NetDriver
DemoNetDriver
WebSocketNetDriver
IpNetDriver
Inherited Members
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class NetDriver : UObject

Properties

| Improve this Doc View Source

ActorChannelPool

List of channels that were previously used and can be used again

Declaration
public ObjectArrayField<Channel> ActorChannelPool { get; }
Property Value
Type Description
ObjectArrayField<Channel>
| Improve this Doc View Source

bClampListenServerTickRate

Declaration
public bool bClampListenServerTickRate { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bNoTimeouts

Declaration
public bool bNoTimeouts { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ClientConnections

Array of connections to clients (this net driver is a host) - unsorted, and ordering changes depending on actor replication

Declaration
public ObjectArrayField<NetConnection> ClientConnections { get; }
Property Value
Type Description
ObjectArrayField<NetConnection>
| Improve this Doc View Source

ConnectionTimeout

Amount of time to wait before considering an established connection timed out.

Declaration
public float ConnectionTimeout { get; set; }
Property Value
Type Description
System.Single
Remarks

Typically shorter than the time to wait on a new connection because this connection should already have been setup and any interruption should be trapped quicker.

| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static NetDriver DefaultObject { get; }
Property Value
Type Description
NetDriver
| Improve this Doc View Source

InitialConnectTimeout

Amount of time to wait for a new net connection to be established before destroying the connection

Declaration
public float InitialConnectTimeout { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

KeepAliveTime

@todo document

Declaration
public float KeepAliveTime { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

MaxClientRate

@todo document

Declaration
public int MaxClientRate { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MaxDownloadSize

@todo document

Declaration
public int MaxDownloadSize { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

MaxInternetClientRate

@todo document

Declaration
public int MaxInternetClientRate { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

NetConnectionClass

The loaded UClass of the net connection type to use

Declaration
public SubclassOf<UObject> NetConnectionClass { get; set; }
Property Value
Type Description
SubclassOf<UObject>
| Improve this Doc View Source

NetDriverName

Used to specify the net driver to filter actors with (NAME_None || NAME_GameNetDriver is the default net driver)

Declaration
public Name NetDriverName { get; set; }
Property Value
Type Description
Name
| Improve this Doc View Source

NetServerMaxTickRate

@todo document

Declaration
public int NetServerMaxTickRate { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

RelevantTimeout

@todo document

Declaration
public float RelevantTimeout { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

RemoteRoleProperty

@todo document

Declaration
public Property RemoteRoleProperty { get; set; }
Property Value
Type Description
Property
| Improve this Doc View Source

ReplicationDriver

Replication Driver

Declaration
public ReplicationDriver ReplicationDriver { get; set; }
Property Value
Type Description
ReplicationDriver
| Improve this Doc View Source

ReplicationDriverClass

Replication Driver Class

Declaration
public SubclassOf<UObject> ReplicationDriverClass { get; set; }
Property Value
Type Description
SubclassOf<UObject>
| Improve this Doc View Source

RoleProperty

@todo document

Declaration
public Property RoleProperty { get; set; }
Property Value
Type Description
Property
| Improve this Doc View Source

ServerConnection

Connection to the server (this net driver is a client)

Declaration
public NetConnection ServerConnection { get; set; }
Property Value
Type Description
NetConnection
| Improve this Doc View Source

ServerTravelPause

Amount of time a server will wait before traveling to next map, gives clients time to receive final RPCs on existing level @see NextSwitchCountdown

Declaration
public float ServerTravelPause { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

SpawnPrioritySeconds

@todo document

Declaration
public float SpawnPrioritySeconds { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class
| Improve this Doc View Source

Time

Accumulated time for the net driver, updated by Tick

Declaration
public float Time { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

TimeoutMultiplierForUnoptimizedBuilds

A multiplier that is applied to the above values when we are running with unoptimized builds (debug) or data (uncooked).

Declaration
public float TimeoutMultiplierForUnoptimizedBuilds { get; set; }
Property Value
Type Description
System.Single
Remarks

This allows us to retain normal timeout behavior while debugging without resorting to the nuclear 'notimeouts' option or bumping the values above. If ==0 multiplier = 1

| Improve this Doc View Source

World

World this net driver is associated with

Declaration
public World World { get; set; }
Property Value
Type Description
World
| Improve this Doc View Source

WorldPackage

World Package

Declaration
public Package WorldPackage { get; set; }
Property Value
Type Description
Package

Methods

| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static NetDriver New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
NetDriver

Operators

| Improve this Doc View Source

Implicit(IntPtr to NetDriver)

Convert from IntPtr to UObject

Declaration
public static implicit operator NetDriver(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
NetDriver
  • Improve this Doc
  • View Source
Back to top Generated by DocFX