Show / Hide Table of Contents

Class NetConnection

Delegates

Inheritance
System.Object
UObject
Player
NetConnection
ChildConnection
DemoNetConnection
SimulatedClientNetConnection
WebSocketConnection
IpConnection
Inherited Members
Player.PlayerController
Player.CurrentNetSpeed
Player.ConfiguredInternetSpeed
Player.ConfiguredLanSpeed
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 NetConnection : Player

Properties

| Improve this Doc View Source

ChannelsToTick

The channels that need ticking.

Declaration
public ObjectArrayField<Channel> ChannelsToTick { get; }
Property Value
Type Description
ObjectArrayField<Channel>
Remarks

This will be a subset of OpenChannels, only including channels that need to process either dormancy or queued bunches. Should be a significant optimization over ticking and calling virtual functions on the potentially hundreds of OpenChannels every frame.

| Improve this Doc View Source

Children

child connections for secondary viewports

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

DefaultObject

Get UE4 Default Object for this Class

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

Driver

Owning net driver

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

InternalAck

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

LastReceiveTime

Internal.

Declaration
public double LastReceiveTime { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

MaxPacket

Max Packet

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

OpenChannels

@todo document

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

OwningActor

Reference to controlling actor (usually PlayerController)

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

PackageMap

Package map between local and remote. (negotiates net serialization)

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

PackageMapClass

The class name for the PackageMap to be loaded

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

PlayerId

Net id of remote player on this connection. Only valid on client connections (server side).

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

SentTemporaries

This actor is bNetTemporary, which means it should never be replicated after it's initial packet is complete

Declaration
public ObjectArrayField<Actor> SentTemporaries { get; }
Property Value
Type Description
ObjectArrayField<Actor>
| 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

ViewTarget

The actor that is currently being viewed/controlled by the owning controller

Declaration
public Actor ViewTarget { get; set; }
Property Value
Type Description
Actor

Methods

| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

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

Operators

| Improve this Doc View Source

Implicit(IntPtr to NetConnection)

Convert from IntPtr to UObject

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