public class in CandideServer.ServerControllers
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.ServerControllers - Base type
System.Object - Hash
560AAB0E1471224FB0CE86FEEB1F039C7119BA42EB5F7FA218450CE44C94E628
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
ReusableGetServerWorldItemsList# | private | private System.Collections.Generic.List<CandideServer.Models.Items.ServerWorldItemModel> ReusableGetServerWorldItemsList |
ReusableGetWorldItemsList# | private | private System.Collections.Generic.List<Shared.Models.Items.WorldItemModel> ReusableGetWorldItemsList |
Methods
AddToSearchTree
#
private System.Void AddToSearchTree(CandideServer.Models.Items.ServerWorldItemModel serverWorldItem)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
A9DF34F4ABB6E2A85060ECE348E58629ACD3810E571818A64CF5B2B19CD6E63C - Body hash
E1FB9D1C61883103A23FBF50B9E147181AEE9A6678784D8AEF14C52D2EEC84B6 - IL size59
Referenced calls
CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)CandideServer.ServerControllers.WorldItemServerController::GetOrMakeTree(System.Guid)Microsoft.Xna.Framework.Vector2::get_Zero()CandideCreator.Shared.Models.RectangleF::.ctor(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Algorithms.AabbTree<CandideServer.Models.Items.ServerWorldItemModel>::Add(CandideCreator.Shared.Models.RectangleF, !0)
GetOrMakeTree
#
private CandideCreator.Shared.Algorithms.AabbTree<CandideServer.Models.Items.ServerWorldItemModel> GetOrMakeTree(System.Guid worldId)
Method metadata
- Visibilityprivate
- Return type
CandideCreator.Shared.Algorithms.AabbTree<CandideServer.Models.Items.ServerWorldItemModel> - StaticTrue
- VirtualFalse
- Hash
A0435C719AF76B9B5F2A4ADB83E58F6F1A5BA0319CBFB95D84720ADE911D3E6A - Body hash
D73292FF53FF1829826467DA7E77D76B20630EFCB10B11678A2D81AC989C8C1C - IL size49
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, CandideCreator.Shared.Algorithms.AabbTree<CandideServer.Models.Items.ServerWorldItemModel>>::TryGetValue(!0, !1&)CandideCreator.Shared.Algorithms.AabbTree<CandideServer.Models.Items.ServerWorldItemModel>::.ctor(System.Int32, System.Single, System.Single)System.Collections.Generic.Dictionary<System.Guid, CandideCreator.Shared.Algorithms.AabbTree<CandideServer.Models.Items.ServerWorldItemModel>>::set_Item(!0, !1)
GetWorldItemsInArea
#
public System.Collections.Generic.List<CandideServer.Models.Items.ServerWorldItemModel> GetWorldItemsInArea(CandideCreator.Shared.Models.RectangleF area, System.Guid worldId)
Method metadata
- Visibilitypublic
- Return type
System.Collections.Generic.List<CandideServer.Models.Items.ServerWorldItemModel> - StaticTrue
- VirtualFalse
- Hash
95A74B003B52CDB1F0B1CC74131B01FB7887701A8D76A056371D42310A42A327 - Body hash
5B88A3433C3E44080A13974ED10816FE68967289EF735AC271E20696BF6E946E - IL size93
Referenced calls
System.Collections.Generic.List<CandideServer.Models.Items.ServerWorldItemModel>::Clear()System.Collections.Generic.Dictionary<System.Guid, CandideCreator.Shared.Algorithms.AabbTree<CandideServer.Models.Items.ServerWorldItemModel>>::TryGetValue(!0, !1&)CandideCreator.Shared.Algorithms.AabbTree<CandideServer.Models.Items.ServerWorldItemModel>::QueryFast(CandideCreator.Shared.Models.RectangleF)AabbTree.QueryRect<CandideServer.Models.Items.ServerWorldItemModel>::GetEnumerator()AabbTree.QueryRect<CandideServer.Models.Items.ServerWorldItemModel>::get_Current()System.Collections.Generic.List<CandideServer.Models.Items.ServerWorldItemModel>::Add(!0)AabbTree.QueryRect<CandideServer.Models.Items.ServerWorldItemModel>::MoveNext()System.IDisposable::Dispose()
GetWorldItemsInTileRectangle
#
public System.Collections.Generic.List<Shared.Models.Items.WorldItemModel> GetWorldItemsInTileRectangle(System.Guid worldId, CandideCreator.Shared.Models.RectangleF chunkTileRectangle)
Method metadata
- Visibilitypublic
- Return type
System.Collections.Generic.List<Shared.Models.Items.WorldItemModel> - StaticTrue
- VirtualFalse
- Hash
8A6D8E95898E6C6C70A636734BFE32764DAFBFC2EF00F64BA863BEB5660E620C - Body hash
C5368F6EB42748056A55C1DF1D8EE07E0A9CFFBA77312A68400C0354D70F292A - IL size117
Referenced calls
System.Collections.Generic.List<Shared.Models.Items.WorldItemModel>::Clear()System.Collections.Generic.Dictionary<System.Guid, CandideCreator.Shared.Algorithms.AabbTree<CandideServer.Models.Items.ServerWorldItemModel>>::TryGetValue(!0, !1&)CandideCreator.Shared.Models.RectangleF::op_Multiply(CandideCreator.Shared.Models.RectangleF, System.Single)CandideCreator.Shared.Algorithms.AabbTree<CandideServer.Models.Items.ServerWorldItemModel>::QueryFast(CandideCreator.Shared.Models.RectangleF)AabbTree.QueryRect<CandideServer.Models.Items.ServerWorldItemModel>::GetEnumerator()AabbTree.QueryRect<CandideServer.Models.Items.ServerWorldItemModel>::get_Current()System.Collections.Generic.List<Shared.Models.Items.WorldItemModel>::Add(!0)AabbTree.QueryRect<CandideServer.Models.Items.ServerWorldItemModel>::MoveNext()System.IDisposable::Dispose()
GetWorldItemsInWorld
#
public System.Collections.Generic.List<Shared.Models.Items.WorldItemModel> GetWorldItemsInWorld(System.Guid worldId)
Method metadata
- Visibilitypublic
- Return type
System.Collections.Generic.List<Shared.Models.Items.WorldItemModel> - StaticTrue
- VirtualFalse
- Hash
D15E0846EA283B3CD9A7E65B98FC4B53AB83D23F0566D646BF0A92F1C5CCAB39 - Body hash
F42DBEF78EFB340901CD82343D31F6F0BF0D98DAAB5F9EF30EB5E95040BD0125 - IL size89
Referenced calls
System.Collections.Generic.List<Shared.Models.Items.WorldItemModel>::Clear()System.Collections.Generic.Dictionary<System.Guid, CandideCreator.Shared.Algorithms.AabbTree<CandideServer.Models.Items.ServerWorldItemModel>>::TryGetValue(!0, !1&)CandideCreator.Shared.Algorithms.AabbTree<CandideServer.Models.Items.ServerWorldItemModel>::GetEnumerator()System.Collections.Generic.IEnumerator<CandideServer.Models.Items.ServerWorldItemModel>::get_Current()System.Collections.Generic.List<Shared.Models.Items.WorldItemModel>::Add(!0)System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()
MoveWorldItems
#
public System.Void MoveWorldItems(System.Collections.Generic.List<System.ValueTuple<System.Guid, Microsoft.Xna.Framework.Vector3>> worldItemPositions)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
ACEC351ABF7909815B83D977D382E39D2C4911583C51A4F066540D8D56D8CC3E - Body hash
3849AE3354E332A93EA3B53FA5B649168A54B0BE14804F6318BC49FCDE2A4D02 - IL size88
Referenced calls
System.Collections.Generic.List<System.ValueTuple<System.Guid, Microsoft.Xna.Framework.Vector3>>::GetEnumerator()List.Enumerator<System.ValueTuple<System.Guid, Microsoft.Xna.Framework.Vector3>>::get_Current()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Items.ServerWorldItemModel>::TryGetValue(!0, !1&)CandideServer.ServerControllers.WorldItemServerController::UpdateWorldItemPosition(CandideServer.Models.Items.ServerWorldItemModel)List.Enumerator<System.ValueTuple<System.Guid, Microsoft.Xna.Framework.Vector3>>::MoveNext()System.IDisposable::Dispose()
OnServerGameStateLoaded
#
private System.Void OnServerGameStateLoaded(CandideServer.GameDescription gameDescription)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
4177D3797459ADF89BF8F22BE132A2386CDD581EF74BD7EABFAC5A78DDFCAF38 - Body hash
856FAC58A4BDADBC7F59F50D3293CC31B1110F72F999BDE8293FEA00B931FD4E - IL size127
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Items.ServerWorldItemModel>::get_Values()Dictionary.ValueCollection<System.Guid, CandideServer.Models.Items.ServerWorldItemModel>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.Items.ServerWorldItemModel>::get_Current()CandideServer.ServerControllers.WorldItemServerController::AddToSearchTree(CandideServer.Models.Items.ServerWorldItemModel)System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Items.ServerWorldItemModel>::set_Item(!0, !1)System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Worlds.WorldModel>::TryGetValue(!0, !1&)Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.Items.ServerWorldItemModel>::MoveNext()System.IDisposable::Dispose()
RemoveWorldItem
#
public System.Void RemoveWorldItem(System.Guid worldItemId)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
0808E94413DD8C11EBAF2591D5C288B44C043CDAA7D195097C81FAAF6B23603C - Body hash
7933C8FBD681D39129846FD8DF39453CA44B1D41E5BBF45E92ECFF8D33275779 - IL size63
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Items.ServerWorldItemModel>::Remove(!0)System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Items.ServerWorldItemModel>::Remove(!0, !1&)System.Collections.Generic.Dictionary<System.Guid, CandideCreator.Shared.Algorithms.AabbTree<CandideServer.Models.Items.ServerWorldItemModel>>::TryGetValue(!0, !1&)CandideCreator.Shared.Algorithms.AabbTree<CandideServer.Models.Items.ServerWorldItemModel>::Remove(System.Int32)
SpawnFurnitureWorldItem
#
public CandideServer.Models.Items.ServerWorldItemModel SpawnFurnitureWorldItem(System.String furnitureId, System.Int32 amount, Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 velocity, System.Guid worldId, System.Nullable<System.Int32> ownerPlayerId, System.Nullable<System.Int32> antiPriority)
Method metadata
- Visibilitypublic
- Return type
CandideServer.Models.Items.ServerWorldItemModel - StaticTrue
- VirtualFalse
- Hash
D07582442E5E7CB882BD879B248B1FFF24C45903DCCE5B97E0F3141CAF73C965 - Body hash
9A15DE902BEFE2706ACA9394EB03D2C7CFB16F6D64F3FCDDB3CA420BA1DD7875 - IL size59
Referenced calls
Shared.Data.Furniture.FurnitureDataBase::GetOrNull(System.String)System.String::Concat(System.String, System.String, System.String)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)CandideServer.ServerControllers.WorldItemServerController::SpawnWorldItem(System.String, System.Int32, System.Nullable<System.Guid>, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, System.Guid, WorldItemModel.WorldItemType, System.Nullable<System.Int32>, System.Nullable<System.Int32>)
String literals
Tried to spawn furniture world item with invalid id ''
private CandideServer.Models.Items.ServerWorldItemModel SpawnWorldItem(System.String dataId, System.Int32 stackCount, System.Nullable<System.Guid> itemInstanceId, Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 velocity, System.Guid worldId, WorldItemModel.WorldItemType worldItemType, System.Nullable<System.Int32> ownerPlayerId, System.Nullable<System.Int32> antiPriority)
Method metadata
- Visibilityprivate
- Return type
CandideServer.Models.Items.ServerWorldItemModel - StaticTrue
- VirtualFalse
- Hash
5EE43C2744C2C1349B5EAD4597686749ACF5E03600F79283B9358A6FE4C34D56 - Body hash
E07932FA7B34C84526AC0908FCD1EBBEB9D1635DAEBE1C5C071F6CB733A224D7 - IL size277
Referenced calls
System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Environment::get_StackTrace()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()Shared.Analytics.AnalyticsManager::TrackError(System.String)Shared.Models.Items.WorldItemModel::.ctor()System.Nullable<System.Guid>::get_HasValue()System.Guid::NewGuid()System.Nullable<System.Guid>::GetValueOrDefault()CandideServer.Models.Items.ServerWorldItemModel::.ctor()Microsoft.Xna.Framework.GameTime::get_TotalGameTime()System.TimeSpan::get_TotalSeconds()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Worlds.WorldModel>::TryGetValue(!0, !1&)System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Items.ServerWorldItemModel>::set_Item(!0, !1)CandideServer.ServerControllers.WorldItemServerController::AddToSearchTree(CandideServer.Models.Items.ServerWorldItemModel)
Called by
String literals
Tried to create world item with null DataId.
SpawnWorldItem
#
public CandideServer.Models.Items.ServerWorldItemModel SpawnWorldItem(Shared.Models.Items.ItemInstanceModel item, Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 velocity, System.Guid worldId, System.Nullable<System.Int32> ownerPlayerId, System.Nullable<System.Int32> antiPriority)
Method metadata
- Visibilitypublic
- Return type
CandideServer.Models.Items.ServerWorldItemModel - StaticTrue
- VirtualFalse
- Hash
011B8BA031EDDB217B0ED093A1A50B8019BAC659B2D8BF276D182DDE9017FF40 - Body hash
9025D4BFD015059C86FD51F0CF50B8CFD53F4A766A2420CAEB2223A467ACC632 - IL size70
Referenced calls
Shared.Data.ItemDataBase::GetItemDataOrNull(System.String)System.String::Concat(System.String, System.String, System.String)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)System.Nullable<System.Guid>::.ctor(!0)CandideServer.ServerControllers.WorldItemServerController::SpawnWorldItem(System.String, System.Int32, System.Nullable<System.Guid>, Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, System.Guid, WorldItemModel.WorldItemType, System.Nullable<System.Int32>, System.Nullable<System.Int32>)
Called by
String literals
Tried to spawn world item with invalid id ''
UpdateWorldItemPosition
#
public System.Void UpdateWorldItemPosition(CandideServer.Models.Items.ServerWorldItemModel serverWorldItem)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
AF3722491605DAD715884A907FF816C010FF5A734E9B2C898FDDF262D27D3F0C - Body hash
F9B8C871431EEE59B8100D0FA2F6398FF152429F75E75A215666AF838B256756 - IL size131
Referenced calls
CandideCreator.Shared.Helpers.VectorExtension::ToVector2(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector2::DistanceSquared(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)System.Collections.Generic.Dictionary<System.Guid, CandideCreator.Shared.Algorithms.AabbTree<CandideServer.Models.Items.ServerWorldItemModel>>::TryGetValue(!0, !1&)Microsoft.Xna.Framework.Vector2::get_Zero()CandideCreator.Shared.Models.RectangleF::.ctor(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Helpers.VectorExtension::NormalizeReturnSafe(Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Algorithms.AabbTree<CandideServer.Models.Items.ServerWorldItemModel>::Move(System.Int32, CandideCreator.Shared.Models.RectangleF, Microsoft.Xna.Framework.Vector2)CandideServer.ServerManagers.WorldItemServerManager::RemoveWorldItem(System.Guid, System.Boolean)