Files
wxdgaming.spring.boot/wxdgaming.game.basic/src/main/java/wxdgaming/game/message/chat/ResChatMessage.java
2025-08-13 09:12:02 +08:00

53 lines
1.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package wxdgaming.game.message.chat;
import io.protostuff.Tag;
import java.io.Serial;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import wxdgaming.spring.boot.core.ann.Comment;
import wxdgaming.spring.boot.core.collection.MapOf;
import wxdgaming.spring.boot.net.pojo.PojoBase;
/** 聊天响应 */
@Getter
@Setter
@Accessors(chain = true)
@Comment("聊天响应")
public class ResChatMessage extends PojoBase implements Serializable {
@Serial private static final long serialVersionUID = 1L;
/** 消息ID */
public static int _msgId() {
return 49186680;
}
/** 消息ID */
public int msgId() {
return _msgId();
}
/** */
@Tag(1) private ChatType type;
/** */
@Tag(2) private String content;
/** */
@Tag(3) private List<String> params = new ArrayList<>();
/** 私聊就是目标玩家id公会就是公会id */
@Tag(4) private long targetId;
/** 发送者id */
@Tag(5) private long senderId;
/** 发送者名字 */
@Tag(6) private String senderName;
}