Quote:
Originally Posted by tanelipe
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.UID, UpdateIDs.Money, MyChar.Silvers));
It would be pretty self explaining, yes?
|
Actly that sounds like a good thing i think im do that