public void sampleFuncReq(SampleStruct ss) { AutoGenStructFor_sampleFuncReq msgData = new AutoGenStructFor_sampleFuncReq(); msgData.ss = ss; PushSendData((ushort)EMsgType.sampleFuncReq, msgData); SendBytes(); }
protected bool sampleFuncReqStub(byte[] buff, uint offset, uint buffLen) { AutoGenStructFor_sampleFuncReq msgData = new AutoGenStructFor_sampleFuncReq(); uint readLen = msgData.Unserialize(buff, offset, buffLen); if (readLen <= 0) { msgData.Clear(); return(false); } sampleFuncReq(this, msgData.ss); msgData.Clear(); return(true); }