示例#1
0
文件: LKey.cs 项目: DONGChuan/LGame
 public byte[] Out()
 {
     ArrayByte touchByte = new ArrayByte();
     touchByte.WriteInt(type);
     touchByte.WriteInt(keyCode);
     touchByte.WriteInt(keyChar);
     return touchByte.GetData();
 }
示例#2
0
 public byte[] Out()
 {
     ArrayByte touchByte = new ArrayByte();
     touchByte.WriteInt(X());
     touchByte.WriteInt(Y());
     touchByte.WriteInt(GetButton());
     touchByte.WriteInt(GetPointer());
     touchByte.WriteInt(GetCode());
     return touchByte.GetData();
 }