newsbot
06.01.2011, 02:14
автор: VladimirMangos
<pre>m src/game/AuctionHouseHandler.cpp
m src/game/AuctionHouseMgr.cpp
m src/game/Level1.cpp
m src/game/Level3.cpp
m src/game/Mail.cpp
m src/game/Mail.h
m src/game/Player.cpp
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[10969] Some cleanups in MailDraft API
* Use Set* names for cases when function replace old value by new (instead Add*)
* Prevent hidden MailDraft copy create becase if draft have items its can't be just shared
and need preoprtly cloned, but item close is high price operation (guid use, DB tiuched and etc)
So this must be explictly operation. In next commits will be added clone function for this.
* Some MailDraft overwrite by assign cases rewrited to more clean way.</pre>
Дальше... (https://github.com/mangos/mangos/commit/b5bd0675927a810b5608d44e776a5c29b0d0484a)
<pre>m src/game/AuctionHouseHandler.cpp
m src/game/AuctionHouseMgr.cpp
m src/game/Level1.cpp
m src/game/Level3.cpp
m src/game/Mail.cpp
m src/game/Mail.h
m src/game/Player.cpp
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[10969] Some cleanups in MailDraft API
* Use Set* names for cases when function replace old value by new (instead Add*)
* Prevent hidden MailDraft copy create becase if draft have items its can't be just shared
and need preoprtly cloned, but item close is high price operation (guid use, DB tiuched and etc)
So this must be explictly operation. In next commits will be added clone function for this.
* Some MailDraft overwrite by assign cases rewrited to more clean way.</pre>
Дальше... (https://github.com/mangos/mangos/commit/b5bd0675927a810b5608d44e776a5c29b0d0484a)