Example #1
0
 private void OnCollectionUpdate(GameEvent ge, EventParameter parameter)
 {
     CollectionObj collection = CoreEntry.gEntityMgr.GetCollectionByServerID(parameter.longParameter) as CollectionObj;
     if (null != collection)
     {
         collection.Change((CollectionType)parameter.intParameter);
     }
 }