Esempio n. 1
0
 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,
     }));
 }
Esempio n. 2
0
    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);
    }
Esempio n. 3
0
        public void DieMonster(CS_DieMonster cs)
        {
            var room = _roomService.GetRoomById(cs.Id);

            room?.CSID_DieMonster(cs);
        }