public static ServerMessage Compose(uint UserId, MessengerFriendEventType EventType, string EventData) { ServerMessage Message = new ServerMessage(OpcodesOut.MESSENGER_FRIEND_EVENT); Message.AppendStringWithBreak(UserId.ToString()); Message.AppendInt32((int)EventType); Message.AppendStringWithBreak(EventData); return Message; }
public static ServerMessage Compose(uint UserId, MessengerFriendEventType EventType, string EventData) { ServerMessage Message = new ServerMessage(OpcodesOut.MESSENGER_FRIEND_EVENT); Message.AppendStringWithBreak(UserId.ToString()); Message.AppendInt32((int)EventType); Message.AppendStringWithBreak(EventData); return(Message); }