Wobbly Life Mod SDK
 
Loading...
Searching...
No Matches
ModWobblyLife.ModPlayerControllerSpectate Class Reference

The spectate component for a player controller. More...

Inheritance diagram for ModWobblyLife.ModPlayerControllerSpectate:
ModWobblyLife.Network.ModNetworkSubBehaviour ModWobblyLife.Network.IModNetworkSubBehaviour

Public Member Functions

void ServerSetSpectating (bool bSpectating)
 Sets whether this player is spectating or not (Server only)
 
ModPlayerController GetSpectatingPlayer ()
 Get the current spectating player.
 
- Public Member Functions inherited from ModWobblyLife.Network.ModNetworkSubBehaviour
void RegisterRPCs (ModNetworkObject networkObject)
 Called when you should register rpcs.
 
void NetworkStart (ModNetworkObject networkObject)
 Called when this object is ready on the network.
 
void NetworkPost (ModNetworkObject networkObject)
 Called after fully initalized the network.
 
GameObject GetGameObject ()
 Returns the gameobject of this object.
 
void RegisterRPCs (ModNetworkObject networkObject)
 Called when you should register rpcs.
 
void NetworkStart (ModNetworkObject networkObject)
 Called when this object is ready on the network.
 
void NetworkPost (ModNetworkObject networkObject)
 Called after fully initalized the network.
 
GameObject GetGameObject ()
 Returns the gameobject of this object.
 

Protected Member Functions

override void ModNetworkStart (ModNetworkObject modNetworkObject)
 
- Protected Member Functions inherited from ModWobblyLife.Network.ModNetworkSubBehaviour
virtual void Awake ()
 
virtual void Start ()
 
virtual void OnDestroy ()
 
virtual void ModAwake ()
 
virtual void ModStart ()
 
virtual void ModOnDestroy ()
 
virtual void ModRegisterRPCs (ModNetworkObject modNetworkObject)
 
virtual void ModNetworkStart (ModNetworkObject modNetworkObject)
 
virtual void ModNetworkPost (ModNetworkObject modNetworkObject)
 

Additional Inherited Members

- Public Attributes inherited from ModWobblyLife.Network.ModNetworkSubBehaviour
ModNetworkObject modNetworkObject
 

Detailed Description

The spectate component for a player controller.

Member Function Documentation

◆ GetSpectatingPlayer()

ModPlayerController ModWobblyLife.ModPlayerControllerSpectate.GetSpectatingPlayer ( )

Get the current spectating player.

Returns

◆ ModNetworkStart()

override void ModWobblyLife.ModPlayerControllerSpectate.ModNetworkStart ( ModNetworkObject  modNetworkObject)
protectedvirtual

◆ ServerSetSpectating()

void ModWobblyLife.ModPlayerControllerSpectate.ServerSetSpectating ( bool  bSpectating)

Sets whether this player is spectating or not (Server only)

Parameters
bSpectating