77 lines
1.7 KiB
C#
77 lines
1.7 KiB
C#
using GameServer.Contents.GameMode.Manage.PlayManage;
|
|
using MetaAssets;
|
|
using ServerBase;
|
|
using ServerCommon;
|
|
using ServerCore;
|
|
|
|
namespace GameServer.Contents.GameMode.InteractionObject;
|
|
|
|
public class GameObject : EntityBase
|
|
{
|
|
public EntityType m_type = EntityType.None;
|
|
public string m_anchor_guid { get; set; } = string.Empty;
|
|
public DateTime m_active_time { get; set; } = DateTimeHelper.Current;
|
|
public bool m_is_active { get; set; } = true;
|
|
|
|
public GameObject(EntityType type, string guid) : base(type)
|
|
{
|
|
m_type = type;
|
|
m_anchor_guid = guid;
|
|
}
|
|
|
|
public GameObject(EntityType type, string guid, bool isActive) : base(type)
|
|
{
|
|
m_type = type;
|
|
m_anchor_guid = guid;
|
|
m_is_active = isActive;
|
|
}
|
|
|
|
}
|
|
|
|
public class GameObjectSavePoint : GameObject
|
|
{
|
|
public GameObjectSavePoint(string anchorGuid) : base(EntityType.GameObjectSavePoint, anchorGuid)
|
|
{
|
|
}
|
|
}
|
|
|
|
public class GameObjectWeapon : GameObject
|
|
{
|
|
public GameObjectWeapon(string anchorGuid) : base(EntityType.GameObjectWeapon, anchorGuid)
|
|
{
|
|
}
|
|
}
|
|
|
|
public class GameObjectBuff : GameObject
|
|
{
|
|
public GameObjectBuff(string anchorGuid) : base(EntityType.GameObjectBuff, anchorGuid)
|
|
{
|
|
|
|
}
|
|
}
|
|
|
|
public class GameObjectPodStorage : GameObject
|
|
{
|
|
public GameObjectPodStorage(string anchorGuid) : base(EntityType.GameObjectPodStorage, anchorGuid)
|
|
{
|
|
|
|
}
|
|
}
|
|
|
|
public class GameObjectCombatPod : GameObject
|
|
{
|
|
public GameObjectCombatPod(string anchorGuid) : base(EntityType.GameObjectCombatPod, anchorGuid)
|
|
{
|
|
|
|
}
|
|
}
|
|
|
|
|
|
public class GameObjectPickupPod : GameObject
|
|
{
|
|
public GameObjectPickupPod(string anchorGuid) : base(EntityType.GameObjectPickupPod, anchorGuid)
|
|
{
|
|
|
|
}
|
|
}
|