Make more things public

This commit is contained in:
lcdr
2021-04-07 14:20:12 +02:00
parent f2bef9a9b6
commit 58e22958ec
5 changed files with 8 additions and 5 deletions

View File

@@ -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]

View File

@@ -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,

View File

@@ -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]

View File

@@ -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 {

View File

@@ -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 {