Skip to content

ShopGeComponentDef

15.22

Class Documentation

Edit documentation

A shop placed on the map. It sits in the Shop field of a ShopEntityTemplate. When the entity activates, the ShopGeComponent builds a shop object of the older game object system, named Shop_T<team>_<index>_<n> after the team and the spawn index of the entity.

The shopkeeper model is the character of the entity's Character field (SkinCharacterGeComponentDef). The client loads it and plays its Idle1 animation.

Properties

0x651de225

F32 = 0
16.1
Edit documentation

Half the side length of the square around the entity position that the client uses as the bounds of the shop object, in world units.

0xcf0f5b55

Bool = false
16.1
Edit documentation

Not read when the client builds the shop. No client reader has been identified.

0xd1318f26

F32 = 0
16.1
Edit documentation

Purchase radius, in world units. A unit can buy when its distance to the purchase centre is within this radius.

0xf908963

Vec3 = [0, 0, 0]
16.1
Edit documentation

Offset of the purchase centre from the entity, in the entity's local space. The client moves it by the entity transform.

0xfe060fba

Bool = false
16.1
Edit documentation

Not read when the client builds the shop. No client reader has been identified.

Referenced by 1 class · 1 property