public void RequestVoxelCutoutSphere(Vector3D center, float radius, bool createDebris) { BeforeContentChanged = true; MyMultiplayer.RaiseEvent(this, x => x.VoxelCutoutSphere_Implemenentation, center, radius, createDebris); if (Sync.IsServer) { MyExplosion.CutOutVoxelMap(radius, center, this, createDebris && MySession.Ready); } }
private void VoxelCutoutSphere_Implemenentation(Vector3D center, float radius, bool createDebris, bool damage = false) { MyExplosion.CutOutVoxelMap(radius, center, this, createDebris && MySession.Static.Ready, damage); }
public void VoxelCutoutSphere_Implemenentation(Vector3D center, float radius, bool createDebris) { MyExplosion.CutOutVoxelMap(radius, center, this, createDebris && MySession.Ready); }
static void VoxelCutoutSphereSuccess(MySyncVoxel sync, ref VoxelCutoutMsg msg, MyNetworkClient sender) { MyExplosion.CutOutVoxelMap(msg.Radius, msg.Center, sync.Entity, msg.CreateDebris && MySession.Ready); }