ActJobClassRunePlanNamePushCtrl.cs 563 B

123456789101112131415161718
  1. using FL.Data;
  2. using XGame.Framework.Network;
  3. namespace FL.Network
  4. {
  5. public class ActJobClassRunePlanNamePushCtrl : MsgController<ActJobClassRunePlanNamePush>
  6. {
  7. protected override void OnProcess(ActJobClassRunePlanNamePush message, object context)
  8. {
  9. if (message.runePlanName != null)
  10. {
  11. var runePlanNamesArray = PlayerData.Instance.RunePlanNamesArray;
  12. runePlanNamesArray.Clear();
  13. runePlanNamesArray.AddRange(message.runePlanName);
  14. }
  15. }
  16. }
  17. }