[committed] Somes changes in "/mob" and GameServer
PostPosted: Thu Oct 28, 2010 12:40 pm
I do many changes:
Mob command:
- Add: Commands "/mob trigger info" and "/mob trigger remove <id>" (Trigger's ID is given by "/mob trigger info")
- Change: Less call to List<T>'s indexer in FireAmbientSentence
- Bugfix: The sentence was escaped 2 times in "/mob trigger"
Others:
- Change: IPacketHandler.HandlePacket return void instead of an int (the value was never used).
- Change: Some use of optional parameters and refactoring in GameObject and PacketLib
- Change: Use of Dictionary<T>.TryGetValue instead of t/c in LootGeneratorTemplate
- Change: Use of C#4 compiler for scripts instead of C#3.5
Mob command:
- Add: Commands "/mob trigger info" and "/mob trigger remove <id>" (Trigger's ID is given by "/mob trigger info")
- Change: Less call to List<T>'s indexer in FireAmbientSentence
- Bugfix: The sentence was escaped 2 times in "/mob trigger"
Others:
- Change: IPacketHandler.HandlePacket return void instead of an int (the value was never used).
- Change: Some use of optional parameters and refactoring in GameObject and PacketLib
- Change: Use of Dictionary<T>.TryGetValue instead of t/c in LootGeneratorTemplate
- Change: Use of C#4 compiler for scripts instead of C#3.5