Survivalcraft API 1.8.2.3
v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
ComponentChest.cs
浏览该文件的文档.
1
using
GameEntitySystem
;
2
using
TemplatesDatabase
;
3
4
namespace
Game
{
5
public
class
ComponentChest
:
ComponentInventoryBase
{
6
ComponentBlockEntity
m_componentBlockEntity
;
7
8
public
override
void
Load
(
ValuesDictionary
valuesDictionary,
IdToEntityMap
idToEntityMap) {
9
base.Load(valuesDictionary, idToEntityMap);
10
m_componentBlockEntity
=
Entity
.FindComponent<
ComponentBlockEntity
>();
11
if
(
m_componentBlockEntity
!=
null
) {
12
m_componentBlockEntity.m_inventoryToGatherPickable =
this
;
13
}
14
}
15
}
16
}
Game.ComponentBlockEntity
定义
ComponentBlockEntity.cs:6
Game.ComponentChest
定义
ComponentChest.cs:5
Game.ComponentChest.m_componentBlockEntity
ComponentBlockEntity m_componentBlockEntity
定义
ComponentChest.cs:6
Game.ComponentChest.Load
override void Load(ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
定义
ComponentChest.cs:8
Game.ComponentInventoryBase
定义
ComponentInventoryBase.cs:7
GameEntitySystem.Component.ValuesDictionary
ValuesDictionary ValuesDictionary
定义
Component.cs:12
GameEntitySystem.Component.Entity
Entity Entity
定义
Component.cs:14
GameEntitySystem.IdToEntityMap
定义
IdToEntityMap.cs:5
GameEntitySystem
定义
Component.cs:6
Game
定义
ContentFileBridge.cs:4
TemplatesDatabase
定义
Database.cs:6
SurvivalcraftApi 1.8.2.3
Survivalcraft.Windows
Component
ComponentChest.cs
制作者
1.16.1