﻿using System.Collections.Generic;

namespace Unity.Muninn.Model
{
    
    public enum LeaveRoomReason : byte
    { 
        DisconnectByClient = 0,
        DisconnectByKick,
        DisconnectBySameAccount,
        DisconnectByTimeout, // Heartbeat
        DisconnectByCloseRoom,
    }
    
    public class MuninnEvent
    {
        // public EventCode Code { get; set; }
        public uint SenderId { get; set; }
        // public uint GroupId { get; set; }

        public List<uint> GroupIds { get; set; }
        
        public byte[] Data { get; set; }

        public RaiseEventTarget Target { get; set; }
    }
}