Upgrades spawners to have parameters/properties and optimized timers (#6)
Upgrades spawners to have: - [X] Parameter support - [X] Property support - [X] Optimized timers - [X] Support for Proximity Spawners - [X] Probabilities
This commit is contained in:
parent
20ae1b3989
commit
1030bb7675
14 changed files with 1043 additions and 735 deletions
|
|
@ -10,21 +10,21 @@ namespace Server.Mobiles
|
|||
private TextDefinition m_SpawnMessage;
|
||||
private bool m_InstantFlag;
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
[CommandProperty( AccessLevel.Developer )]
|
||||
public int TriggerRange
|
||||
{
|
||||
get { return m_TriggerRange; }
|
||||
set { m_TriggerRange = value; }
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
[CommandProperty( AccessLevel.Developer )]
|
||||
public TextDefinition SpawnMessage
|
||||
{
|
||||
get { return m_SpawnMessage; }
|
||||
set { m_SpawnMessage = value; }
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
[CommandProperty( AccessLevel.Developer )]
|
||||
public bool InstantFlag
|
||||
{
|
||||
get { return m_InstantFlag; }
|
||||
|
|
@ -49,7 +49,7 @@ namespace Server.Mobiles
|
|||
}
|
||||
|
||||
[Constructible]
|
||||
public ProximitySpawner( int amount, int minDelay, int maxDelay, int team, int homeRange, string spawnName, int triggerRange, string spawnMessage, bool instantFlag )
|
||||
public ProximitySpawner( int amount, int minDelay, int maxDelay, int team, int homeRange, int triggerRange, string spawnMessage, bool instantFlag, string spawnName )
|
||||
: base( amount, minDelay, maxDelay, team, homeRange, spawnName )
|
||||
{
|
||||
m_TriggerRange = triggerRange;
|
||||
|
|
@ -57,13 +57,13 @@ namespace Server.Mobiles
|
|||
m_InstantFlag = instantFlag;
|
||||
}
|
||||
|
||||
public ProximitySpawner( int amount, TimeSpan minDelay, TimeSpan maxDelay, int team, int homeRange, List<string> spawnNames )
|
||||
: base( amount, minDelay, maxDelay, team, homeRange, spawnNames )
|
||||
public ProximitySpawner( int amount, TimeSpan minDelay, TimeSpan maxDelay, int team, int homeRange, params string[] spawnedNames )
|
||||
: base( amount, minDelay, maxDelay, team, homeRange, spawnedNames )
|
||||
{
|
||||
}
|
||||
|
||||
public ProximitySpawner( int amount, TimeSpan minDelay, TimeSpan maxDelay, int team, int homeRange, List<string> spawnNames, int triggerRange, TextDefinition spawnMessage, bool instantFlag )
|
||||
: base( amount, minDelay, maxDelay, team, homeRange, spawnNames )
|
||||
public ProximitySpawner( int amount, TimeSpan minDelay, TimeSpan maxDelay, int team, int homeRange, int triggerRange, TextDefinition spawnMessage, bool instantFlag, params string[] spawnedNames )
|
||||
: base( amount, minDelay, maxDelay, team, homeRange, spawnedNames )
|
||||
{
|
||||
m_TriggerRange = triggerRange;
|
||||
m_SpawnMessage = spawnMessage;
|
||||
|
|
@ -85,42 +85,24 @@ namespace Server.Mobiles
|
|||
|
||||
public override void Respawn()
|
||||
{
|
||||
RemoveSpawned();
|
||||
RemoveSpawns();
|
||||
|
||||
End = DateTime.UtcNow;
|
||||
}
|
||||
|
||||
public override void Spawn()
|
||||
{
|
||||
for ( int i = 0; i < SpawnNamesCount; ++i )
|
||||
{
|
||||
for ( int j = 0; j < Count; ++j )
|
||||
Spawn( i );
|
||||
}
|
||||
}
|
||||
|
||||
public override bool CheckSpawnerFull()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public override bool HandlesOnMovement { get { return true; } }
|
||||
|
||||
public virtual bool ValidTrigger( Mobile m )
|
||||
{
|
||||
if ( m is BaseCreature )
|
||||
{
|
||||
BaseCreature bc = (BaseCreature)m;
|
||||
BaseCreature bc = m as BaseCreature;
|
||||
|
||||
if ( !bc.Controlled && !bc.Summoned )
|
||||
if ( bc.IsDeadBondedPet || !(bc.Controlled || bc.Summoned) )
|
||||
return false;
|
||||
}
|
||||
else if ( !m.Player )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return ( m.Alive && !m.IsDeadBondedPet && m.CanBeDamaged() && !m.Hidden );
|
||||
return m.AccessLevel == AccessLevel.Player && ( m.Player || ( m.Alive && !m.Hidden && m.CanBeDamaged() ) );
|
||||
}
|
||||
|
||||
public override void OnMovement( Mobile m, Point3D oldLocation )
|
||||
|
|
@ -137,11 +119,9 @@ namespace Server.Mobiles
|
|||
|
||||
if ( m_InstantFlag )
|
||||
{
|
||||
foreach ( ISpawnable spawned in Spawned )
|
||||
{
|
||||
foreach ( ISpawnable spawned in Spawned.Keys )
|
||||
if ( spawned is Mobile )
|
||||
((Mobile)spawned).Combatant = m;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -155,7 +135,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
writer.WriteEncodedInt( (int) 0 ); // version
|
||||
|
||||
writer.Write( m_TriggerRange );
|
||||
TextDefinition.Serialize( writer, m_SpawnMessage );
|
||||
|
|
@ -166,7 +146,7 @@ namespace Server.Mobiles
|
|||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
int version = reader.ReadEncodedInt();
|
||||
|
||||
m_TriggerRange = reader.ReadInt();
|
||||
m_SpawnMessage = TextDefinition.Deserialize( reader );
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1,142 +1,304 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Server.Network;
|
||||
using Server.Gumps;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class SpawnerGump : Gump
|
||||
{
|
||||
private Spawner m_Spawner;
|
||||
private int m_Page;
|
||||
private SpawnerEntry m_Entry;
|
||||
|
||||
public SpawnerGump( Spawner spawner ) : base( 50, 50 )
|
||||
public SpawnerGump( Spawner spawner ) : this( spawner, 0 )
|
||||
{
|
||||
}
|
||||
|
||||
public SpawnerGump( Spawner spawner, int page ) : this( spawner, null, page )
|
||||
{
|
||||
}
|
||||
|
||||
public SpawnerGump( Spawner spawner, SpawnerEntry focusentry, int page ) : base( 50, 50 )
|
||||
{
|
||||
m_Spawner = spawner;
|
||||
m_Entry = focusentry;
|
||||
m_Page = page;
|
||||
|
||||
AddPage( 0 );
|
||||
|
||||
AddBackground( 0, 0, 410, 371, 5054 );
|
||||
AddBackground( 0, 0, 343, 371 + ( m_Entry != null ? 44 : 0 ), 5054 );
|
||||
|
||||
AddLabel( 160, 1, 0, "Creatures List" );
|
||||
AddHtml( 95, 1, 250, 20, "<BASEFONT COLOR=#F4F4F4>Creatures List</BASEFONT>", false, false );
|
||||
AddHtml( 245, 1, 250, 20, "<BASEFONT COLOR=#F4F4F4>#</BASEFONT>", false, false );
|
||||
AddHtml( 282, 1, 250, 20, "<BASEFONT COLOR=#F4F4F4>Prb</BASEFONT>", false, false );
|
||||
|
||||
AddButton( 5, 347, 0xFB1, 0xFB3, 0, GumpButtonType.Reply, 0 );
|
||||
AddLabel( 38, 347, 0x384, "Cancel" );
|
||||
//AddLabel( 95, 1, 0, "Creatures List" );
|
||||
|
||||
AddButton( 5, 325, 0xFB7, 0xFB9, 1, GumpButtonType.Reply, 0 );
|
||||
AddLabel( 38, 325, 0x384, "Apply" );
|
||||
int offset = 0;
|
||||
|
||||
AddButton( 110, 325, 0xFB4, 0xFB6, 2, GumpButtonType.Reply, 0 );
|
||||
AddLabel( 143, 325, 0x384, "Bring to Home" );
|
||||
|
||||
AddButton( 110, 347, 0xFA8, 0xFAA, 3, GumpButtonType.Reply, 0 );
|
||||
AddLabel( 143, 347, 0x384, "Total Respawn" );
|
||||
|
||||
for ( int i = 0; i < 13; i++ )
|
||||
for ( int i = 0; i < 13; i++ )
|
||||
{
|
||||
AddButton( 5, ( 22 * i ) + 20, 0xFA5, 0xFA7, 4 + (i * 2), GumpButtonType.Reply, 0 );
|
||||
AddButton( 38, ( 22 * i ) + 20, 0xFA2, 0xFA4, 5 + (i * 2), GumpButtonType.Reply, 0 );
|
||||
int textindex = i * 5;
|
||||
int entryindex = ( m_Page * 13 ) + i;
|
||||
|
||||
AddImageTiled( 71, ( 22 * i ) + 20, 309, 23, 0xA40 );
|
||||
AddImageTiled( 72, ( 22 * i ) + 21, 307, 21, 0xBBC );
|
||||
SpawnerEntry entry = null;
|
||||
|
||||
string str = "";
|
||||
if ( entryindex < spawner.Entries.Count )
|
||||
entry = m_Spawner.Entries[entryindex];
|
||||
|
||||
if ( i < spawner.SpawnNames.Count )
|
||||
if ( entry == null || m_Entry != entry )
|
||||
AddButton( 5, ( 22 * i ) + 21 + offset, entry != null ? 0xFBA : 0xFA5, entry != null ? 0xFBC : 0xFA7, GetButtonID( 2, (i * 2) ), GumpButtonType.Reply, 0 ); //Expand
|
||||
else
|
||||
AddButton( 5, ( 22 * i ) + 21 + offset, entry != null ? 0xFBB : 0xFA5, entry != null ? 0xFBC : 0xFA7, GetButtonID( 2, (i * 2) ), GumpButtonType.Reply, 0 ); //Unexpand
|
||||
|
||||
AddButton( 38, ( 22 * i ) + 21 + offset, 0xFA2, 0xFA4, GetButtonID( 2, 1 + (i * 2) ), GumpButtonType.Reply, 0 ); //Delete
|
||||
|
||||
AddImageTiled( 71, (22 * i) + 20 + offset, 161, 23, 0xA40 ); //creature text box
|
||||
AddImageTiled( 72, (22 * i) + 21 + offset, 159, 21, 0xBBC ); //creature text box
|
||||
|
||||
AddImageTiled( 235, (22 * i) + 20 + offset, 35, 23, 0xA40 ); //maxcount text box
|
||||
AddImageTiled( 236, (22 * i) + 21 + offset, 33, 21, 0xBBC ); //maxcount text box
|
||||
|
||||
AddImageTiled( 273, (22 * i) + 20 + offset, 35, 23, 0xA40 ); //probability text box
|
||||
AddImageTiled( 274, (22 * i) + 21 + offset, 33, 21, 0xBBC ); //probability text box
|
||||
|
||||
string name = "";
|
||||
string probability = "";
|
||||
string maxcount = "";
|
||||
EntryFlags flags = EntryFlags.None;
|
||||
|
||||
if ( entry != null )
|
||||
{
|
||||
str = (string)spawner.SpawnNames[i];
|
||||
int count = m_Spawner.CountCreatures( str );
|
||||
name = (string)entry.SpawnedName;
|
||||
probability = entry.SpawnedProbability.ToString();
|
||||
maxcount = entry.SpawnedMaxCount.ToString();
|
||||
flags = entry.Valid;
|
||||
|
||||
AddLabel( 382, ( 22 * i ) + 20, 0, count.ToString() );
|
||||
AddLabel( 315, (22 * i) + 20 + offset, 0, spawner.CountSpawns( entry ).ToString() );
|
||||
}
|
||||
|
||||
AddTextEntry( 75, ( 22 * i ) + 21, 304, 21, 0, i, str );
|
||||
AddTextEntry( 75, (22 * i) + 21 + offset, 156, 21, ( ( flags & EntryFlags.InvalidType ) != 0 ) ? 33 : 0, textindex, name ); //creature
|
||||
AddTextEntry( 239, (22 * i) + 21 + offset, 30, 21, 0, textindex + 1, maxcount); //max count
|
||||
AddTextEntry( 277, (22 * i) + 21 + offset, 30, 21, 0, textindex + 2, probability); //probability
|
||||
|
||||
if ( entry != null && m_Entry == entry )
|
||||
{
|
||||
AddLabel( 5, (22 * i) + 42, 0x384, "Params" );
|
||||
AddImageTiled( 55, (22 * i) + 42, 253, 23, 0xA40 ); //Parameters
|
||||
AddImageTiled( 56, (22 * i) + 43, 251, 21, 0xBBC ); //Parameters
|
||||
|
||||
AddLabel( 5, (22 * i) + 64, 0x384, "Props" );
|
||||
AddImageTiled( 55, (22 * i) + 64, 253, 23, 0xA40 ); //Properties
|
||||
AddImageTiled( 56, (22 * i) + 65, 251, 21, 0xBBC ); //Properties
|
||||
|
||||
AddTextEntry( 59, (22 * i) + 42, 248, 21, ( ( flags & EntryFlags.InvalidParams ) != 0 ) ? 33 : 0, textindex + 3, entry.Parameters ); //parameters
|
||||
AddTextEntry( 59, (22 * i) + 62, 248, 21, ( ( flags & EntryFlags.InvalidProps ) != 0 ) ? 33 : 0, textindex + 4, entry.Properties ); //properties
|
||||
|
||||
offset += 44;
|
||||
}
|
||||
}
|
||||
|
||||
AddButton( 5, 347 + offset, 0xFB1, 0xFB3, 0, GumpButtonType.Reply, 0 );
|
||||
AddLabel( 38, 347 + offset, 0x384, "Cancel" );
|
||||
|
||||
AddButton( 5, 325 + offset, 0xFB7, 0xFB9, GetButtonID( 1, 2 ), GumpButtonType.Reply, 0 );
|
||||
AddLabel( 38, 325 + offset, 0x384, "Okay" );
|
||||
|
||||
AddButton( 110, 325 + offset, 0xFB4, 0xFB6, GetButtonID( 1, 3 ), GumpButtonType.Reply, 0 );
|
||||
AddLabel( 143, 325 + offset, 0x384, "Bring to Home" );
|
||||
|
||||
AddButton( 110, 347 + offset, 0xFA8, 0xFAA, GetButtonID( 1, 4 ), GumpButtonType.Reply, 0 );
|
||||
AddLabel( 143, 347 + offset, 0x384, "Total Respawn" );
|
||||
|
||||
AddButton( 253, 325 + offset, 0xFB7, 0xFB9, GetButtonID( 1, 5 ), GumpButtonType.Reply, 0 );
|
||||
AddLabel( 286, 325 + offset, 0x384, "Apply" );
|
||||
|
||||
if ( m_Page > 0 )
|
||||
AddButton( 276, 308 + offset, 0x15E3, 0x15E7, GetButtonID( 1, 0 ), GumpButtonType.Reply, 0 );
|
||||
else
|
||||
AddImage( 276, 308 + offset, 0x25EA );
|
||||
|
||||
if ( (m_Page + 1) * 13 <= m_Spawner.Entries.Count )
|
||||
AddButton( 293, 308 + offset, 0x15E1, 0x15E5, GetButtonID( 1, 1 ), GumpButtonType.Reply, 0 );
|
||||
else
|
||||
AddImage( 293, 308 + offset, 0x25E6 );
|
||||
}
|
||||
|
||||
public List<string> CreateArray( RelayInfo info, Mobile from )
|
||||
public int GetButtonID( int type, int index )
|
||||
{
|
||||
List<string> creaturesName = new List<string>();
|
||||
return 1 + (index * 10) + type;
|
||||
}
|
||||
|
||||
for ( int i = 0; i < 13; i++ )
|
||||
public void CreateArray( RelayInfo info, Mobile from, Spawner spawner )
|
||||
{
|
||||
int ocount = spawner.Entries.Count;
|
||||
|
||||
List<SpawnerEntry> rementries = new List<SpawnerEntry>();
|
||||
|
||||
for ( int i = 0;i < 13; i++ )
|
||||
{
|
||||
TextRelay te = info.GetTextEntry( i );
|
||||
int index = i * 5;
|
||||
int entryindex = ( m_Page * 13 ) + i;
|
||||
|
||||
if ( te != null )
|
||||
TextRelay cte = info.GetTextEntry( index );
|
||||
TextRelay mte = info.GetTextEntry( index + 1 );
|
||||
TextRelay poste = info.GetTextEntry( index + 2 );
|
||||
TextRelay parmte = info.GetTextEntry( index + 3 );
|
||||
TextRelay propte = info.GetTextEntry( index + 4 );
|
||||
|
||||
if ( cte != null )
|
||||
{
|
||||
string str = te.Text;
|
||||
string str = cte.Text.Trim().ToLower();
|
||||
|
||||
if ( str.Length > 0 )
|
||||
{
|
||||
str = str.Trim();
|
||||
|
||||
string t = Spawner.ParseType( str );
|
||||
|
||||
Type type = ScriptCompiler.FindTypeByName( t );
|
||||
Type type = SpawnerType.GetType( str );
|
||||
|
||||
if ( type != null )
|
||||
creaturesName.Add( str );
|
||||
{
|
||||
SpawnerEntry entry = null;
|
||||
|
||||
if ( entryindex < ocount )
|
||||
{
|
||||
entry = spawner.Entries[entryindex];
|
||||
entry.SpawnedName = str;
|
||||
|
||||
if ( mte != null )
|
||||
entry.SpawnedMaxCount = Utility.ToInt32( mte.Text.Trim() );
|
||||
|
||||
if ( poste != null )
|
||||
entry.SpawnedProbability = Utility.ToInt32( poste.Text.Trim() );
|
||||
}
|
||||
else
|
||||
{
|
||||
int maxcount = 1;
|
||||
int probcount = 100;
|
||||
|
||||
if ( mte != null )
|
||||
maxcount = Utility.ToInt32( mte.Text.Trim() );
|
||||
|
||||
if ( poste != null )
|
||||
probcount = Utility.ToInt32( poste.Text.Trim() );
|
||||
|
||||
entry = spawner.AddEntry( str, probcount, maxcount );
|
||||
}
|
||||
|
||||
if ( parmte != null )
|
||||
entry.Parameters = parmte.Text.Trim();
|
||||
|
||||
if ( propte != null )
|
||||
entry.Properties = propte.Text.Trim();
|
||||
}
|
||||
else
|
||||
from.SendMessage( "{0} is not a valid type name.", t );
|
||||
from.SendMessage( "{0} is not a valid type name for entry #{1}.", str, i );
|
||||
}
|
||||
else if ( entryindex < ocount && spawner.Entries[entryindex] != null )
|
||||
rementries.Add( spawner.Entries[entryindex] );
|
||||
}
|
||||
}
|
||||
|
||||
return creaturesName;
|
||||
if ( rementries.Count > 0 )
|
||||
for ( int i = 0; i < rementries.Count; i++ )
|
||||
spawner.RemoveEntry( rementries[i] );
|
||||
|
||||
if ( ocount == 0 && spawner.Entries.Count > 0 )
|
||||
spawner.Start();
|
||||
}
|
||||
|
||||
|
||||
public override void OnResponse( NetState state, RelayInfo info )
|
||||
{
|
||||
if ( m_Spawner.Deleted || state.Mobile.AccessLevel < AccessLevel.GameMaster )
|
||||
if ( m_Spawner.Deleted )
|
||||
return;
|
||||
|
||||
switch ( info.ButtonID )
|
||||
Mobile from = state.Mobile;
|
||||
|
||||
int val = info.ButtonID - 1;
|
||||
|
||||
if ( val < 0 )
|
||||
return;
|
||||
|
||||
int type = val % 10;
|
||||
int index = val / 10;
|
||||
|
||||
switch ( type )
|
||||
{
|
||||
case 0: // Closed
|
||||
{
|
||||
case 0: //Cancel
|
||||
return;
|
||||
}
|
||||
case 1: // Apply
|
||||
case 1:
|
||||
{
|
||||
m_Spawner.SpawnNames = CreateArray( info, state.Mobile );
|
||||
|
||||
break;
|
||||
}
|
||||
case 2: // Bring to Home
|
||||
{
|
||||
m_Spawner.BringToHome();
|
||||
|
||||
break;
|
||||
}
|
||||
case 3: // Total Respawn
|
||||
{
|
||||
m_Spawner.Respawn();
|
||||
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
int buttonID = info.ButtonID - 4;
|
||||
int index = buttonID / 2;
|
||||
int type = buttonID % 2;
|
||||
|
||||
TextRelay entry = info.GetTextEntry( index );
|
||||
|
||||
if ( entry != null && entry.Text.Length > 0 )
|
||||
switch ( index )
|
||||
{
|
||||
if ( type == 0 ) // Spawn creature
|
||||
m_Spawner.Spawn( entry.Text );
|
||||
else // Remove creatures
|
||||
m_Spawner.RemoveSpawned( entry.Text );
|
||||
case 0:
|
||||
{
|
||||
if ( m_Spawner.Entries != null && m_Page > 0 )
|
||||
{
|
||||
m_Page--;
|
||||
m_Entry = null;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
if ( m_Spawner.Entries != null && (m_Page + 1) * 13 <= m_Spawner.Entries.Count )
|
||||
{
|
||||
m_Page++;
|
||||
m_Entry = null;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 2: //Okay
|
||||
{
|
||||
CreateArray(info, state.Mobile, m_Spawner);
|
||||
return;
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
m_Spawner.BringToHome();
|
||||
break;
|
||||
}
|
||||
case 4: // Complete respawn
|
||||
{
|
||||
m_Spawner.Respawn();
|
||||
break;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
CreateArray(info, state.Mobile, m_Spawner);
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
int entryindex = ( index / 2 ) + ( m_Page * 13 );
|
||||
int buttontype = index % 2;
|
||||
|
||||
m_Spawner.SpawnNames = CreateArray( info, state.Mobile );
|
||||
if ( entryindex >= 0 && entryindex < m_Spawner.Entries.Count )
|
||||
{
|
||||
SpawnerEntry entry = m_Spawner.Entries[entryindex];
|
||||
if ( buttontype == 0 ) // Spawn creature
|
||||
{
|
||||
if ( m_Entry != null && m_Entry == entry )
|
||||
m_Entry = null;
|
||||
else
|
||||
m_Entry = entry;
|
||||
}
|
||||
else // Remove creatures
|
||||
m_Spawner.RemoveSpawn( entryindex );
|
||||
}
|
||||
|
||||
CreateArray( info, state.Mobile, m_Spawner );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
state.Mobile.SendGump( new SpawnerGump( m_Spawner ) );
|
||||
if ( m_Entry != null && m_Spawner.Entries.Contains( m_Entry ) )
|
||||
state.Mobile.SendGump( new SpawnerGump( m_Spawner, m_Entry, m_Page ) );
|
||||
else
|
||||
state.Mobile.SendGump( new SpawnerGump( m_Spawner, null, m_Page ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,4 +11,4 @@ namespace Server.Mobiles
|
|||
return ScriptCompiler.FindTypeByName( name );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue