public void BroadcastArmAction(TechType techType, IExosuitArm exosuitArm, ExosuitArmAction armAction) { NitroxId id = NitroxEntity.GetId(exosuitArm.GetGameObject()); ExosuitArmActionPacket packet = new ExosuitArmActionPacket(techType, id, armAction, Optional <Vector3> .Empty(), Optional <Quaternion> .Empty()); packetSender.Send(packet); }
public void BroadcastArmAction(TechType techType, IExosuitArm exosuitArm, ExosuitArmAction armAction) { NitroxId id = NitroxEntity.GetId(exosuitArm.GetGameObject()); ExosuitArmActionPacket packet = new ExosuitArmActionPacket(techType, id, armAction, null, null); packetSender.Send(packet); }
public void BroadcastArmAction(TechType techType, IExosuitArm exosuitArm, ExosuitArmAction armAction, Optional <Vector3> opVector = null, Optional <Quaternion> opRotation = null) { string guid = GuidHelper.GetGuid(exosuitArm.GetGameObject()); ExosuitArmActionPacket packet = new ExosuitArmActionPacket(techType, guid, armAction, opVector, opRotation); packetSender.Send(packet); }
public void BroadcastArmAction(TechType techType, IExosuitArm exosuitArm, ExosuitArmAction armAction, Vector3?opVector, Quaternion?opRotation) { NitroxId id = NitroxEntity.GetId(exosuitArm.GetGameObject()); ExosuitArmActionPacket packet = new ExosuitArmActionPacket(techType, id, armAction, opVector, opRotation); packetSender.Send(packet); }
public void BroadcastArmAction(TechType techType, IExosuitArm exosuitArm, ExosuitArmAction armAction, Optional <Vector3> opVector = null, Optional <Quaternion> opRotation = null) { NitroxId id = NitroxIdentifier.GetId(exosuitArm.GetGameObject()); ExosuitArmActionPacket packet = new ExosuitArmActionPacket(techType, id, armAction, opVector, opRotation); packetSender.Send(packet); }