Class GameSession
Acts as a game-specific wrapper around the session interface.
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.Engine
Assembly: UE4DotNet.dll
Syntax
public class GameSession : Info
Remarks
The game code makes calls to this when it needs to interact with the session interface. A game session exists only the server, while running an online game.
Properties
| Improve this Doc View SourcebRequiresPushToTalk
Declaration
public bool bRequiresPushToTalk { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static GameSession DefaultObject { get; }
Property Value
Type | Description |
---|---|
GameSession |
MaxPartySize
Restrictions on the largest party that can join together
Declaration
public int MaxPartySize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxPlayers
Maximum number of players allowed by this server.
Declaration
public int MaxPlayers { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxSpectators
Maximum number of spectators allowed by this server.
Declaration
public int MaxSpectators { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxSplitscreensPerConnection
Maximum number of splitscreen players to allow from one connection
Declaration
public byte MaxSplitscreensPerConnection { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
SessionName
SessionName local copy from PlayerState class. should really be define in this class, but need to address replication issues
Declaration
public Name SessionName { get; set; }
Property Value
Type | Description |
---|---|
Name |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static GameSession New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
GameSession |
Operators
| Improve this Doc View SourceImplicit(IntPtr to GameSession)
Convert from IntPtr to UObject
Declaration
public static implicit operator GameSession(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
GameSession |