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.
27 lines
869 B
27 lines
869 B
// using Entitas;
|
|
//
|
|
// namespace CoreGame.Render
|
|
// {
|
|
// public class CommandSenderSys : IExecuteSystem
|
|
// {
|
|
// readonly CombatContext m_Contexts;
|
|
// public CommandSenderSys(CombatContext contexts)
|
|
// {
|
|
// m_Contexts = contexts;
|
|
// }
|
|
// public void Execute(float deltaTime)
|
|
// {
|
|
// if (BattleModule.s_NetState == BattleNetState.Single)
|
|
// {
|
|
// var battleCommands = m_Contexts.CmdRecv.logic2netCmds;
|
|
// for (var index = 0; index < battleCommands.Length; index++)
|
|
// {
|
|
// if (battleCommands[index] != null)
|
|
// {
|
|
// m_Contexts.CmdRecv.netCmds.Enqueue(battleCommands[index]);
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|