This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
自定义改写接口必须注意 [2018/02/01 08:56] liga |
自定义改写接口必须注意 [2018/02/01 09:55] (current) liga |
||
---|---|---|---|
Line 1: | Line 1: | ||
==== 消息端 ==== | ==== 消息端 ==== | ||
- | - YourGameNetworkProtocol | + | - YourGameNetworkProtocol 如果改数据库功能直接替换DatabaseNetworkProtocol.cs |
==== 服务端 ==== | ==== 服务端 ==== | ||
- | - YourGameServerAddon : ServerAddon 创建一个新的服务器端插件来处理游戏特定消息的逻辑 | + | - YourGameServerAddon : ServerAddon 创建一个新的服务器端插件来处理游戏特定消息的逻辑 如果改数据库功能直接替换DatabaseMasterServerAddon.cs |
- YourGameServer : GameServer 为你的游戏创建一个GameServer类的自定义子类,它具有你刚刚创建的插件 | - YourGameServer : GameServer 为你的游戏创建一个GameServer类的自定义子类,它具有你刚刚创建的插件 | ||
==== 客户端 ==== | ==== 客户端 ==== | ||
- | - YourGameClientAddon : ClientAddon 创建一个新的客户端插件来处理游戏特定消息的逻辑: | + | - YourGameClientAddon : ClientAddon 创建一个新的客户端插件来处理游戏特定消息的逻辑- 如果改数据库功能直接替换 DatabaseClientAddon.cs |
- | - YourGameClientAPI : ClientAPI 为你的游戏创建一个ClientAPI类的自定义子类,该类具有你刚刚创建的插件: | + | - YourGameClientAPI : ClientAPI 为你的游戏创建一个ClientAPI类的自定义子类,该类具有你刚刚创建的插件-如果改数据库功能直接替换ClientAPI.cs |