CandideServer.Entities.Controllers.ServerCart2Controller
Type JSONpublic class in CandideServer.Entities.Controllers
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Entities.Controllers - Base type
CandideServer.Entities.Controllers.ServerFurnitureController - Hash
565C4B527B8E667327FF835A71E089BB96553C87D38EFC0E935A7D4A65D69DC0
Relationships
Fields
| Name | Visibility | Signature |
|---|---|---|
Carried1# | public | public System.Nullable<System.Guid> Carried1 |
Carried1IdKey# | public | public System.String Carried1IdKey |
Carried2# | public | public System.Nullable<System.Guid> Carried2 |
Carried2IdKey# | public | public System.String Carried2IdKey |
Carried3# | public | public System.Nullable<System.Guid> Carried3 |
Carried3IdKey# | public | public System.String Carried3IdKey |
Carried4# | public | public System.Nullable<System.Guid> Carried4 |
Carried4IdKey# | public | public System.String Carried4IdKey |
Carried5# | public | public System.Nullable<System.Guid> Carried5 |
Carried5IdKey# | public | public System.String Carried5IdKey |
FollowerCartId# | public | public System.Nullable<System.Guid> FollowerCartId |
FollowingId# | public | public System.Nullable<System.Guid> FollowingId |
FollowingIdKey# | public | public System.String FollowingIdKey |
StuckTimer# | public | public System.Single StuckTimer |
Methods
Attach
#
public System.Void Attach(Shared.Entity.EntityWrapper entity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
9BD9079D3EB14449C87159735D3D6091A9C78B43E6E549B51DE15EC5807D9617 - Body hash
1B6A917317FFC2EA1A10E6DE54E09106644759C3D4AE46C5D4D7D81C4BACA066 - IL size97
Referenced calls
System.Nullable<System.Guid>::get_HasValue()CandideServer.Entities.Controllers.ServerCart2Controller::Detach(System.Boolean)Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Guid>::.ctor(!0)CandideServer.ServerManagers.EntityServerManager::SendEntityVfxMessage(System.Guid, System.Byte)System.Object::ToString()CandideServer.SyncStrategies.SyncStrategy::Everyone()CandideServer.Entities.ServerEntitySystemManager::UpdateEntityParameter(Shared.Entity.EntityWrapper, System.String, System.String, CandideServer.SyncStrategies.SyncStrategy, System.Boolean)
Called by
String literals
following
CanBeAutoPicked
#
public System.Boolean CanBeAutoPicked(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
EDCCB1A461DBB592EB39E97642402BA07367ADD491B6593BFC259231F89851A5 - Body hash
2E37B558EFC8F1B2228CEC8C9D940991E9DCD432F5AAFC77E89D350A6B92278D - IL size37
Referenced calls
CandideServer.Entities.Controllers.ServerCart2Controller::CanBePickedUp(Shared.Entity.EntityWrapper)Shared.Entity.EntityWrapper::get_IsThrown()Shared.Entity.EntityWrapper::get_Mask()Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)
CanBePickedUp
#
public System.Boolean CanBePickedUp(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
BFE892E451A7534AEF19C45CDA16DADE3E914AD638624FB60674C73B23621715 - Body hash
11B0D08EF5A6A798C8622E442DC78458AE0F73A1B334AFC43F29F7E06EEDDAF9 - IL size60
Referenced calls
Shared.Entity.EntityWrapper::get_NoEntityCollision()Shared.Entity.EntityWrapper::get_Mask()Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Shared.Entity.EntityWrapper::get_Carriable()Shared.Entity.EntityWrapper::get_CarrierId()System.Nullable<System.Guid>::get_HasValue()
ClearSlot
#
private System.Void ClearSlot(System.Nullable<System.Guid>& slot)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
1D4F4DD60D9DE6AB0BB143DBFD776ADAC90B29F121BF8AF167B43AF8C660B9E8 - Body hash
2A5E3D8CF1AD30E79AB318B62F685F90BE1AE4587D025FD4DF54E848CC9D8B75 - IL size121
Referenced calls
System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::TryGetValue(!0, !1&)Shared.Entity.EntityWrapper::get_CarrierId()Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Equality(System.Guid, System.Guid)Shared.Entity.EntityWrapper::set_CarrierId(System.Nullable<System.Guid>)Shared.Entity.EntityWrapper::set_NoEntityCollision(System.Boolean)Shared.Entity.EntityWrapper::set_NoTerrainCollision(System.Boolean)
Detach
#
public System.Void Detach(System.Boolean skipSync)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
560152259C7D5BA461FE849A123F72F0BA9470561070073A3F7CBB61C1BF3AA5 - Body hash
5D65A57EAC850E31D1A14E0609D58A7F887E11F0740D87FD341927C5E96B74BC - IL size162
Referenced calls
System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::TryGetValue(!0, !1&)Shared.Entity.EntityWrapper::get_Controller()Microsoft.Xna.Framework.Vector3::get_Zero()Shared.Entity.EntityWrapper::set_Velocity(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::set_Acceleration(Microsoft.Xna.Framework.Vector3)CandideServer.SyncStrategies.SyncStrategy::Everyone()CandideServer.Entities.ServerEntitySystemManager::UpdateEntityParameter(Shared.Entity.EntityWrapper, System.String, System.String, CandideServer.SyncStrategies.SyncStrategy, System.Boolean)
Called by
String literals
following
EntityInitialize
#
public System.Void EntityInitialize()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
A0DDC1F689D1C4B9F661F82DA9D402983546266ADC6C8EEDB19026FB4A45F89A - Body hash
EEA83F0888C1DFC3F4DF1312077F0D00C8FCFEE5170273A567AAA5CFCE6823FE - IL size200
Referenced calls
String literals
followingc1c2c3c4c5
FollowTarget
#
private System.Void FollowTarget()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
2611E02E74C6420A680806E8A14398F010E06E00A66A430333699521B315288E - Body hash
A96A4CE92CEB644F11BD0717B2BB5AB76717A41E7E2D3399744070A94E265B83 - IL size275
Referenced calls
System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::TryGetValue(!0, !1&)CandideServer.Entities.Controllers.ServerCart2Controller::Detach(System.Boolean)Shared.Entity.EntityWrapper::get_Position2()CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::Distance(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)CandideServer.ServerManagers.PlayerServerManager::TryGetPlayerFromEntity(Shared.Entity.EntityWrapper, CandideServer.ServerServices.ServerJoinedPlayerModel&)Shared.Helpers.PlayerFlagsHelper::HasFlag(Shared.Models.Player.PlayerCharacterModel, System.String)Shared.Entity.EntityWrapper::set_EntityStepHeight(System.Single)Shared.Entity.EntityWrapper::get_Controller()Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Guid>::.ctor(!0)CandideServer.Entities.Controllers.ServerCart2Controller::UpdateCartVelocity(Shared.Entity.EntityWrapper, Shared.Entity.EntityWrapper)Shared.Entity.EntityWrapper::get_Fdt()
String literals
cart_wheel
HandleAutopickup
#
private System.Boolean HandleAutopickup(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
A0BF538DAE8B36E04022E85BD7424E399AFB5AAAA7DA702CAEBA4A82346466EB - Body hash
2B3F0F8246D4881A43F9DDA21672DCA9BBA5D2F75CBC22A82358BC40EB0454F8 - IL size28
Referenced calls
HandleConnectToOtherCart
#
private System.Boolean HandleConnectToOtherCart(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
F46BBED240CBD246ECDC5FFFCB0614A57124AF554F2A53BCFF9E1E5A8AB32F0A - Body hash
B296C044291182CA10E7578D16ED380F39FB1391618EDAB757A6097C3364ED5B - IL size350
Referenced calls
System.Nullable<System.Guid>::get_HasValue()System.Object::Equals(System.Object, System.Object)Shared.Entity.EntityWrapper::get_Mask()Shared.Entity.Components.ComponentExtension::HasFlags(Shared.Entity.Components.Component, Shared.Entity.Components.Component)Shared.Entity.EntityWrapper::get_Controller()System.Nullable<System.Guid>::GetValueOrDefault()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::TryGetValue(!0, !1&)Shared.Entity.EntityWrapper::get_Id()System.Guid::op_Equality(System.Guid, System.Guid)CandideServer.Entities.Controllers.ServerCart2Controller::Attach(Shared.Entity.EntityWrapper)
OnEntityCollision
#
public System.Boolean OnEntityCollision(Shared.Entity.EntityWrapper otherEntity, Microsoft.Xna.Framework.Vector3 thisOldVelocity, Microsoft.Xna.Framework.Vector3 thisNewVelocity, Microsoft.Xna.Framework.Vector3 otherOldVelocity, Microsoft.Xna.Framework.Vector3 otherNewVelocity, out Microsoft.Xna.Framework.Vector3& overrideVelocity)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
0457C8E816BF640290C4E9F92FA80FD0C5148D33C33CB75115A71FFC409A49A4 - Body hash
AA13AFE1AEE8F3458D796843CF38357A4412BDEE9C18F0A77136570910F3F28E - IL size32
OnInteract
#
public System.Void OnInteract(Shared.Entity.EntityWrapper otherEntity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
4EF8B3AC438342B41ACBFAFF27D8A042414857F7168419366E631129B15C2D31 - Body hash
54404C9995BBE61A7F3AECD480E57FBD0E7777589971EDB3670540DE60422AFF - IL size173
Referenced calls
System.Nullable<System.Guid>::get_HasValue()Shared.Entity.EntityWrapper::get_Id()System.Object::Equals(System.Object, System.Object)CandideServer.Entities.Controllers.ServerCart2Controller::Detach(System.Boolean)System.Nullable<System.Guid>::get_Value()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::TryGetValue(!0, !1&)Shared.Entity.EntityWrapper::get_Controller()CandideServer.Entities.Controllers.ServerCart2Controller::Attach(Shared.Entity.EntityWrapper)CandideServer.ServerManagers.PlayerServerManager::IsPlayerEntity(Shared.Entity.EntityWrapper)System.Object::ToString()CandideServer.SyncStrategies.SyncStrategy::Everyone()CandideServer.Entities.ServerEntitySystemManager::UpdateEntityParameter(Shared.Entity.EntityWrapper, System.String, System.String, CandideServer.SyncStrategies.SyncStrategy, System.Boolean)
String literals
following
OnRemove
#
public System.Void OnRemove(Shared.Entity.EntityRemoveInfo entityRemoveInfo)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
3657378D4B722821CA2DFF9C4A9A589CC9C09D91EA3B298C38ED39F265C122BC - Body hash
ED79BB0CAEC67BA74EFD027CD39EBA4F48F44618325D6228978AD41335009A4B - IL size68
PickupEntity
#
private System.Boolean PickupEntity(Shared.Entity.EntityWrapper entity)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
BC35615533D9212BCDD6DE447C286BDE62C7968EE7482EA5E89D4FAF93D1193E - Body hash
E9B395573B3812212CD7569C51FFB2B7FF96925B6E58021B82CDCA079323E29B - IL size129
Referenced calls
Called by
String literals
c1c2c3c4worship_flag:cart_capacityc5
ReceiveEntityControllerMessage
#
public System.Void ReceiveEntityControllerMessage(System.Object message)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
EF73558B97711A6A6E8D51F4E164F825D502B293EC18E38513728E8AEC9A51C1 - Body hash
B0A6A216383C0FE17C9BA4B238BC8917E8E04C39C4656F3B93F7C3DB46231A92 - IL size76
Referenced calls
System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Equality(System.Guid, System.Guid)CandideServer.Entities.Controllers.ServerCart2Controller::Detach(System.Boolean)
TryPickupEntity
#
private System.Boolean TryPickupEntity(Shared.Entity.EntityWrapper entity, System.Nullable<System.Guid>& slot, System.String slotId)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
49F12DD2F8163077570D59EF41F7623DDBAAC7B69CF1D03EAE77495FFB5663B0 - Body hash
B872DA865B12453D9F4BBA0B511AC4C4AB35AAD56E8254E9CD08FF26129B94CB - IL size125
Referenced calls
System.Nullable<System.Guid>::get_HasValue()Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Guid>::.ctor(!0)System.Object::ToString()CandideServer.SyncStrategies.SyncStrategy::Everyone()CandideServer.Entities.ServerEntitySystemManager::UpdateEntityParameter(Shared.Entity.EntityWrapper, System.String, System.String, CandideServer.SyncStrategies.SyncStrategy, System.Boolean)Shared.Entity.EntityWrapper::set_IsThrown(System.Boolean)Shared.Entity.EntityWrapper::set_ThrowerId(System.Nullable<System.Guid>)Shared.Entity.EntityWrapper::set_NoEntityCollision(System.Boolean)Shared.Entity.EntityWrapper::set_NoTerrainCollision(System.Boolean)Shared.Entity.EntityWrapper::set_CarrierId(System.Nullable<System.Guid>)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
E611AD155B07C51B8B551359A6397A3F55502EB55FDE85DD200BFED93825A015 - Body hash
8C22609925ECA0A4A5B00AEE317B12935D96C9D52978988537B6ED48DDD9D95B - IL size168
Referenced calls
CandideServer.Entities.Controllers.ServerCart2Controller::FollowTarget()Shared.Entity.EntityWrapper::get_Position2()Shared.Entity.EntityWrapper::get_Shape()Shared.Entity.EntityWrapper::get_Position()Shared.Entity.EntitySystem::GetEntitiesTouchingCircleArea(Microsoft.Xna.Framework.Vector2, System.Single, System.Single, System.Single)System.Collections.Generic.List<Shared.Entity.EntityWrapper>::GetEnumerator()List.Enumerator<Shared.Entity.EntityWrapper>::get_Current()CandideServer.Entities.Controllers.ServerCart2Controller::CanBePickedUp(Shared.Entity.EntityWrapper)CandideServer.Entities.Controllers.ServerCart2Controller::PickupEntity(Shared.Entity.EntityWrapper)List.Enumerator<Shared.Entity.EntityWrapper>::MoveNext()System.IDisposable::Dispose()CandideServer.Entities.Controllers.ServerCart2Controller::UpdateHeldEntities()
UpdateCarriedItem
#
private System.Void UpdateCarriedItem(System.Nullable<System.Guid>& slot, System.String slotId)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
598854FD834C8E88C345EB54123A3FC90CD07913B2DA0B1C977F7A2F6CEBCE28 - Body hash
CF14652E59F8E1787431AB8E10413C722DB0A104185DC1A870C137531028CD98 - IL size271
Referenced calls
System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Entities.ServerEntityModel>::TryGetValue(!0, !1&)Shared.Entity.EntityWrapper::set_NoEntityCollision(System.Boolean)Shared.Entity.EntityWrapper::set_NoTerrainCollision(System.Boolean)Shared.Entity.EntityWrapper::get_CarrierId()Shared.Entity.EntityWrapper::get_Id()System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Inequality(System.Guid, System.Guid)System.Nullable<System.Guid>::.ctor(!0)Shared.Entity.EntityWrapper::set_CarrierId(System.Nullable<System.Guid>)Shared.Entity.EntityWrapper::get_Position()Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::set_Position(Microsoft.Xna.Framework.Vector3)Shared.Entity.EntityWrapper::get_Velocity()Shared.Entity.EntityWrapper::set_Velocity(Microsoft.Xna.Framework.Vector3)Shared.Collision.CollisionSpecialGroup::UpdatePositionAndVelocity(Shared.Entity.EntityWrapper)CandideServer.SyncStrategies.SyncStrategy::Everyone()CandideServer.Entities.ServerEntitySystemManager::UpdateEntityParameter(Shared.Entity.EntityWrapper, System.String, System.String, CandideServer.SyncStrategies.SyncStrategy, System.Boolean)
UpdateCartVelocity
#
public System.Boolean UpdateCartVelocity(Shared.Entity.EntityWrapper entity, Shared.Entity.EntityWrapper target)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
03BE3E7AD7EE8DC8EA3D789FEB06AB198A5D6500EFC4231B8C7209A837132394 - Body hash
439D6A99CCA7189770E091EB5AAD60F950A0ADB069630782F916D2CECB8B26BC - IL size334
Referenced calls
Shared.Entity.EntityWrapper::get_Shape()Shared.Entity.EntityWrapper::get_Position2()Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::Length()Shared.Entity.EntityWrapper::get_Velocity2()Shared.Entity.EntityWrapper::get_Fdt()Microsoft.Xna.Framework.Vector2::op_Division(Microsoft.Xna.Framework.Vector2, System.Single)CandideCreator.Shared.Helpers.VectorExtension::ToFloatDirection(Microsoft.Xna.Framework.Vector2)Shared.Entity.EntityWrapper::set_Direction(System.Single)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)CandideCreator.Shared.Helpers.VectorExtension::ToVector3Xy(Microsoft.Xna.Framework.Vector2)Shared.Entity.EntityWrapper::get_Position()Microsoft.Xna.Framework.Vector3::op_Subtraction(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::op_Division(Microsoft.Xna.Framework.Vector3, System.Single)CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)CandideCreator.Shared.Helpers.VectorExtension::NormalizeReturnSafe(Microsoft.Xna.Framework.Vector2)Shared.Entity.EntityWrapper::get_Velocity()Microsoft.Xna.Framework.Vector2::Dot(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Microsoft.Xna.Framework.Vector3::Length()Shared.Entity.EntityWrapper::set_Velocity(Microsoft.Xna.Framework.Vector3)
UpdateHeldEntities
#
private System.Void UpdateHeldEntities()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
4D8C58A86F9876277095E07175AD4F9D8ED158AC4CC33B2A28E818679277AF52 - Body hash
ABFF5617F054BD1287A6F114820CAE12065EF365871135B1442AB6632F2513B6 - IL size86
Referenced calls
String literals
c1c2c3c4c5