Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
60
Scripts/Services/Ethics/Definitions/EthicDefinition.cs
Normal file
60
Scripts/Services/Ethics/Definitions/EthicDefinition.cs
Normal file
@@ -0,0 +1,60 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Ethics
|
||||
{
|
||||
public class EthicDefinition
|
||||
{
|
||||
private readonly int m_PrimaryHue;
|
||||
private readonly TextDefinition m_Title;
|
||||
private readonly TextDefinition m_Adjunct;
|
||||
private readonly TextDefinition m_JoinPhrase;
|
||||
private readonly Power[] m_Powers;
|
||||
public EthicDefinition(int primaryHue, TextDefinition title, TextDefinition adjunct, TextDefinition joinPhrase, Power[] powers)
|
||||
{
|
||||
this.m_PrimaryHue = primaryHue;
|
||||
|
||||
this.m_Title = title;
|
||||
this.m_Adjunct = adjunct;
|
||||
|
||||
this.m_JoinPhrase = joinPhrase;
|
||||
|
||||
this.m_Powers = powers;
|
||||
}
|
||||
|
||||
public int PrimaryHue
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.m_PrimaryHue;
|
||||
}
|
||||
}
|
||||
public TextDefinition Title
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.m_Title;
|
||||
}
|
||||
}
|
||||
public TextDefinition Adjunct
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.m_Adjunct;
|
||||
}
|
||||
}
|
||||
public TextDefinition JoinPhrase
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.m_JoinPhrase;
|
||||
}
|
||||
}
|
||||
public Power[] Powers
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.m_Powers;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
49
Scripts/Services/Ethics/Definitions/PowerDefinition.cs
Normal file
49
Scripts/Services/Ethics/Definitions/PowerDefinition.cs
Normal file
@@ -0,0 +1,49 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Ethics
|
||||
{
|
||||
public class PowerDefinition
|
||||
{
|
||||
private readonly int m_Power;
|
||||
private readonly TextDefinition m_Name;
|
||||
private readonly TextDefinition m_Phrase;
|
||||
private readonly TextDefinition m_Description;
|
||||
public PowerDefinition(int power, TextDefinition name, TextDefinition phrase, TextDefinition description)
|
||||
{
|
||||
this.m_Power = power;
|
||||
|
||||
this.m_Name = name;
|
||||
this.m_Phrase = phrase;
|
||||
this.m_Description = description;
|
||||
}
|
||||
|
||||
public int Power
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.m_Power;
|
||||
}
|
||||
}
|
||||
public TextDefinition Name
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.m_Name;
|
||||
}
|
||||
}
|
||||
public TextDefinition Phrase
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.m_Phrase;
|
||||
}
|
||||
}
|
||||
public TextDefinition Description
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.m_Description;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user