2017年10月16日

PhotonServer(3)-连接服务器-客户端

摘要: 模拟一次:客户端发起一个请求,服务器响应这个请求 创建一个ChatServerListener,用来监听服务器的返回 客户端这边,由PhotonPeer带上Listener发起一个请求. Service发送这个请求. 每有一个客户端请求,客户端都创建一个Peer,. 由Peer中的OnOperationReqiust响应用户的请求. 客户端/服务器的交互消息用Dictionary.根据... 阅读全文

posted @ 2017-10-16 19:07 虎鲨 阅读(249) 评论(0) 推荐(0) 编辑

PhotonServer(2)-配置

摘要: 创建服务器端的Application: 需要引用的dll: 位置: Photon-OnPremise-Server-SDK_v4-0-29-11263\lib ExitGamesLibs.dll Photon.SocketServer.dll PhotonHostRuntimeInterfaces. 阅读全文

posted @ 2017-10-16 19:00 虎鲨 阅读(240) 评论(0) 推荐(0) 编辑

PhotoServer(1)-准备

摘要: 文件下载: 官网 官网下载如下三个文件: Photon-Server-SDK_v4-0-29-11263服务器端Photon-Unity3D-Sdk_v4-1-1-17(不需要单独下载客户端的SDK,服务端已经包含了要用的库)workhai@outlook.com.Photon-vX.free.100-ccu.license100ccu/无限期许可 (还有一种不限CCU/30天有效... 阅读全文

posted @ 2017-10-16 18:57 虎鲨 阅读(870) 评论(0) 推荐(0) 编辑

导航