示例#1
0
 public void CSID_UpdateSlot(CS_UpdateSlot cs)
 {
     _context.ClientsExceptById(_users, cs.Id).SendCoreAsync("UpdateSlot", PayloadPack.Success(new SC_UpdateSlot()
     {
         Id        = cs.Id,
         SlotIndex = cs.SlotIndex,
         SlotLv    = cs.SlotLv,
     }));
 }
示例#2
0
        public void UpdateSlot(CS_UpdateSlot cs)
        {
            var room = _roomService.GetRoomById(cs.Id);

            room?.CSID_UpdateSlot(cs);
        }