You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
733 B
23 lines
733 B
4 years ago
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using AX.Network.Protocols;
|
||
|
using UnityEngine;
|
||
|
using AX.Serialization;
|
||
|
|
||
|
public class GET_DEPT_REPLY : NetworkMessageBehaviour
|
||
|
{
|
||
|
public ArmyDropDownDataBind BindController;
|
||
|
public PowerTransferController transferController;
|
||
|
protected override void Execute(BinaryMessage message)
|
||
|
{
|
||
|
var info = message.Body.Deserialize<List<Organization>>();
|
||
|
if (BindController != null)
|
||
|
BindController.GetAllData(info);
|
||
|
if (transferController != null)
|
||
|
transferController.SelectDropBind(info);
|
||
|
ChatManager.Instance.SetOrgs(info);
|
||
|
//总指挥移交需要
|
||
|
GameSettings.othersSettings.orgs = info;
|
||
|
}
|
||
|
}
|