#W# Source and Scripts added. Added Scripts/Settings.cs to expose some basic tweak able settings.
This commit is contained in:
parent
b51c58f514
commit
3045c83799
3512 changed files with 627673 additions and 0 deletions
39
Scripts/Engines/Ethics/Definitions/EthicDefinition.cs
Normal file
39
Scripts/Engines/Ethics/Definitions/EthicDefinition.cs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Server.Ethics
|
||||
{
|
||||
public class EthicDefinition
|
||||
{
|
||||
private int m_PrimaryHue;
|
||||
|
||||
private TextDefinition m_Title;
|
||||
private TextDefinition m_Adjunct;
|
||||
|
||||
private TextDefinition m_JoinPhrase;
|
||||
|
||||
private Power[] m_Powers;
|
||||
|
||||
public int PrimaryHue { get { return m_PrimaryHue; } }
|
||||
|
||||
public TextDefinition Title { get { return m_Title; } }
|
||||
public TextDefinition Adjunct { get { return m_Adjunct; } }
|
||||
|
||||
public TextDefinition JoinPhrase { get { return m_JoinPhrase; } }
|
||||
|
||||
public Power[] Powers { get { return m_Powers; } }
|
||||
|
||||
public EthicDefinition( int primaryHue, TextDefinition title, TextDefinition adjunct, TextDefinition joinPhrase, Power[] powers )
|
||||
{
|
||||
m_PrimaryHue = primaryHue;
|
||||
|
||||
m_Title = title;
|
||||
m_Adjunct = adjunct;
|
||||
|
||||
m_JoinPhrase = joinPhrase;
|
||||
|
||||
m_Powers = powers;
|
||||
}
|
||||
}
|
||||
}
|
||||
30
Scripts/Engines/Ethics/Definitions/PowerDefinition.cs
Normal file
30
Scripts/Engines/Ethics/Definitions/PowerDefinition.cs
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Server.Ethics
|
||||
{
|
||||
public class PowerDefinition
|
||||
{
|
||||
private int m_Power;
|
||||
|
||||
private TextDefinition m_Name;
|
||||
private TextDefinition m_Phrase;
|
||||
private TextDefinition m_Description;
|
||||
|
||||
public int Power { get { return m_Power; } }
|
||||
|
||||
public TextDefinition Name { get { return m_Name; } }
|
||||
public TextDefinition Phrase { get { return m_Phrase; } }
|
||||
public TextDefinition Description { get { return m_Description; } }
|
||||
|
||||
public PowerDefinition( int power, TextDefinition name, TextDefinition phrase, TextDefinition description )
|
||||
{
|
||||
m_Power = power;
|
||||
|
||||
m_Name = name;
|
||||
m_Phrase = phrase;
|
||||
m_Description = description;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue