You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
1.0 KiB

// using System;
// using System.Collections.Generic;
// using CoreGame.NetWork;
// using Entitas;
//
// namespace CoreGame.Render.System.Command
// {
// public class CommandBuildSys : IExecuteSystem, ICleanupSystem
// {
// readonly CombatContext m_Contexts;
// public CommandBuildSys(CombatContext contexts)
// {
// m_Contexts = contexts;
// }
// public void Execute(float deltaTime)
// {
// var battleCommands = m_Contexts.CmdRecv.renderCmds;
// while (battleCommands.Count > 0)
// {
// var commandBase = battleCommands.Dequeue();
// //
// // ...
// //
// m_Contexts.CmdRecv.logic2netCmds[commandBase.commandType] = commandBase;
// }
// }
//
// public void Cleanup()
// {
// Array.Clear(m_Contexts.CmdRecv.logic2netCmds, 0, m_Contexts.CmdRecv.logic2netCmds.Length);
// }
// }
// }