![]() 63
d.
Verdun
Image 2.22 Screenshot of Verdun Game
(Source: Photon Official Website www.exitgames.com)
According to Exit Games, there are also various specific
classes in Photon, which are:
1.
Static void PhotonNetwork.CreateRoom()
Creates a room with given name but falls if this room exists already.
There are parameters in CreateRoom:
a.
roomName: Unique name of the room to create. Pass null or
to make the server generate a name.
b.
isVisible: Shows (or hides) this room from the lobbys listing of
rooms.
c.
isOpen: Allows (or disallows) other to join this room.
d.
maxPlayers: Max number of players that can join the room.
e.
customRoomProperties: Custom properties of the new room (set
on create, so they are immediately available).
f.
propsToListingLobby: Array of custom-property-names that
should be forwarded to the lobby (include only the useful ones).
2.
Bool PhotonNetwork.Connected
Confirms whether if the players are already connected or not.
|