Beispiel #1
0
 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);
     }
 }
Beispiel #2
0
 private void VoxelCutoutSphere_Implemenentation(Vector3D center, float radius, bool createDebris, bool damage = false)
 {
     MyExplosion.CutOutVoxelMap(radius, center, this, createDebris && MySession.Static.Ready, damage);
 }
Beispiel #3
0
 public void VoxelCutoutSphere_Implemenentation(Vector3D center, float radius, bool createDebris)
 {
     MyExplosion.CutOutVoxelMap(radius, center, this, createDebris && MySession.Ready);
 }
Beispiel #4
0
 static void VoxelCutoutSphereSuccess(MySyncVoxel sync, ref VoxelCutoutMsg msg, MyNetworkClient sender)
 {
     MyExplosion.CutOutVoxelMap(msg.Radius, msg.Center, sync.Entity, msg.CreateDebris && MySession.Ready);
 }