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.
21 lines
609 B
21 lines
609 B
using UnityEngine; |
|
using System.Collections; |
|
using System.Collections.Generic; |
|
using AX.NetworkSystem; |
|
using AX.Network.Protocols; |
|
using AX.MessageSystem; |
|
public struct TeacherLessonReplyPair |
|
{ |
|
public int currentPage; |
|
public int numberEachPage; |
|
public int pageCount; |
|
public List<CoursewareInfo> questionList; |
|
} |
|
public class TEACHER_LESSON_REPLY : NetworkMessageBehaviour |
|
{ |
|
protected override void Execute(BinaryMessage message) |
|
{ |
|
var pair = message.RawBody.Deserialize<TeacherLessonReplyPair>(); |
|
MessageDispatcher.SendMessage("TEACHER_LESSON_REFRESH", pair); |
|
} |
|
} |