mirror of
https://github.com/lcdr/lu_packets.git
synced 2026-02-09 03:09:06 -06:00
Make more things public
This commit is contained in:
@@ -3,7 +3,7 @@ use lu_packets_derive::{MessageFromVariants, VariantTests};
|
||||
|
||||
use crate::common::{LuWString33, ObjId};
|
||||
use crate::world::client::Message;
|
||||
use super::{GeneralChatMessage, PrivateChatMessage};
|
||||
pub use super::{GeneralChatMessage, PrivateChatMessage};
|
||||
|
||||
#[derive(Debug, Deserialize, PartialEq, Serialize, MessageFromVariants, VariantTests)]
|
||||
#[non_exhaustive]
|
||||
|
||||
@@ -10,7 +10,7 @@ use endio::LittleEndian as LE;
|
||||
|
||||
use crate::common::{LuVarWString, LuWString33, ObjId};
|
||||
|
||||
#[derive(Debug, Deserialize, PartialEq, Serialize)]
|
||||
#[derive(Clone, Copy, Debug, Deserialize, PartialEq, Serialize)]
|
||||
#[repr(u8)]
|
||||
pub enum ChatChannel {
|
||||
SystemNotify,
|
||||
|
||||
@@ -2,7 +2,8 @@ use endio::{Deserialize, Serialize};
|
||||
use lu_packets_derive::VariantTests;
|
||||
|
||||
use crate::common::{LuWString33, ObjId};
|
||||
use super::{ChatChannel, GeneralChatMessage, PrivateChatMessage};
|
||||
pub use super::{GeneralChatMessage, PrivateChatMessage};
|
||||
use super::ChatChannel;
|
||||
|
||||
#[derive(Debug, Deserialize, PartialEq, Serialize, VariantTests)]
|
||||
#[post_disc_padding=9]
|
||||
|
||||
@@ -7,7 +7,8 @@ use crate::common::{ObjId, OBJID_EMPTY};
|
||||
|
||||
use crate::world::{CloneId, CLONE_ID_INVALID, Lot, LOT_NULL, LuNameValue, MapId, MAP_ID_INVALID, Quaternion, Vector3, ZoneId};
|
||||
use crate::world::amf3::Amf3;
|
||||
use super::{EquipInventory, GmString, GmWString, InventoryType, KillType, UnEquipInventory, MissionState, PetNotificationType, MoveItemInInventory, MoveInventoryBatch, RemoveSkill, SetIgnoreProjectileCollision};
|
||||
pub use super::{EquipInventory, InventoryType, KillType, UnEquipInventory, MissionState, PetNotificationType, MoveItemInInventory, MoveInventoryBatch, RemoveSkill, SetIgnoreProjectileCollision};
|
||||
use super::{GmString, GmWString};
|
||||
|
||||
#[derive(Debug, Deserialize, PartialEq, Serialize)]
|
||||
pub struct SubjectGameMessage {
|
||||
|
||||
@@ -7,7 +7,8 @@ use crate::common::{ObjId, OBJID_EMPTY};
|
||||
|
||||
use crate::world::{Lot, LOT_NULL, Quaternion, Vector3};
|
||||
use crate::world::amf3::Amf3;
|
||||
use super::{EquipInventory, GmString, GmWString, InventoryType, KillType, UnEquipInventory, MissionState, PetNotificationType, MoveItemInInventory, MoveInventoryBatch, SetIgnoreProjectileCollision};
|
||||
pub use super::{EquipInventory, InventoryType, KillType, UnEquipInventory, MissionState, PetNotificationType, MoveItemInInventory, MoveInventoryBatch, SetIgnoreProjectileCollision};
|
||||
use super::{GmString, GmWString};
|
||||
|
||||
#[derive(Debug, Deserialize, PartialEq, Serialize)]
|
||||
pub struct SubjectGameMessage {
|
||||
|
||||
Reference in New Issue
Block a user