Example #1
0
        public void DeconstructionBegin(GameObject gameObject)
        {
            NitroxId id = NitroxEntity.GetId(gameObject);

            DeconstructionBegin deconstructionBegin = new DeconstructionBegin(id);

            packetSender.Send(deconstructionBegin);
        }
Example #2
0
        public void DeconstructionBegin(GameObject gameObject)
        {
            string guid = GuidHelper.GetGuid(gameObject);

            DeconstructionBegin deconstructionBegin = new DeconstructionBegin(guid);

            packetSender.Send(deconstructionBegin);
        }
Example #3
0
        public void DeconstructionBegin(GameObject gameObject)
        {
            Vector3 itemPosition = gameObject.transform.position;
            String  guid         = GuidHelper.GetGuid(gameObject);

            DeconstructionBegin deconstructionBegin = new DeconstructionBegin(packetSender.PlayerId, itemPosition, guid);

            packetSender.Send(deconstructionBegin);
        }
Example #4
0
        public void DeconstructionBegin(NitroxId id)
        {
            DeconstructionBegin deconstructionBegin = new DeconstructionBegin(id);

            packetSender.Send(deconstructionBegin);
        }