## XIII
Class XIIISoloMessage

source: C:\XIII\XIII\Classes\XIIISoloMessage.uc

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Info
             |
             +--Engine.LocalMessage
                |
                +--XIII.XIIILocalMessage
                   |
                   +--XIII.XIIISoloMessage

Direct Known Subclasses:None

class XIIISoloMessage
extends XIII.XIIILocalMessage

    //-----------------------------------------------------------
    //
    //-----------------------------------------------------------

Variables
`Saving,` | `FinishedSaving`
`NothingOnThisCorpse,` | `NeedTwoHands`
`WrongKey,` | `NoLockPick`

Function Summary
`Texture` | `GetIcon(optional int, optional PlayerReplicationInfo, optional PlayerReplicationInfo, optional Object)`
    //_____________________________________________________________________________
    static
`string` | `GetString(optional int, optional PlayerReplicationInfo, optional PlayerReplicationInfo, optional Object)`

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class XIIISoloMessage extends XIIILocalMessage;
    00005
    00006	var localized string PickingLock, PickingInterrupt, UnlockedDoor, TimeLeft, LockedDoor, WrongKey, NoLockPick;
    00007	var localized string NothingOnThisCorpse, NeedTwoHands;
    00008	var localized string PrepareSaving, Saving, FinishedSaving;
    00009
    00010	static function string GetString( optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject )
    00011	{
    00012	    switch (Switch)
    00013	    {
    00014	      case 1: // picking lock
    00015	        return default.PickingLock; break;
    00016	      case 2: // Picked Lock
    00017	        return default.UnlockedDoor; break;
    00018	      case 3: // Chronometer request to display time
    00019	        return Default.TimeLeft;
    00020	      case 4: // Searching for an empty inventory corpse
    00021	        return Default.NothingOnThisCorpse;
    00022	      case 5: // Trying to activate Locked door
    00023	        return Default.LockedDoor;
    00024	      case 6: // Using the wrong key/item on a door
    00025	        return Default.WrongKey;
    00026	      case 7: // Picking interruption
    00027	        return Default.PickingInterrupt;
    00028	      case 8: // Need 2 hands to perform action
    00029	        return Default.NeedTwoHands;
    00030
    00031	      case 9: // Prepare Saving
    00032	        return Default.PrepareSaving;
    00033	      case 10: // Saving
    00034	        return Default.Saving;
    00035	      case 11: // Finished Saving
    00036	        return Default.FinishedSaving;
    00037	      case 12: // Using the wrong key/item on a door
    00038	        return Default.NoLockPick;
    00039	    }
    00040	    return default.class$" ERR::RECEIVED GetString with wrong or undefined Params Switch="$Switch;
    00041	}
    00042
    00043	/*
    00044	//_____________________________________________________________________________
    00045	static function texture GetIcon( optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject )
    00046	{
    00047	    return none;
    00048	}
    00049	*/
    00050
    00051
    00052
    00053	defaultproperties
    00054	{
    00055	     PickingLock="Picking the lock"
    00056	     PickingInterrupt="Picking Interrupted !!"
    00057	     UnlockedDoor="You unlocked the door"
    00058	     TimeLeft="Time Left : "
    00059	     LockedDoor="This door is locked !"
    00060	     WrongKey="This is not the right key"
    00061	     NoLockPick="This door can't be lockpicked"
    00062	     NothingOnThisCorpse="NOTHING FOUND"
    00063	     NeedTwoHands="Need 2 hands free to perform action !!"
    00064	     PrepareSaving="Preparing to Save, do not remove Saving Device or turn off system"
    00065	     Saving="Saving the game..."
    00066	     FinishedSaving="Finished Saving, you can go back to normal activity."
    00067	     DrawColor=(B=180,G=180,R=180)
    00068	}

End Source Code