|
- require("luaScript.Protocol.ProtoDef")
-
-
- BoolPacket = defClass("BoolPacket"
- , defVar("boolValue", VT_Bool, false)
- )
-
- BytePacket = defClass("BytePacket"
- , defVar("byteValue", VT_UChar, 0)
- )
-
- ShortPacket = defClass("ShortPacket"
- , defVar("shortValue", VT_Short, 0)
- )
-
- IntPacket = defClass("IntPacket"
- , defVar("intValue", VT_Int, 0)
- )
-
- LongPacket = defClass("LongPacket"
- , defVar("longValue", VT_Long, 0)
- )
-
- StringPacket = defClass("StringPacket"
- , defVar("stringValue", VT_String, "")
- )
-
- IntListPacket = defClass("IntListPacket"
- , defVar("intList", VT_Vector(VT_Int))
- )
-
- LongListPacket = defClass("LongListPacket"
- , defVar("longList", VT_Vector(VT_Long))
- )
-
- RemainTimePacket = defClass("RemainTimePacket"
- , defVar("remainTime", VT_RemainTime(VT_LLong, 1), 0)
- )
|