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.
16 lines
515 B
16 lines
515 B
using UnityEngine; |
|
using System.Collections.Generic; |
|
using AX.NetworkSystem; |
|
using AX.Network.Protocols; |
|
using AX.MessageSystem; |
|
|
|
public class GET_DEPT_REPLY : NetworkMessageBehaviour |
|
{ |
|
protected override void Execute(BinaryMessage message) |
|
{ |
|
GlobalDeptInfos.DeptInfos = message.Body.Deserialize<List<DeptInfo>>(); |
|
|
|
MessageDispatcher.SendMessage("DEPT_DATA_REFRESH", GlobalDeptInfos.DeptInfos); |
|
MessageDispatcher.SendMessage("GET_DEPTS_REPLY", GlobalDeptInfos.DeptInfos); |
|
} |
|
}
|
|
|