250501 커밋
This commit is contained in:
76
GameServer/Contents/GameMode/InteractionObject/GameObject.cs
Normal file
76
GameServer/Contents/GameMode/InteractionObject/GameObject.cs
Normal file
@@ -0,0 +1,76 @@
|
||||
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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user