[FIX]CoMy CPTrader (TaoistMoon)

07/25/2009 05:29 Pete1990#16
Quote:
Originally Posted by tanelipe View Post
May I suggest creating some sort of enum for those UpdateIDs? I mean alot people might get confused what those '4' and '30' are on those send packets. For example something like this?


PHP Code:
public enum UpdateIDs uint
{
    
Money 4,
    
ConquerPoints 30

Ofcourse you'd have to modify the source a little bit but after all the code would be more self explaining when you'd could just send packets like:
PHP Code:
SendPacket(General.MyPackets.Vital(MyChar.UIDUpdateIDs.MoneyMyChar.Silvers)); 
It would be pretty self explaining, yes?
Actly that sounds like a good thing i think im do that
07/25/2009 11:07 Arcotemple:)#17
so how many people has this thread helped?

700th post ftw!