void GenerateRandomCommand() { RandomTestCommand command = new RandomTestCommand(); command.m_random = m_random_generator.Rand(); m_combat_client.GetSyncClient().PushLocalCommand(command); }
public void OnNetworkMessage_SyncCommands(NetworkMessages_SyncCommands msg) { List <Command> commands = msg.m_commands; for (int i = 0; i < commands.Count; ++i) { m_combat_client.GetSyncClient().PushServerCommand(commands[i]); } }