# elock_step **Repository Path**: raincoldl/elock_step ## Basic Information - **Project Name**: elock_step - **Description**: 思路来源于ET的Erlang帧同步库。目前基于github项目二次修改后cocos客户端https://gitee.com/raincoldl/lockstep通过了基本验证。 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-31 - **Last Updated**: 2025-07-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: Erlang ## README elock_step ===== 基于Erlang的帧同步库,思路来自ET8.0 构建项目 ----- $ rebar3 compile 用法 ----- 1.将依赖添置到rebar.config的deps结构下。 file: rebar.config {deps, [ {elock_step, {git, "https://gitee.com/raincoldl/elock_step.git", {branch, "master"}}}]} 2.在启动app的时候提前设置好环境变量 start_elock_step_app() -> % 必选,设置回调模块 application:set_env(elock_step, callback_mod, xxx_cb), % 可选,设置帧更新频率,默认是50 application:set_env(elock_step, update_interval, 60), ok = application:ensure_started(elock_step), ok.