BomberUnits
...a Unity learning project
PhotonTestScript Class Reference
+ Inheritance diagram for PhotonTestScript:
+ Collaboration diagram for PhotonTestScript:

Classes

struct  ExampleData
 
class  ExampleData2
 

Public Member Functions

override void OnConnectedToMaster ()
 
override void OnDisconnected (Photon.Realtime.DisconnectCause cause)
 
override void OnCreatedRoom ()
 
override void OnJoinedRoom ()
 
override void OnRoomPropertiesUpdate (Hashtable propertiesThatChanged)
 
override void OnPlayerPropertiesUpdate (Photon.Realtime.Player target, Hashtable changedProps)
 

Private Member Functions

void Awake ()
 
void Start ()
 
void Test_OfflineMode ()
 
void Test_RoomData_OfflineMode ()
 
void Test_ClientData_OfflineMode ()
 
void Test_LeaveOfflineMode ()
 
void Test_ClientData_Disconnected ()
 
void Test_OnlineMode ()
 
void Test_ClientData_OnlineMode ()
 
void Test_HostRoom ()
 
void Test_ClientData_Room ()
 
void Test_ModifyClientDataDirectly ()
 
void Test_SendExampleData ()
 
void Test_SendExampleData2 ()
 
void Test_SendPlayerNetData ()
 
void AddTestStep (string fctName)
 
void PrintHeader (string headerTxt)
 
ExampleData CreateExampleData ()
 
ExampleData GetExampleData ()
 
Hashtable CreateExampleDelivery (ExampleData data)
 

Static Private Member Functions

static short SerializeExampleData (StreamBuffer outStream, object data)
 
static object DeserializeExampleData (StreamBuffer inStream, short length)
 

Private Attributes

float testStartTime = 0.5f
 
float testStepInterval = 1.5f
 

Static Private Attributes

static readonly byte [] memExampleData = new byte[4]
 

Detailed Description

Definition at line 12 of file PhotonTestScript.cs.


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