using Blue; public struct NoEnterRoomCommand : ICommand { private int mUserID; public NoEnterRoomCommand(int UserID) { mUserID = UserID; } public void OnExcute() { this.SendEvent(new NoEnterRoomEvent(){UserID = mUserID}); } }