GetOG() public method

public GetOG ( ) : int
return int
コード例 #1
0
 public void populateFields4(Character PC)
 {
     char4Name.Text = PC.GetName();
     Char4Race.Text = PC.GetRace();
     switch (PC.GetSize())
     {
         case 'S': Char4Size.SelectedIndex = 0; break;
         case 'M': Char4Size.SelectedIndex = 1; break;
         case 'L': Char4Size.SelectedIndex = 2; break;
     }//end of case
     Char4Class.Text = PC.GetClass();
     Char4Level.Text = PC.Getlvl().ToString();
     switch (PC.GetGender())
     {
         case 'M': Char4Gender.SelectedIndex = 0; break;
         case 'F': Char4Gender.SelectedIndex = 1; break;
         case 'N': Char4Gender.SelectedIndex = 2; break;
     }//end of case
     Char4Age.Text = PC.GetAge().ToString();
     Char4Height.Text = PC.Gethieght();
     Char4Weight.Text = PC.GetWeight();
     Char4Deity.Text = PC.GetDeity();
     switch (PC.GetAlignment())
     {
         case "LG": Char1Align.SelectedIndex = 0; break;
         case "NG": Char1Align.SelectedIndex = 1; break;
         case "CG": Char1Align.SelectedIndex = 2; break;
         case "LN": Char1Align.SelectedIndex = 3; break;
         case "N": Char1Align.SelectedIndex = 4; break;
         case "CN": Char1Align.SelectedIndex = 5; break;
         case "LE": Char1Align.SelectedIndex = 6; break;
         case "NE": Char1Align.SelectedIndex = 7; break;
         case "CE": Char1Align.SelectedIndex = 8; break;
     }//end of case
     Char4Language.Text = PC.GetLanguages();
     Char4Armor.Text = PC.GetArmor();
     Char4Weapon.Text = PC.GetWeapons();
     Char4Items.Text = PC.GetItems();
     Char4STR.Text = PC.GetSTR().ToString();
     Char4Dex.Text = PC.GetDEX().ToString();
     Char4CON.Text = PC.GetCON().ToString();
     Char4INT.Text = PC.GetINT().ToString();
     Char4WIS.Text = PC.GetWIS().ToString();
     Char4CHA.Text = PC.GetCHA().ToString();
     Char4SPEED.Text = PC.GetSpeed().ToString();
     Char4OH.Text = PC.GetOH().ToString();
     Char4OG.Text = PC.GetOG().ToString();
     Char4PD.Text = PC.GetPD().ToString();
     Char4Fort.Text = PC.GetFort().ToString();
     Char4REF.Text = PC.GetRef().ToString();
     Char4WILL.Text = PC.GetWill().ToString();
     Char4SavingThrowMods.Text = PC.GetSaving_Throw_Mod();
     Char4AC.Text = PC.GetAC().ToString();
     Char4FlatFoot.Text = PC.GetFlatFoot().ToString();
     Char4Touch.Text = PC.GetTouch().ToString();
     Char4AC_MOD.Text = PC.GetAC_Mod();
     Char4HP.Text = PC.GetHP().ToString();
     Char4MaxHP.Text = PC.GetHPMAX().ToString();
     ACCheckPenalty4.Text = PC.GetACCheck().ToString();
     Char4Appraise.Text = PC.skill.GetAppraise().ToString();
     Char4Balance.Text = PC.skill.GetBalance().ToString();
     Char4Bluff.Text = PC.skill.GetBluff().ToString();
     Char4Climb.Text = PC.skill.GetClimb().ToString();
     Char4Concentration.Text = PC.skill.GetClimb().ToString();
     Char4Craft1.Text = PC.skill.GetCraft1().ToString();
     Char4Craft2.Text = PC.skill.GetCraft2().ToString();
     Char4DS.Text = PC.skill.GetDeciferScript().ToString();
     Char4Diplomacy.Text = PC.skill.GetDiplomacy().ToString();
     Char4DD.Text = PC.skill.GetDisableDevice().ToString();
     Char4Disguise.Text = PC.skill.GetDisguise().ToString();
     Char4EA.Text = PC.skill.GetEscapeArtist().ToString();
     Char4Forgery.Text = PC.skill.GetForgery().ToString();
     Char4GI.Text = PC.skill.GetGatherInfo().ToString();
     Char4HA.Text = PC.skill.GetHandleAnimal().ToString();
     Char4Heal.Text = PC.skill.GetHeal().ToString();
     Char4Hide.Text = PC.skill.GetHide().ToString();
     Char4Intimidate.Text = PC.skill.GetIntimidate().ToString();
     Char4Jump.Text = PC.skill.GetJump().ToString();
     Char4KA.Text = PC.skill.GetKnowledgeArcana().ToString();
     Char4KR.Text = PC.skill.GetKnowledgeReligion().ToString();
     Char4KN.Text = PC.skill.GetKnowledgeNature().ToString();
     Char4K1.Text = PC.skill.GetKnowledge1().ToString();
     Char4K2.Text = PC.skill.GetKnowledge2().ToString();
     Char4Listen.Text = PC.skill.GetListen().ToString();
     Char4MS.Text = PC.skill.GetMoveSilently().ToString();
     Char4OL.Text = PC.skill.GetOpenLock().ToString();
     Char4Perform.Text = PC.skill.GetPerform().ToString();
     Char4Profession.Text = PC.skill.GetProfession().ToString();
     Char4Ride.Text = PC.skill.GetRide().ToString();
     Char4Search.Text = PC.skill.GetSearch().ToString();
     Char4SM.Text = PC.skill.GetSenseMotive().ToString();
     Char4SH.Text = PC.skill.GetSlightOfHand().ToString();
     Char4SpellCraft.Text = PC.skill.GetSpellcraft().ToString();
     Char4Spot.Text = PC.skill.GetSpot().ToString();
     Char4Survival.Text = PC.skill.GetSurvival().ToString();
     Char4Swim.Text = PC.skill.GetSwim().ToString();
     Char4Tumble.Text = PC.skill.GetTumble().ToString();
     Char4UMD.Text = PC.skill.GetUseMagicDevice().ToString();
     Char4UR.Text = PC.skill.GetUseRope().ToString();
     Char4Other.Text = PC.skill.GetOther().ToString();
 }