You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
731 B
34 lines
731 B
/*
|
|
Sog 游戏基础库
|
|
2016 by zouwei
|
|
*/
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Sog
|
|
{
|
|
/// <summary>
|
|
/// event arguments.
|
|
/// </summary>
|
|
public class SessionEventArgs : EventArgs
|
|
{
|
|
public NetSession Session { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public MessageData Message { get; set; }
|
|
|
|
/// <summary>
|
|
/// The empty.
|
|
/// </summary>
|
|
public new static SessionEventArgs Empty = new SessionEventArgs();
|
|
}
|
|
/// <summary>
|
|
/// event handler.
|
|
/// </summary>
|
|
public delegate void NetEventHandler(IMessageTrans messageTrans, SessionEventArgs e);
|
|
}
|
|
|