Esempio n. 1
0
 /////////////////////////////////////////////////////////////////////////////////
 // DE-Spawn system (Spawn our char to others).
 /////////////////////////////////////////////////////////////////////////////////
 void ObjectDePlayerSpawn(PlayerMgr s)
 {
     try
     {
         if (s.Character.Spawned(Character.Information.UniqueID) && !s.Character.deSpawning)
         {
             if (s.Character.Information.UniqueID != 0)
             {
                 s.ObjectDeSpawnCheck();
             }
         }
     }
     catch (Exception ex)
     {
         Console.WriteLine("Systems despawn error {0}", ex);
         Log.Exception(ex);
     }
 }
 /////////////////////////////////////////////////////////////////////////////////
 // DE-Spawn system (Spawn our char to others).
 /////////////////////////////////////////////////////////////////////////////////    
 void ObjectDePlayerSpawn(PlayerMgr s)
 {
     try
     {
         if (s.Character.Spawned(Character.Information.UniqueID) && !s.Character.deSpawning)
         {
             if (s.Character.Information.UniqueID != 0)
             {
                 s.ObjectDeSpawnCheck();
             }
         }
     }
     catch (Exception ex)
     {
         Console.WriteLine("Systems despawn error {0}", ex);
         Log.Exception(ex);
     }
 }