ObjectDeSpawnCheck() public method

public ObjectDeSpawnCheck ( ) : void
return void
Beispiel #1
0
 /////////////////////////////////////////////////////////////////////////////////
 // DE-Spawn system (Spawn our char to others).
 /////////////////////////////////////////////////////////////////////////////////
 void ObjectDePlayerSpawn(Systems s)
 {
     try
     {
         if (s.Character.Spawned(this.Character.Information.UniqueID) && !s.Character.deSpawning)
         {
             if (s.Character.Information.UniqueID != 0)
             {
                 s.ObjectDeSpawnCheck();
             }
         }
     }
     catch (Exception ex)
     {
         Console.WriteLine("Systems despawn error {0}", ex);
         Systems.Debugger.Write(ex);
     }
 }
Beispiel #2
0
 /////////////////////////////////////////////////////////////////////////////////
 // DE-Spawn system (Spawn our char to others).
 /////////////////////////////////////////////////////////////////////////////////    
 void ObjectDePlayerSpawn(Systems s)
 {
     try
     {
         if (s.Character.Spawned(this.Character.Information.UniqueID) && !s.Character.deSpawning)
         {
             if (s.Character.Information.UniqueID != 0)
             {
                 s.ObjectDeSpawnCheck();
             }
         }
     }
     catch (Exception ex)
     {
         Console.WriteLine("Systems despawn error {0}", ex);
         Systems.Debugger.Write(ex);
     }
 }