채팅0

    인벤토리 풀 체크하는 코드

    조회수 837
    [zz_y7_const.INVEN] = function(self, user, argc, args)
    	local cd = user.WsCharacterData
    	-- no check argc but idc cuz its trash for rn
    	local empty_slot_count = _InventoryLogic:GetFreeSlots(cd, tonumber(args[2]))
    	local full_slot_count  = _InventoryLogic:GetHoldCount(cd, tonumber(args[2]))
    	_ChatMessageLogic:Add(_ChatMessageType.System, "[Command/Inven] slot: " .. full_slot_count .. " / " .. empty_slot_count)
    end,

    이거 맞음?

    댓글1

    회원프로필

    맞는거 같은데 인벤토리 타입이 안정해져있는데?

    2024.02.27 03:25

      게시글 리스트
      제목작성자작성일조회
      공지10-2019785
      5973307:0317
      5973206:4612
      5973106:3314
      5973003:5545
      5972903:1447
      5972802:1458
      5972701:56128
      5972601:51160
      5972500:4175
      5972400:1165
      5972305-1270
      5972205-1289
      5972105-12114
      5972005-12107
      5971905-12212
      5971805-1290
      5971705-1299
      5971605-12107
      5971505-12208