C# Class PlayerPresence, WaitingForHorus

Inheritance: uLink.MonoBehaviour
Datei anzeigen Open project: merveilles/WaitingForHorus Class Usage Examples

Public Properties

Property Type Description
DefaultPlayerCharacterPrefab PlayerScript,
PossessedCharacterViewID uLink.NetworkViewID
UnsafeAllPlayerPresences List

Private Properties

Property Type Description
CleanupOldCharacter void
DoActualSpawn void
DrawGameChoices void
IndicateRespawn void
InfoPointForPlayerScript Vector3
OnDrawDebugStuff void
OwnerReceiveScorePoints void
OwnerSetScorePoints void
ReceiveCommandEntered void
ReceiveMessageEntered void
ReceiveNameSent void
ReceivePawnDeath void
ReceiveSetConnectionQuality void
RemoteReceiveScorePoints void
RemoteSetScorePoints void
RemoteSpawnCharacter void
SendNameBack void
ServerBroadcastChatMessageFrom void
ServerIndicateRespawn void
TryGetPlayerScriptFromNetworkViewID PlayerScript,
UpdateShouldCameraSpin void
WantNameSentBack void

Public Methods

Method Description
Awake ( ) : void
BroadcastChatMessageFrom ( string text ) : void
DisplayScoreForAWhile ( ) : void
OnDestroy ( ) : void
OnGUI ( ) : void
OwnerGoJoin ( ) : void
OwnerGoSpectate ( ) : void
ReceiveScorePoints ( int points ) : void
SendMessageTo ( string text ) : void
SetScorePoints ( int points ) : void
SpawnCharacter ( Vector3 position ) : void
Start ( ) : void
TryGetPlayerPresenceFromNetworkViewID ( uLink viewID ) : PlayerPresence,
Update ( ) : void
uLink_OnNetworkInstantiate ( uLink info ) : void
uLink_OnSerializeNetworkView ( uLink stream, uLink info ) : void

Private Methods

Method Description
CleanupOldCharacter ( PlayerScript, character ) : void
DoActualSpawn ( Vector3 position ) : void
DrawGameChoices ( int id ) : void
IndicateRespawn ( ) : void
InfoPointForPlayerScript ( PlayerScript, playerScript ) : Vector3
OnDrawDebugStuff ( ) : void
OwnerReceiveScorePoints ( int points ) : void
OwnerSetScorePoints ( int points ) : void
ReceiveCommandEntered ( string command, string args ) : void
ReceiveMessageEntered ( string text ) : void
ReceiveNameSent ( string text ) : void
ReceivePawnDeath ( ) : void
ReceiveSetConnectionQuality ( float quality, uLink info ) : void
RemoteReceiveScorePoints ( int points, uLink info ) : void
RemoteSetScorePoints ( int points, uLink info ) : void
RemoteSpawnCharacter ( Vector3 position, uLink info ) : void
SendNameBack ( uLink info ) : void
ServerBroadcastChatMessageFrom ( string text, uLink info ) : void
ServerIndicateRespawn ( uLink info ) : void
TryGetPlayerScriptFromNetworkViewID ( uLink viewID ) : PlayerScript,
UpdateShouldCameraSpin ( ) : void
WantNameSentBack ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

BroadcastChatMessageFrom() public method

public BroadcastChatMessageFrom ( string text ) : void
text string
return void

DisplayScoreForAWhile() public method

public DisplayScoreForAWhile ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

OwnerGoJoin() public method

public OwnerGoJoin ( ) : void
return void

OwnerGoSpectate() public method

public OwnerGoSpectate ( ) : void
return void

ReceiveScorePoints() public method

public ReceiveScorePoints ( int points ) : void
points int
return void

SendMessageTo() public method

public SendMessageTo ( string text ) : void
text string
return void

SetScorePoints() public method

public SetScorePoints ( int points ) : void
points int
return void

SpawnCharacter() public method

public SpawnCharacter ( Vector3 position ) : void
position Vector3
return void

Start() public method

public Start ( ) : void
return void

TryGetPlayerPresenceFromNetworkViewID() public static method

public static TryGetPlayerPresenceFromNetworkViewID ( uLink viewID ) : PlayerPresence,
viewID uLink
return PlayerPresence,

Update() public method

public Update ( ) : void
return void

uLink_OnNetworkInstantiate() public method

public uLink_OnNetworkInstantiate ( uLink info ) : void
info uLink
return void

uLink_OnSerializeNetworkView() public method

public uLink_OnSerializeNetworkView ( uLink stream, uLink info ) : void
stream uLink
info uLink
return void

Property Details

DefaultPlayerCharacterPrefab public_oe property

public PlayerScript, DefaultPlayerCharacterPrefab
return PlayerScript,

PossessedCharacterViewID public_oe property

public uLink.NetworkViewID PossessedCharacterViewID
return uLink.NetworkViewID

UnsafeAllPlayerPresences public_oe static_oe property

public static List UnsafeAllPlayerPresences
return List