书栈网 · BookStack 本次搜索耗时 0.032 秒,为您找到 1885 个相关结果.
  • Leaf log

    Leaf log Leaf log Leaf 的 log 系统支持多种日志级别: Debug 日志,非关键日志 Release 日志,关键日志 Error 日志,错误日志 Fatal 日志,致命错误日志Debug < Release < Error < Fatal(日志级别高低) 在 LeafServer 中,bin/conf/server.j...
  • Leaf Go

    Leaf Go Leaf Go 善用 goroutine 能够充分利用多核资源,Leaf 提供的 Go 机制解决了原生 goroutine 存在的一些问题: 能够恢复 goroutine 运行过程中的错误 游戏服务器会等待所有 goroutine 执行结束后才关闭 非常方便的获取 goroutine 执行的结果数据 在一些特殊场合保证 gorou...
  • JetStream on Leaf Nodes

    description: Using JetStream on Leaf Nodes Leaf Nodes Configuration accounts.conf Imported by Both Servers hub.conf leaf.conf Usage Copying across domains via source or mi...
  • JetStream on Leaf Nodes

    description: Using JetStream on Leaf Nodes Leaf Nodes Configuration accounts.conf Imported by Both Servers hub.conf leaf.conf Usage Copying across domains via source or mi...
  • unity对接Leaf

    UnitySocketPtotobuf3Demo 目前为止主要功能该有的应该都有了,应该可以满足个人开发者或者小团队用了。 UnitySocketPtotobuf3Demo 提供一套基础的游戏框架。这套框架不准备支持大型MMORPG。供大家学习网络基础,或者中小型团队或者个人开发者可以方便使用的基础框架。可以很快速的开发卡牌,棋牌等开房间,进副本战...
  • Leaf 模块详解

    Leaf 模块详解 Leaf 模块详解 LeafServer 中包含了 3 个模块,它们分别是: gate 模块,负责游戏客户端的接入 login 模块,负责登录流程 game 模块,负责游戏主逻辑一般来说(而非强制规定),从代码结构上,一个 Leaf 模块: 放置于一个目录中(例如 game 模块放置于 game 目录中) 模块的具体实...
  • Leaf 代码阅读

    Leaf 服务器的设计 Leaf 服务器的主要模块 ChanRpc Cluster Conf Console DB Gate Go Log Module Network Recordfile Timer Leaf 服务器的其他设施 deepcopy map rand semaphore Leaf 服务器开发的流程 ...
  • Leaf 源码概览

    Leaf 源码概览 Leaf 源码概览 leaf/chanrpc 提供了一套基于 channel 的 RPC 机制,用于游戏服务器模块间通讯 leaf/db 数据库相关,目前支持 MongoDB leaf/gate 网关模块,负责游戏客户端的接入 leaf/go 用于创建能够被 Leaf 管理的 goroutine leaf/log 日志相关 l...
  • Leaf 的模块机制

    Leaf 的模块机制 Leaf 的模块机制 一个 Leaf 开发的游戏服务器由多个模块组成(例如 LeafServer ),模块有以下特点: 每个模块运行在一个单独的 goroutine 中 模块间通过一套轻量的 RPC 机制通讯(leaf/chanrpc )Leaf 不建议在游戏服务器中设计过多的模块。 游戏服务器在启动时进行模块的注册,例如...
  • Sum Root to Leaf Numbers

    609 2018-04-14 《LeetCode题解》
    Sum Root to Leaf Numbers Sum Root to Leaf Numbers Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is the root-t...