Coder Social home page Coder Social logo

forestshooter's Introduction

基本架构设计

客户端架构

main

服务器架构

a

a

通信模式

使用Socket(TCP)服务完成C/S数据通信

数据格式

main

·客户端向服务器发送的数据,服务器通过RequestCode找到对应的控制器处理,再通过ActionCode通过C#反射机制找到对应的函数处理

·服务器向客户端发送的数据,客户端通过ActionCode找到对应的脚本进行处理

·数据添加数据长度首部,处理TCP粘包与分包

通信架构

main

对象池应用

1.红蓝方弓箭

2.红蓝方弓箭爆炸效果

IP设置

服务器Server设置位于Programer.cs

MYSQL数据库设置位于Tools/ConnectionHelper.cs

Client设置位于Scripts/Net/ClientManager.cs

forestshooter's People

Contributors

amcp9 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.