Author: code34
Author Website:

Requirements: No addons required

Version: 0.3

Short description: Create a main bus message between clients & server.

Support the author:

100% of your donation goes directly to the author of this content!
Date: 2018-01-20 19:52

Comments: (0)


OO_QUEUE - Priority Queue


In computer science, a priority queue is an abstract data type which is like a regular queue or stack data structure, but where additionally each element has a "priority" associated with it. In a priority queue, an element with high priority is served before an element with low priority. If two elements have the same priority, they are served according to their order in the queue (source: wikipedia).

Add element in a priority queue according a priority
Get the first element in the queue according its priority

Bandwidth management
Discrete event simulation
Dijkstra's algorithm
Huffman coding
Best-first search algorithms
ROAM triangulation algorithm
Prim's algorithm for minimum spanning tree

Installation / Usage:

For usage instructions and information of how to use the OO_QUEUE - PRIORITY QUEUE please refer to the included documentation and/or example mission.

Put the "oo_template.sqf" and the "oop.h" files in your mission directory
Put this code into your mission init.sqf:
call compilefinal preprocessFileLineNumbers "oo_template.sqf";
See example mission in directory: init.sqf

Credits & Thanks:
Author: code34

License / Disclaimer:
Copyright © 2016 Nicolas BOITEUX

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or(at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see

You can share, modify, distribute this script but don't remove the licence and the name of the original author

- optimise performance around Killzone kid suggestions
- add unit tests

- fix private keyword
- performance improvement

- first release

Forum topic:
- BI forums

Enable javascript to be able to download from Armaholic please!

Tags: No tags