private void RPC_SKDAVVF(uLink.BitStream stream, uLink.NetworkMessageInfo info) { PEActionType proType = stream.Read <PEActionType> (); PEActionParamVVF param = PEActionParamVVF.param; param.vec1 = stream.Read <Vector3> (); param.vec2 = stream.Read <Vector3> (); param.f = stream.Read <float> (); if (MtCmpt != null) { MtCmpt.DoActionImmediately((PEActionType)proType, param); } }
private void SendSKDARepulsed(PEActionType type, PEActionParam obj) { PEActionParamVVF param = obj as PEActionParamVVF; RPCServer(EPacketType.PT_InGame_SKDAVVF, type, param.vec1, param.vec2, param.f); }