14 RegisterNetSyncVariableInt(
"m_NetIdLow",
int.
MIN,
int.
MAX);
15 RegisterNetSyncVariableInt(
"m_NetIdHigh",
int.
MIN,
int.
MAX);
17 RegisterNetSyncVariableBool(
"m_BunkerComponent.m_IsActive");
37 super.OnRPC(sender, rpc_type, ctx);
46 super.OnVariablesSynchronized();
48 if (
g_Game.IsMultiplayer())
77 g_Game.GetObjectsAtPosition3D(GetWorldPosition(), 1.0, objects,
proxies);
78 foreach (
Object bunkerObject : objects)
84 bunker.GetNetworkID(low, high);
123 ErrorEx(
"No Bunker found, cannot activate");
136 ErrorEx(
"No Bunker found, cannot activate");
BunkerBroadcastComponentBase Managed BunkerBroadcastComponent(notnull EntityAI parent)
class BunkerBroadcastJsonDataBase proxies
void OnBunkerDeactivated()
void OnBunkerActivated(bool loadedAsActive, string codeLockCode)
override void OnRPC(PlayerIdentity sender, int rpc_type, ParamsReadContext ctx)
void AssignBunkerObject()
override void DeferredInit()
override void OnVariablesSynchronized()
void BunkerBroadcastProxy()
void InitializeComponents()
ref BunkerBroadcastComponent m_BunkerComponent
The class that will be instanced (moddable)
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
Serializer ParamsReadContext