Photon Unity Networking (PUN) API -- Where??

I don’t if my google foo is just off but I cannot find an API for the PUN anywhere. I see their tutorials, and some of the resources…but I can’t find an API. I’m at a loss as to what functions are all available to me. Any help is much appreciated.

2 Answers

2

http://doc-api.exitgames.com/en/realtime/current/pun/doc/class_photon_network.html

Edit :

original comment that somehow got converted to an answer :

Agreed and upvoted.

I picked up all the commands I know from Quill18. A list of the available commands / class functions / variables would be awesome for someone like me who has never done anything networkie before.

Where is the API? Oh, and I should say thanks for the awesome product =]

I should specify I have looked at the PDF that comes with the package :

Chapter 9 : Class Index : page 25 (41 of 130)

I guess we are just spoiled from having the Unity API formatted the way it is. I get completely lost trying to find anything on the MSDN!

Is there any reference material for Photon that looks something like this :

// create a room and then join it
// PhotonNetwork.CreateRoom( room name, is visible, is open, max number of players );
PhotonNetwork.CreateRoom( roomName, true, true, maxNumPlayers );

// ScriptThatIsBeingObservedByPhotonViewComponent.photonView.RPC( "FunctionName", targets : PhotonTargets.AllBuffered, function parameter );
shipScript.photonView.RPC( "SetPlayerName", PhotonTargets.AllBuffered, PhotonNetwork.playerName );

Something similar to the references found at hutonggames? : Photon Network Documentation

The closest I found to a list of all the commands/variables in the PDF under PhotonNetwork was :

13.14 PhotonNetwork Class Reference : page 58 (74 of 130)

I’m not complaining! Still very grateful for such an awesome product, the fact that I have been able to make something that networks and works blows my mind.