mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-18 04:28:40 +00:00
test[protocol]: protocol test
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import EmptyObject from './packet/EmptyObject.mjs';
|
||||
import VeryBigObject from './packet/VeryBigObject.mjs';
|
||||
import ComplexObject from './packet/ComplexObject.mjs';
|
||||
import NormalObject from './packet/NormalObject.mjs';
|
||||
import ObjectA from './packet/ObjectA.mjs';
|
||||
@@ -9,6 +10,7 @@ const protocols = new Map();
|
||||
|
||||
// initProtocol
|
||||
protocols.set(0, EmptyObject);
|
||||
protocols.set(1, VeryBigObject);
|
||||
protocols.set(100, ComplexObject);
|
||||
protocols.set(101, NormalObject);
|
||||
protocols.set(102, ObjectA);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user