public void CSID_DieMonster(CS_DieMonster cs) { _context.ClientsExceptById(_users, cs.Id).SendCoreAsync("DieMonster", PayloadPack.Success(new SC_DieMonster() { Id = cs.Id, MonsterSeq = cs.MonsterSeq, })); }
public void DieMonster(string id, int monsterSeq) { var cs = new CS_DieMonster() { Id = id, MonsterSeq = monsterSeq, }; SendLocal("DieMonster", cs.Map <SC_DieMonster>()); Send("DieMonster", cs); }
public void DieMonster(CS_DieMonster cs) { var room = _roomService.GetRoomById(cs.Id); room?.CSID_DieMonster(cs); }