示例#1
0
文件: Mood.cs 项目: yakoder/NRaas
            public MotiveValue(MotiveID name, Motive value)
            {
                mName = Common.LocalizeEAString("Ui/Caption/HUD/MotivesPanel:Motive" + name.ToString());

                if (value != null)
                {
                    mValue  = (int)value.Value;
                    mExists = true;
                }
            }
示例#2
0
文件: Mood.cs 项目: Robobeurre/NRaas
            public MotiveValue(MotiveID name, Motive value)
            {
                mName = Common.LocalizeEAString("Ui/Caption/HUD/MotivesPanel:Motive" + name.ToString());

                if (value != null)
                {
                    mValue = (int)value.Value;
                    mExists = true;
                }
            }
示例#3
0
 public void SetMotiveValue(MotiveID motive, float value)
 {
     mHudModel.SetMotiveValue(motive, value);
 }