private void RPC_SKDAVQ(uLink.BitStream stream, uLink.NetworkMessageInfo info) { PEActionType proType = stream.Read <PEActionType> (); PEActionParamVQ param = PEActionParamVQ.param; param.vec = stream.Read <Vector3> (); param.q = stream.Read <Quaternion> (); if (MtCmpt != null) { MtCmpt.DoActionImmediately((PEActionType)proType, param); } }
private void SendSKDAPickUpItem(PEActionType type, PEActionParam obj) { PEActionParamVQ param = obj as PEActionParamVQ; RPCServer(EPacketType.PT_InGame_SKDAVQ, type, param.vec, param.q); }