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, })); }
public void UpdateSlot(CS_UpdateSlot cs) { var room = _roomService.GetRoomById(cs.Id); room?.CSID_UpdateSlot(cs); }