C# Class FSO.Client.UI.Panels.UILotControl

Generates pie menus when the player clicks on objects.
Inheritance: FSO.Client.UI.Framework.UIContainer
Exibir arquivo Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
ActiveEntity FSO.SimAntics.VMEntity
Cheats FSO.Client.UI.Panels.LotControls.UICheatHandler
CustomControl UICustomLotControl
EODs FSO.Client.UI.Panels.EODs.UIEODController
GotoObject FSO.SimAntics.VMEntity
InteractionsAvailable bool
LastFloor sbyte
LastRotation WorldRotation
LiveMode bool
ObjectHolder UIObjectHolder
ObjectHover short
PanelActive bool
QueryPanel FSO.Client.UI.Panels.UIQueryPanel
Queue FSO.Client.UI.Panels.UIInteractionQueue
WallsMode int
World LotView.World
vm FSO.SimAntics.VM

Public Methods

Method Description
ClosePie ( ) : void
Draw ( FSO.Client.UI.Framework.UISpriteBatch batch ) : void
GetBounds ( ) : Rectangle
GetLotTitle ( ) : string
LiveModeUpdate ( UpdateState state, bool scrolled ) : void
RefreshCut ( ) : void
UILotControl ( FSO vm, LotView World ) : System

Creates a new UILotControl instance.

Update ( UpdateState state ) : void
vm_OnDialog ( FSO info ) : void

Private Methods

Method Description
DialogButton0 ( UIElement button ) : void
DialogButton1 ( UIElement button ) : void
DialogButton2 ( UIElement button ) : void
DialogResponse ( byte code ) : void
GetAvatarString ( FSO.SimAntics.VMAvatar ava ) : string
OnMouse ( UIMouseEventType type, UpdateState state ) : void
Vm_OnBreakpoint ( FSO.SimAntics.VMEntity entity ) : void
Vm_OnChatEvent ( VMChatEvent evt ) : void

Method Details

ClosePie() public method

public ClosePie ( ) : void
return void

Draw() public method

public Draw ( FSO.Client.UI.Framework.UISpriteBatch batch ) : void
batch FSO.Client.UI.Framework.UISpriteBatch
return void

GetBounds() public method

public GetBounds ( ) : Rectangle
return Microsoft.Xna.Framework.Rectangle

GetLotTitle() public method

public GetLotTitle ( ) : string
return string

LiveModeUpdate() public method

public LiveModeUpdate ( UpdateState state, bool scrolled ) : void
state FSO.Common.Rendering.Framework.Model.UpdateState
scrolled bool
return void

RefreshCut() public method

public RefreshCut ( ) : void
return void

UILotControl() public method

Creates a new UILotControl instance.
public UILotControl ( FSO vm, LotView World ) : System
vm FSO A SimAntics VM instance.
World LotView A World instance.
return System

Update() public method

public Update ( UpdateState state ) : void
state FSO.Common.Rendering.Framework.Model.UpdateState
return void

vm_OnDialog() public method

public vm_OnDialog ( FSO info ) : void
info FSO
return void

Property Details

ActiveEntity public_oe property

public VMEntity,FSO.SimAntics ActiveEntity
return FSO.SimAntics.VMEntity

Cheats public_oe property

public UICheatHandler,FSO.Client.UI.Panels.LotControls Cheats
return FSO.Client.UI.Panels.LotControls.UICheatHandler

CustomControl public_oe property

public UICustomLotControl CustomControl
return UICustomLotControl

EODs public_oe property

public UIEODController,FSO.Client.UI.Panels.EODs EODs
return FSO.Client.UI.Panels.EODs.UIEODController

GotoObject public_oe property

public VMEntity,FSO.SimAntics GotoObject
return FSO.SimAntics.VMEntity

InteractionsAvailable public_oe property

public bool InteractionsAvailable
return bool

LastFloor public_oe property

public sbyte LastFloor
return sbyte

LastRotation public_oe property

public WorldRotation LastRotation
return WorldRotation

LiveMode public_oe property

public bool LiveMode
return bool

ObjectHolder public_oe property

public UIObjectHolder,FSO.Client.UI.Panels ObjectHolder
return UIObjectHolder

ObjectHover public_oe property

public short ObjectHover
return short

PanelActive public_oe property

public bool PanelActive
return bool

QueryPanel public_oe property

public UIQueryPanel,FSO.Client.UI.Panels QueryPanel
return FSO.Client.UI.Panels.UIQueryPanel

Queue public_oe property

public UIInteractionQueue,FSO.Client.UI.Panels Queue
return FSO.Client.UI.Panels.UIInteractionQueue

WallsMode public_oe property

public int WallsMode
return int

World public_oe property

public LotView.World World
return LotView.World

vm public_oe property

public VM,FSO.SimAntics vm
return FSO.SimAntics.VM