コード例 #1
0
ファイル: GamePlayer.cs プロジェクト: vancourt/BaseGunnyII
        public void LoadMarryProp()
        {
            using (PlayerBussiness db = new PlayerBussiness())
            {
                MarryProp info = db.GetMarryProp(PlayerCharacter.ID);
                PlayerCharacter.IsMarried = info.IsMarried;
                PlayerCharacter.SpouseID = info.SpouseID;
                PlayerCharacter.SpouseName = info.SpouseName;
                PlayerCharacter.IsCreatedMarryRoom = info.IsCreatedMarryRoom;
                PlayerCharacter.SelfMarryRoomID = info.SelfMarryRoomID;
                PlayerCharacter.IsGotRing = info.IsGotRing;

                Out.SendMarryProp(this, info);
            }
        }