1- using System ;
2- using System . Collections . Generic ;
3- using System . Text ;
4-
5- namespace Quick . Protocol
1+ namespace Quick . Protocol
62{
73 public class Base
84 {
@@ -12,15 +8,25 @@ public class Base
128 Name = "基础指令集" ,
139 NoticeInfos = new QpNoticeInfo [ ]
1410 {
15- QpNoticeInfo . Create < Notices . PrivateNotice > ( )
11+ QpNoticeInfo . Create < Notices . PrivateNotice > ( Notices . NoticesSerializerContext . Default )
1612 } ,
1713 CommandInfos = new QpCommandInfo [ ]
1814 {
19- QpCommandInfo . Create ( new Commands . Connect . Request ( ) ) ,
20- QpCommandInfo . Create ( new Commands . Authenticate . Request ( ) ) ,
21- QpCommandInfo . Create ( new Commands . HandShake . Request ( ) ) ,
22- QpCommandInfo . Create ( new Commands . PrivateCommand . Request ( ) ) ,
23- QpCommandInfo . Create ( new Commands . GetQpInstructions . Request ( ) ) ,
15+ QpCommandInfo . Create (
16+ new Commands . Connect . Request ( ) ,
17+ Commands . ConnectCommandSerializerContext . Default ) ,
18+ QpCommandInfo . Create (
19+ new Commands . Authenticate . Request ( ) ,
20+ Commands . AuthenticateCommandSerializerContext . Default ) ,
21+ QpCommandInfo . Create (
22+ new Commands . HandShake . Request ( ) ,
23+ Commands . HandShakeCommandSerializerContext . Default ) ,
24+ QpCommandInfo . Create (
25+ new Commands . PrivateCommand . Request ( ) ,
26+ Commands . PrivateCommandCommandSerializerContext . Default ) ,
27+ QpCommandInfo . Create (
28+ new Commands . GetQpInstructions . Request ( ) ,
29+ Commands . GetQpInstructionsCommandSerializerContext . Default )
2430 }
2531 } ;
2632 }
0 commit comments