Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

JBAddonProtection.JBGUIPanelConfigProtection

Extends
JBGUIPanelConfig

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- Jailbreak.JBGUIPanelConfig
               |   
               +-- JBAddonProtection.JBGUIPanelConfigProtection

Constants Summary
CONTROL_LLAMAIZE_CAMPERS=3
CONTROL_PROTECTION_TIME=0
CONTROL_PROTECTION_TYPE=1
CONTROL_PROTECT_ARENA=2

Variables Summary
boolbInitialized
moCheckBoxLlamaizeCampers
moCheckBoxProtectArenaWinner
JBGUIComponentTrackbarProtectionTime
JBGUIComponentOptionsProtectionType
Inherited Variables from XInterface.GUIPanel
Background

Functions Summary
function ChangeOptions (GUIComponent Sender))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function LoadINISettings ()))
function ResetConfiguration ()))
Inherited Functions from Jailbreak.JBGUIPanelConfig
ResetConfiguration
Inherited Functions from XInterface.GUIPanel
InitComponent


Constants Detail

CONTROL_LLAMAIZE_CAMPERS Source code

const CONTROL_LLAMAIZE_CAMPERS = 3;

CONTROL_PROTECTION_TIME Source code

const CONTROL_PROTECTION_TIME = 0;

CONTROL_PROTECTION_TYPE Source code

const CONTROL_PROTECTION_TYPE = 1;

CONTROL_PROTECT_ARENA Source code

const CONTROL_PROTECT_ARENA = 2;


Variables Detail

bInitialized Source code

var private bool bInitialized;

LlamaizeCampers Source code

var moCheckBox LlamaizeCampers;

ProtectArenaWinner Source code

var moCheckBox ProtectArenaWinner;

ProtectionTime Source code

var JBGUIComponentTrackbar ProtectionTime;

ProtectionType Source code

var JBGUIComponentOptions ProtectionType;


Functions Detail

ChangeOptions Source code

function ChangeOptions ( GUIComponent Sender) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

LoadINISettings Source code

function LoadINISettings ( ) )

ResetConfiguration Source code

function ResetConfiguration ( ) )


Defaultproperties

defaultproperties
{
  Begin Object Class=JBGUIComponentTrackbar Name=TrackbarProtectionTime
    WinTop    =0.0
    WinLeft   =0.0
    WinHeight =0.1
    WinWidth  =1.0
    CaptionWidth = -1;
    SliderWidth  = 0.34;
    EditBoxWidth = 0.18;
    Caption="Protection time"
    Hint="Duration of protection in seconds."
    MinValue=0
    MaxValue=10
    bIntegerOnly=True
    OnChange=ChangeOptions
  End Object
  Controls(0)=JBGUIComponentTrackbar'TrackbarProtectionTime'


  Begin Object class=JBGUIComponentOptions Name=OptionsProtectionType
    WinTop    = 0.2;
    WinLeft   = 0.0;
    WinWidth  = 1.0;
    WinHeight = 0.5;


    GroupCaption = "Protection type:";


    OptionText(0) = "You can't inflict damage";
    OptionText(1) = "Drop when you inflict damage";


    OptionHint(0) = "Your weapons do no damage while protected.";
    OptionHint(1) = "Protection is removed when you hit a player.";


    ItemHeight = 0.1;
    ButtonWidth= 0.04;
    LabelWidth = 0.96;
    ItemIndent = 0.05;


    OnChange=ChangeOptions
  End Object
  Controls(1)=JBGUIComponentOptions'OptionsProtectionType'


  Begin Object class=moCheckBox Name=ProtectArenaWinnerCheckBox
    WinTop        =0.6
    WinLeft       =0.0
    WinHeight = 0.07; 
    WinWidth  = 1.00; 
    CaptionWidth  =1.00


    OnChange=ChangeOptions
    Caption="Protect the arena winner"
    Hint="Players released from arenas get protection."
    bSquare=true
    bHeightFromComponent = False;


  End Object
  Controls(2)=moCheckBox'ProtectArenaWinnerCheckBox'


  Begin Object class=moCheckBox Name=LlamaizeCampersCheckBox
    WinTop        = 0.77; 
    WinLeft       = 0.0;
    WinHeight     = 0.07;
    WinWidth      = 1.00;
    CaptionWidth  = 1.00;
    OnChange=ChangeOptions
    Caption="Make jail campers llamas"
    Hint="Causing a protectee lethal damage makes you a llama."
    bSquare=true
    bHeightFromComponent = False;


  End Object
  Controls(3)=moCheckBox'LlamaizeCampersCheckBox'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:11.073 - Created with UnCodeX