Class NUTGlobals
Stores globals/static-variables for NetcodeUnitTest - for compatibility with hot reload
Inherited Members
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.NetcodeUnitTest
Assembly: UE4DotNet.dll
Syntax
public class NUTGlobals : UObject
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static NUTGlobals DefaultObject { get; }
Property Value
Type | Description |
---|---|
NUTGlobals |
EventWatcher
For NUTActor - the UNetConnection that 'watch' events will be sent to
Declaration
public NetConnection EventWatcher { get; set; }
Property Value
Type | Description |
---|---|
NetConnection |
ServerPortOffset
For ClientUnitTest - the (+10) incremented port number, for each server instance
Declaration
public int ServerPortOffset { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
UnitTestNetDriverCount
For MinimalClient - counter for the number of unit test net drivers created
Declaration
public int UnitTestNetDriverCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static NUTGlobals New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
NUTGlobals |
Operators
| Improve this Doc View SourceImplicit(IntPtr to NUTGlobals)
Convert from IntPtr to UObject
Declaration
public static implicit operator NUTGlobals(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
NUTGlobals |