Пример #1
0
 //-------------------------------------------------------------------------
 public override void load(EbPropSet prop_set)
 {
     Name = prop_set.getPropString("T_Name").get();
     var prop_state = prop_set.getPropInt("I_State");
     State = prop_state == null ? DataState.Default : (DataState)prop_state.get();
     RoomType = (_eRoomType)prop_set.getPropInt("I_RoomType").get();
     RoomNum = prop_set.getPropInt("I_RoomNum").get();
     RoomEnterGoldLimit = prop_set.getPropInt("I_RoomEnterGoldLimit").get();
     RoomSingleFireGoldLimit = prop_set.getPropInt("I_RoomSingleFireGoldLimit").get();
     RoomRate = prop_set.getPropString("T_RoomRate").get();
     RoomDesktopNum = prop_set.getPropInt("I_RoomDesktopNum").get();
 }
Пример #2
0
        public int RoomDesktopNum;          // 桌子数量

        //-------------------------------------------------------------------------
        public override void load(EbPropSet prop_set)
        {
            Name = prop_set.getPropString("T_Name").get();
            var prop_state = prop_set.getPropInt("I_State");

            State                   = prop_state == null ? DataState.Default : (DataState)prop_state.get();
            RoomType                = (_eRoomType)prop_set.getPropInt("I_RoomType").get();
            RoomNum                 = prop_set.getPropInt("I_RoomNum").get();
            RoomEnterGoldLimit      = prop_set.getPropInt("I_RoomEnterGoldLimit").get();
            RoomSingleFireGoldLimit = prop_set.getPropInt("I_RoomSingleFireGoldLimit").get();
            RoomRate                = prop_set.getPropString("T_RoomRate").get();
            RoomDesktopNum          = prop_set.getPropInt("I_RoomDesktopNum").get();
        }