PDA

Просмотр полной версии : [10324] Implement new basic functions for chat command parsing.


newsbot
06.08.2010, 06:40
<pre>m src/game/Chat.cpp
m src/game/Chat.h
m src/game/Level1.cpp
m src/game/Level2.cpp
m src/game/Level3.cpp
m src/shared/Util.h
m src/shared/revision_nr.h

[10324] Implement new basic functions for chat command parsing.

* Now can be used as quotes any strings with symbols ' " [] around.
For example can be used: .additem [Tourch] or .additem "Tourch".
And in similar cases wher before [] or "" only canbe used in commands.

* New functions support propertly extraction shift-links as optional first args
* Also added more safe functions for extraction int32/uint32/float values.

For more wide use new functuons specialized extraction functions also need
chnaged to same way work.
This is goal for future work at this part code.</pre>



Дальше... (http://github.com/mangos/mangos/commit/d486072053f8e057caad6c08ff010837993b6616)