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.
28 lines
673 B
28 lines
673 B
3 years ago
|
using AX.Network.Protocols;
|
||
|
using AX.NetworkSystem;
|
||
|
using System.Collections.Generic;
|
||
|
using AX.MessageSystem;
|
||
|
|
||
|
public struct PagingReplyInfo<T>
|
||
|
{
|
||
|
public int CurrentPage;
|
||
|
public int NumberPerPage;
|
||
|
public int PageCount;
|
||
|
public int ItemCount;
|
||
|
public List<T> Items;
|
||
|
}
|
||
|
|
||
|
public class GET_PAGING_COURSEWARES_REPLY : NetworkMessageBehaviour
|
||
|
{
|
||
|
protected override void Execute(BinaryMessage message)
|
||
|
{
|
||
|
//var questionList = message.Body.Deserialize<List<ExaminationPrepareObject>>();
|
||
|
var pair= message.Body.Deserialize<PagingReplyInfo<CoursewareInfo>>();
|
||
|
MessageDispatcher.SendMessage("PREPARE_PAGE_REFRESH", pair);
|
||
|
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|