Vertices Engine  v1.9.2.92
A Cross Platform game engine developed by Virtex Edge Design.
Loading...
Searching...
No Matches
VerticesEngine.Net.vxINetGameplayScene Interface Reference

The networked gameplay interface which holds stubs for methods which the networking system will call. More...

Public Member Functions

void OnNetPlayerJoined (vxNetPlayerInfo playerInfo)
 Called when a player joins.
 
void OnNetPlayerDisconnected (vxNetPlayerInfo playerInfo)
 Called when a player disconnects from the match.
 
void OnNetPlayerStatusUpdated (vxNetPlayerInfo playerInfo)
 Called when a players status is updated, such as 'Waiting In Lobby' to 'Ready to play'.
 
void OnNetPlayerEntityStateUpdated (vxNetmsgUpdatePlayerEntityState stateUpdate, float TimeDelay)
 Called when a player's entity state has changed, such as updating position.
 
void OnNetSessionStateChanged (vxEnumNetSessionState oldSessionState, vxEnumNetSessionState newSessionState, float TimeDelay)
 Called when the net session state has changed, such as being told by the server that we're going from lobby to playing the game.
 
void OnNetLevelEvent (vxNetmsgLevelEvent lvlEvent)
 Called when a level event occurs such as an item is spawned, missile hits charatcer, player scores etc...
 
void OnNetServerDisconnected (vxNetDisconnectedEventReason reason)
 The server has shutdown for some reason.
 

Detailed Description

The networked gameplay interface which holds stubs for methods which the networking system will call.

Member Function Documentation

◆ OnNetLevelEvent()

void VerticesEngine.Net.vxINetGameplayScene.OnNetLevelEvent ( vxNetmsgLevelEvent lvlEvent)

Called when a level event occurs such as an item is spawned, missile hits charatcer, player scores etc...

Parameters
lvlEventThe level event

◆ OnNetPlayerEntityStateUpdated()

void VerticesEngine.Net.vxINetGameplayScene.OnNetPlayerEntityStateUpdated ( vxNetmsgUpdatePlayerEntityState stateUpdate,
float TimeDelay )

Called when a player's entity state has changed, such as updating position.

Parameters
stateUpdatethe player entity state
TimeDelayThe time delay

◆ OnNetSessionStateChanged()

void VerticesEngine.Net.vxINetGameplayScene.OnNetSessionStateChanged ( vxEnumNetSessionState oldSessionState,
vxEnumNetSessionState newSessionState,
float TimeDelay )

Called when the net session state has changed, such as being told by the server that we're going from lobby to playing the game.

Parameters
oldSessionStateThe old net sesison state
newSessionStateThe new net session state we're transitioning to
TimeDelayThe time delay

The documentation for this interface was generated from the following file: